ga ho wrote:
>>> 55-lfs.rules:SUBSYSTEM=="rtc", MODE="0644", ACTION=="add", 
>>> RUN+="/etc/rc.d/init.d/setclock start"
>>> 
>>> ???-- Bruce
>>> 
>>> 
>> Thanks, I'll double check /dev/rtc and the 55-lfs.rules on my 
>> system.
> 
> The rule in my 55-lfs.rules file is exactly as stated above however 
> running the command ls -l /dev/rtc displays:
> 
> crw-rw---- 1 root root 10, 135 2009-09-13 20:04 /dev/rtc
> 
> The permissions are 660 when according to the rule they should be 
> 644. Any ideas why the permissions are incorrect and how I can fix 
> it?

It might be that your kernel's SUBSYSTEM is wrong for this device.  Do
you have CONFIG_SYSFS_DEPRECATED turned on in the kernel .config file?
Udev docs claim it may not work with that setting (though I don't know
if that will cause this type of failure or not).

What does "/sbin/udevadm info -q path -n /dev/rtc" say?  Where does the
/sys/$(/sbin/udevadm info -q path -n /dev/rtc)/subsystem symlink point to?

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to