[Pkg-sysvinit-devel] etch: dhclient hangs at boot because of
invoked hwclock
Petter Reinholdtsen
pere at hungry.com
Sun Nov 12 15:19:44 CET 2006
[Rafal Dabrowa]
> Possible solution: rename S50hwclock.sh to e.g. S38hwclock.sh in
> /etc/rcS.d/ directory. Is this possible ?
Is /usr/ and / the same partition?
I believe the solution selected for etch for this problem is to make
sure /etc/localtime is a _copy_ of the timezone file, and not a
symlink to /usr/. This way the internal time set by hwclockfirst.sh
is the same as the time set by hwclock.sh.
My recommended solution is to use UTC/GMT in the hardware clock, and
thus avoid this problem completely. This make the kernel do the right
thing during boot, and the hwclock*.sh scripts do not need to run at
all. I am aware that this make it hard for some dual boot
configurations.
As for your question, it is of course possible to reorder hwclock.sh,
but I am not sure it is the correct solution for this problem.
Friendly,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list