mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Alexander Tsoy <alexander-EP/B3+myoZc@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: inst_rules() searches for rules in current dir
Date: Fri, 04 Oct 2013 13:10:43 +0200	[thread overview]
Message-ID: <524EA233.2070000@redhat.com> (raw)
In-Reply-To: <20131003185109.4f88e313-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>

On 10/03/2013 04:51 PM, Alexander Tsoy wrote:
> Hello.
> 
> Is this intentional, or a bug?
> 
> # touch 11-dm-lvm.rules 
> # ls -ln 11-dm-lvm.rules 
> -rw-r--r-- 1 1000 1000 0 Oct  3 18:32 11-dm-lvm.rules
> # dracut -f
>  ...
> *** Including module: lvm ***
> dracut-install: ERROR: installing '11-dm-lvm.rules' to '/etc/udev/rules.d/11-dm-lvm.rules'
> /usr/libexec/dracut-install -D /var/tmp/initramfs.EZ7ISH 11-dm-lvm.rules /etc/udev/rules.d/11-dm-lvm.rules
>  ...
> # lsinitrd /boot/initramfs-3.11.3-hardened.img | grep 11-dm-lvm.rules
> -rw-r--r--   1 root     root            0 Oct  3 18:32 etc/udev/rules.d/11-dm-lvm.rules
> -r--r--r--   1 root     root         1303 Sep 30 20:11 lib64/udev/rules.d/11-dm-lvm.rules
> 
> 
> Related line from dracut-functions.sh:
> 
>  899         for r in '' ./ $dracutbasedir/rules.d/; do
> 
> Are '' and ./ really needed here?
> 

No, will remove them! Thanks!

      parent reply	other threads:[~2013-10-04 11:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03 14:51 inst_rules() searches for rules in current dir Alexander Tsoy
     [not found] ` <20131003185109.4f88e313-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>
2013-10-04 11:10   ` Harald Hoyer [this message]

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=524EA233.2070000@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=alexander-EP/B3+myoZc@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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