[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#84440: base: System Clock set too late (problems when HW Clock in local time)



Package: base
Version: 20001017
Severity: normal

At boot up, the system clock is set by the kernel from the HW clock.
If HW clock is in local time, that means: since boot up,
and until init.d/hwclock.sh is started, the system clock is
incorrect.

E.g. init.d/modutils is started *before* hwclock.sh. When it
calculates module dependencies, the modules.dep file gets a bad
timestamp, eventually (*) sooner than /etc/modules.conf timestamp.
So /sbin/modprobe keeps complaining that we have modified
/etc/modules.conf !!

(*) if you are to the west from GMT, and you have changed
/etc/modules.conf recently.

Of course, you can imagine other kind of problems.

Proposed solution: start init.d/hwclock.sh as the very first moment
(I made a symlink of it as rcS.d/S00hwclock.sh).

-- System Information
Debian Release: 2.2
Kernel Version: Linux yup 2.2.12 #2 Mon Oct 16 23:49:59 UYT 2000 i586 unknown



Reply to: