/lib/udev/rule_generator.functions has PATH='/sbin:/bin' and expects to find 'rmdir' and 'sleep' there. Should we provide links when installing coreutils and util-linux, or sed the path before installing udev?
The problem that's caused by this is: you can't delete your 70-persistent-net.rules, and rerun /lib/udev/write_net_rules all_interfaces (in 7.13.1. Creating stable names for network interfaces), which may be a pain if you add a network card later. Test case: Follow the book upto and including 7.13.1. Creating stable names for network interfaces. then, cd /etc/udev/rules.d rm 70-persistent-net.rules /lib/udev/write_net_rules all_interfaces edit /lib/udev/rule_generator.functions (append :/usr/bin to PATH) rm -fdr /dev/.udev/.lock-70-persistent-net.rules /lib/udev/write_net_rules all_interfaces (sed message still appears but I have to shrug at that for now) /lib/udev/write_net_rules all_interfaces rm 70-persistent-net.rules /lib/udev/write_net_rules all_interfaces I also noticed /dev/.udev/.lock-70-persistent-cd.rules, which may cause similar trouble. Anyhow, I edited udev-113/extras/rule_generator/rule_generator.functions to include :/usr/bin before installing udev, reinstalled, and went through chapter 7 again. It seems this corrects the non-deletion of both lock files. Trent. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
