mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Alexander Tsoy <alexander-EP/B3+myoZc@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: inst_rules() searches for rules in current dir
Date: Thu, 3 Oct 2013 18:51:09 +0400	[thread overview]
Message-ID: <20131003185109.4f88e313@work.puleglot> (raw)

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?

-- 
Alexander Tsoy

             reply	other threads:[~2013-10-03 14:51 UTC|newest]

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

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=20131003185109.4f88e313@work.puleglot \
    --to=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