All of lore.kernel.org
 help / color / mirror / Atom feed
* inst_rules() searches for rules in current dir
@ 2013-10-03 14:51 Alexander Tsoy
       [not found] ` <20131003185109.4f88e313-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Tsoy @ 2013-10-03 14:51 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: inst_rules() searches for rules in current dir
       [not found] ` <20131003185109.4f88e313-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>
@ 2013-10-04 11:10   ` Harald Hoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2013-10-04 11:10 UTC (permalink / raw)
  To: Alexander Tsoy; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-04 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.