Re: inst_rules() searches for rules in current dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux