He could also do rdate or ntp to a known timeserver on the Internet
during bootup, or periodically (rdate -s as a cron job is an
excellent way to keep a box synchronized with an external 
timeserver).  As always, however, if you are attaching to a particular
timeserver with any frequency (i.e., you've automated it) it is
MORE than reasonable that you should contact the sysadmins first
and get their permission, unless they have a purely public server
(there are a few Stratum 1 servers that have no guest requirements,
and prefer that folks just attach as needed; for most purposes, even
a Stratum 2 or 3 is more than adequate).

Bill Ward

-----Original Message-----
From: Mikkel L. Ellertson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 2:39 AM
To: [EMAIL PROTECTED]
Subject: Re: DST changes gone after reboot


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



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to