From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Covici Subject: problems with dracut 50 or 51 on gentoo Date: Sat, 13 Feb 2021 09:59:38 -0500 Message-ID: Reply-To: covici-cDiIMnvS3U/1IL9EAbMJQA@public.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Return-path: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org 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: +=" ": 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. -- 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/1IL9EAbMJQA@public.gmane.org