Date: Wed, 28 Mar 2007 09:12:53 -0700 From: "Don O'Neil" <lists@lizardhill.com> To: "'Jonathan Chen'" <jonc@chen.org.nz> Cc: freebsd-questions@freebsd.org Subject: RE: Time changed back to old daylight savings Message-ID: <00ba01c77153$f07badd0$0600020a@mickey> In-Reply-To: <20070328080324.GB76147@osiris.chen.org.nz> References: <000901c7710d$03be86c0$0600020a@mickey> <20070328080324.GB76147@osiris.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, since I didn't install it from source, but a snapshot, I don't have
the northamerica source to get an MD5 # on.
Isn't there some other way to update the zone info files to fix this?
-----Original Message-----
From: Jonathan Chen [mailto:jonc@chen.org.nz]
Sent: Wednesday, March 28, 2007 1:03 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Time changed back to old daylight savings
On Wed, Mar 28, 2007 at 12:45:11AM -0700, Don O'Neil wrote:
> I'm not sure when this happened, but I noticed today that my server
> reverted back to the old daylight savings time (1 hour off).... When I
> run ntpdate and have it update it even then it shows the wrong time.
This tends to indicate the your /etc/localtime file is wrong. The
timeservers all return UTC; the display for the date consults /etc/localtime
to display UTC time in local time.
> I haven't done anything to replace the /etc/localtime file, even tried
> running tzsetup again, but that still didn't help.
This indicates that your zoneinfo files have not been updated correctly.
[...]
> At the moment I've addressed the issue with a "date -v +1H".
Which definitely isn't the correct fix.
> Any reason this would happen? How do I fix it?
What does "md5 /usr/src/share/zoneinfo/northamerica" return? (I'm assuming
that you're in North America). On my 6-STABLE machine it's:
MD5 (/usr/src/share/zoneinfo/northamerica) =
3e582e371f445a18b065eed8f775fb20
Any other result means that your should re-cvsup, and rebuild your system
again. If it is the same, make sure your zoneinfo files have been rebuilt
(check the file timestamps).
Cheers.
--
Jonathan Chen <jonc@chen.org.nz> Once is dumb luck.
Twice is coincidence.
Three times and Somebody Is Trying To Tell You Something.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ba01c77153$f07badd0$0600020a>
