On Thu, 3 May 2001, Alex Bron wrote:
> Dear all,
>
> I have a nice server with its timezone set to Europe/Amsterdam (DST
> enabled). Everything works fine except for one thing. In winter, system
> time is always correct. When going into DST, the clock adjusts itself
> and again time is correct. However when I shutdown my server right
> now, and boot it up again, the clock is 1 hour behind - just as if the
> DST change is forgotten. As this server is also time server for the rest
> of my net, it's double trouble as all clocks are starting to run slow.
> How can I solve this?
>
> Regards, Alex Bron
>
>
Is the hardware clock set to local time, or UTC? If the hardware clock
is set to local time, then you will have this problem because Linux does
not change the hardware clock when changing to DST. When the system is
rebooted, the system time is set from the hardware clock, and if the
hardware clock is set to to local time, it is susposed to be set to the
correct local time. This is because if you are duel booting, Windows
will set the hardware clock to reflect DST.
If you are not duel booting this machine, you should set the hardware
clock to UTC, and adjust the time settings to reflect this. If you are
duel booting, then it becomes harder. This is because Windows will
reset the hardware clock the first time you boot it after the time
change. You could add a command on shutdown to sync the hardware clock
to system time, and override Windows, or make sure you boot Windows
before restarting Linux after the time change.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list