public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Covici <covici@ccs.covici.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] problems with dracut
Date: Sat, 13 Feb 2021 09:38:57 -0500	[thread overview]
Message-ID: <m3czx4m3r2.wl-covici@ccs.covici.com> (raw)
In-Reply-To: <m3h7mhmjth.wl-covici@ccs.covici.com>

I have some more information.   If I  chmod 777 on
/etc/modprobe.d/zfs.conf  it says options command not found, options
is the first word in the file which is
options zfs zfs_arc_max=0x100000000

Now if I put the files together on one line 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

It seems to be treating it as one file.  If I separate the files into
two install_items lines, I get what I described in the original
message.

On Fri, 12 Feb 2021 09:39:38 -0500,
John Covici wrote:
> 
> Hi.  I am having problems running dracut 0.51-r2 and 0.50-r2.  The
> problem is that I have two  install_items lines like this
> install_items+= /etc/modprobe.d/zfs.conf
> install_items+= /etc/systemd/system/initrd-switch-root.service
> 
> and dracut says permission denied on both of them.  They are owned by
> root and are world readable and containing directories look good.  I
> even did an strace, but did not find where it tried to open those
> files.  I have been using dracut for years and never had this problem
> till recent versions.
> 
> 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@ccs.covici.com
> 

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

         John Covici wb2una
         covici@ccs.covici.com


  reply	other threads:[~2021-02-13 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12 14:39 [gentoo-user] problems with dracut John Covici
2021-02-13 14:38 ` John Covici [this message]
2021-02-13 17:19 ` Rich Freeman
2021-02-13 17:25   ` John Covici
2021-02-14 13:48   ` John Covici

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3czx4m3r2.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox