1 |
I have some more information. If I chmod 777 on |
2 |
/etc/modprobe.d/zfs.conf it says options command not found, options |
3 |
is the first word in the file which is |
4 |
options zfs zfs_arc_max=0x100000000 |
5 |
|
6 |
Now if I put the files together on one line I get |
7 |
/etc/dracut.conf:install_items+= "/etc/modprobe.d/zfs.conf |
8 |
/etc/systemd/system/initrd-switch-root.service" |
9 |
|
10 |
dracut: WARNING: <key>+=" <values> ": <values> should have surrounding |
11 |
white spaces! |
12 |
dracut: WARNING: This will lead to unwanted side effects! Please fix |
13 |
the configuration file. |
14 |
|
15 |
/etc/dracut.conf: line 54: /etc/modprobe.d/zfs.conf |
16 |
/etc/systemd/system/initrd-switch-root.service: No such file or |
17 |
directory |
18 |
|
19 |
It seems to be treating it as one file. If I separate the files into |
20 |
two install_items lines, I get what I described in the original |
21 |
message. |
22 |
|
23 |
On Fri, 12 Feb 2021 09:39:38 -0500, |
24 |
John Covici wrote: |
25 |
> |
26 |
> Hi. I am having problems running dracut 0.51-r2 and 0.50-r2. The |
27 |
> problem is that I have two install_items lines like this |
28 |
> install_items+= /etc/modprobe.d/zfs.conf |
29 |
> install_items+= /etc/systemd/system/initrd-switch-root.service |
30 |
> |
31 |
> and dracut says permission denied on both of them. They are owned by |
32 |
> root and are world readable and containing directories look good. I |
33 |
> even did an strace, but did not find where it tried to open those |
34 |
> files. I have been using dracut for years and never had this problem |
35 |
> till recent versions. |
36 |
> |
37 |
> Thanks in advance for any suggestions. |
38 |
> |
39 |
> -- |
40 |
> Your life is like a penny. You're going to lose it. The question is: |
41 |
> How do |
42 |
> you spend it? |
43 |
> |
44 |
> John Covici wb2una |
45 |
> covici@××××××××××.com |
46 |
> |
47 |
|
48 |
-- |
49 |
Your life is like a penny. You're going to lose it. The question is: |
50 |
How do |
51 |
you spend it? |
52 |
|
53 |
John Covici wb2una |
54 |
covici@××××××××××.com |