The 02.12.01 at 22:32, wolfi wrote:
Did you find a solution for this? I have got exactly the same problem on one of my boxen. In /etc/init.d/boot.clock it says -> see below.
This one seems to be important: /sbin/hwclock --hctosys $HWCLOCK which means, that on boot system time is adjusted to BIOS time. But in fact, the opposite happens.
It sets system clock from CMOS (BIOS) time. Look the manual page: --hctosys Set the System Time from the Hardware Clock. Also set the kernel's timezone value to the local timezone as indicated by the TZ environment variable and/or /usr/share/zoneinfo, as tzset(3) would interpret them. The obsolete tz_dsttime field of the kernel's timezone value is set to DST_NONE. (For details on what this field used to mean, see settimeofday(2).) This is a good option to use in one of the system startup scripts.
The BIOS time gets adjusted to system time, and then it's wrong. Exactly as described in Eric's first email.
ANY IDEAS ???!?!?
Timezones, adjtime, set up bios time (UTC) from the bios itself... -- Cheers, Carlos Robinson