#2497: setclock boot script does not start in stable LFS 6.5
-------------------------+--------------------------------------------------
Reporter: ruslan.st | Owner: lfs-b...@…
Type: defect | Status: new
Priority: normal | Milestone: 6.6
Component: Bootscripts | Version: 6.5
Severity: normal | Keywords: bootscripts setclock
-------------------------+--------------------------------------------------
Comment(by ruslan.st):
Hi,
I did some investigation and have found that problems occured partly due
to my fault. Sorry :(
First, I did not expect setclock running from udev rule, so never check
that. I noticed that my localtime is wrong, check lfs-bootscripts and did
not find any startup links under rcsysinit.d and nothing in bootscrips
changelog about setclock removal. So I decided that this is a bug.
Actual reason of problem was wrong kernel config settings under RTC.
/dev/rtc was not created and setclock did not start. Now it works well
with both versions of rules: with the one from the book and with 20090925.
I am still wondering why it was necessary to move setclock startup from
rcsysinit.d to udev rules. Is it so important "clock to be set as soon as
/dev/rtc becomes available"?
Keeping all startups in one place under rc.d looks more consistent for me.
And hwclock works even if RTC is disabled in kernel at all. It seems
startup from rcsysinit.d is safer, because there is no such dependency on
kernel config.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2497#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page