Skip to contentSkip to conversation

problems with dracut 50 or 51 on gentoo

DISCUSSION John Covici 1 participant 1 message Feb 13, 2021

lore
Share & tools
lore
#0 lore raw

Hi. I am having some major problems executing dracut. I have a line like this in my /etc/dracut.conf
install_items+= "/etc/modprobe.d/zfs.conf /etc/systemd/system/initrd-switch-root.service"

I was working fine till recent versions and now I get:

/etc/dracut.conf:install_items+= "/etc/modprobe.d/zfs.conf /etc/systemd/system/initrd-switch-root.service"

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

/etc/dracut.conf: line 54: /etc/modprobe.d/zfs.conf /etc/systemd/system/initrd-switch-root.service: No such file or directory

Now, if I make each file a separate install_options line, I get permission denied on both lines.

If I then make the first file a 777, I get options command not found -- the first word in the file is the word options.

How can I get this to work?

Thanks in advance for any suggestions.

Signature · 6 lines
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici-cDiIMnvS3U/[email protected]