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

RE: timezone and clock error



Dean Allen Provins wrote on Thursday, November 02, 2006 2:20 PM -0500:

> Hello:
> 
> It seems that the PC clocks here in Alberta are still on daylight
> savings time.  This is odd as Alberta's clocks switched back last
> weekend.
> 
> /etc/timezone contains:
> 
> Canada/Mountain
> 
> Anyone know how to fix them?

Is this by any chance a dual-boot system with the hardware clock
running on local time to accommodate Windows?  If so, it is possible
for Windows and Linux to fight when daylight savings time (DST)
starts or ends.  This problem is due to Windows maintaining the
hardware clock in local time and keeping track of whether it has
adjusted for DST in a disk file that the other OS's don't know about.

There are various hacks to fix this, none of them satisfactory.
Until Windows decides to reliably support a UTC hardware clock, I
suspect the only workaround is to ask Linux to treat the hardware
clock as local time and enable ntp in both operating systems.  This
fails if the time servers are unreachable at boot time right after
Windows updates the hardware clock for a change to or from DST.

-- 
Seth Goodman



Reply to: