Hello, Are there some missing kernel device rules in 55-lfs.rules from udev-config-20080217? These following rules do not exist: KERNEL=="ptmx", MODE="0666", GROUP="tty" KERNEL=="kmem", MODE="0640", GROUP="kmem" KERNEL=="mem", MODE="0640", GROUP="kmem" KERNEL=="port", MODE="0640", GROUP="kmem" KERNEL=="null", MODE="0666" KERNEL=="zero", MODE="0666" KERNEL=="full", MODE="0666"
These rules do exist in the stable 6.3 book in the file 25-lfs.rules from udev-config-6.3. There is a note in the Changelog as follows: 2007-10-27 * 25-lfs.rules: Some rules in here are duplicates of rules from udev's new 50-udev-defaults.rules file; remove them. Override permissions where needed elsewhere (and document overrides in comments). However, I don't think that this 50-udev-defaults.rules file exists in Udev-113, which is the Udev version in current in the LFS SVN ( rev. 8494 .) ( 50-udev-defaults.rules does exist in the latest udev-118 package from kernel.org ) The bottom line for me is that after building the latest LFS from SVN ( r8494 - March 7, 2008 ) the permissions of /dev/null get set to 0660 by udev unless I put the KERNEL=="null", MODE="0666" rule in /etc/udev/rules.d/55-lfs.rules. For sake of reference, here are the Core kernel device rules in 55-lfs.rulesfrom udev-config-20080217: KERNEL=="random", MODE="0444" KERNEL=="urandom", MODE="0444" KERNEL=="aio", MODE="0444" KERNEL=="kmsg", MODE="0600" KERNEL=="rtc", MODE="0666" And here are the Core kernel device rules in in 25-lfs.rules from udev-config-6.3 KERNEL=="ptmx", MODE="0666", GROUP="tty" *KERNEL=="random", MODE="0444" *KERNEL=="urandom", MODE="0444" KERNEL=="kmem", MODE="0640", GROUP="kmem" KERNEL=="mem", MODE="0640", GROUP="kmem" KERNEL=="port", MODE="0640", GROUP="kmem" KERNEL=="null", MODE="0666" KERNEL=="zero", MODE="0666" KERNEL=="full", MODE="0666" *KERNEL=="aio", MODE="0444" *KERNEL=="kmsg", MODE="0600" *KERNEL=="rtc", MODE="0666" Thanks for your attention. Troy
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page