I started building some modules today, which caused me to notice a boot
problem with timezones.
My hardware clock is local time. /etc/timezone contains "US/Central"
(no quotes). /etc/default/rcS contains "UTC=no" (no quotes).
Once the system is booted, the time is correct.
The problem is that in rcS.d, S20modutils runs before S40hwclock.sh. It
is S40hwclock.sh that sets the time correctly, but S20modutils run
depmod, which regenerates /lib/modules/2.2.13/modules.dep with the
wrong time (5 hours too early). The files time is not my local time
nor is it GMT. It is being set to GMT-10. It is as if the HW clock was
GMT, and 5 hours are subtracted from it for local time.
This problem then causes modprobe to complain about /etc/modules.conf
being newer than modules.dep, which causes S20modutils to execute
the last if statement (modprobe ... -t boot \*) when it shouldn't
causing more error messages.
If I edit S20 and add "touch /testtime" I get the same thing. I need
the HW clock as local since the system is dual boot with Win98.
libc6 2.1.3-10, Debian potato.
Sent via Deja.com http://www.deja.com/
Before you buy.