> Message: 7
> Date: Mon, 14 Sep 2009 20:51:16 -0700
> From: Bryan Kadzban <[email protected]>
> Subject: Re: Problems with setclock in
> lfs-bootscripts-20090812 LFS
> 6.5
> To: LFS Developers Mailinglist <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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).
CONFIG_SYSFS_DEPRECATED is not set in my .config
> What does "/sbin/udevadm info -q path -n /dev/rtc"
> say?
/devices/virtual/misc/rtc
> Where does the /sys/$(/sbin/udevadm info -q path -n /dev/rtc)/subsystem
> symlink point to?
lrwxrwxrwx 1 root root 0 2009-09-15 20:45
/sys/devices/virtual/misc/rtc/subsystem -> ../../../../class/misc
I have noticed that I have 3 udevd demons running whereas on my other Linux
systems I only have one. So I'm going to try and track down why.
Regards,
Gary
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page