From owner-freebsd-questions@FreeBSD.ORG Wed Mar 28 08:03:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FBFD16A404 for ; Wed, 28 Mar 2007 08:03:27 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone2.qsi.net.nz (drone2-svc-skyt.qsi.net.nz [202.89.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0A92B13C4AD for ; Wed, 28 Mar 2007 08:03:26 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 13578 invoked by uid 0); 28 Mar 2007 08:03:24 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 28 Mar 2007 08:03:24 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 351F27E846; Wed, 28 Mar 2007 20:03:24 +1200 (NZST) Date: Wed, 28 Mar 2007 20:03:24 +1200 From: Jonathan Chen To: Don O'Neil Message-ID: <20070328080324.GB76147@osiris.chen.org.nz> References: <000901c7710d$03be86c0$0600020a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000901c7710d$03be86c0$0600020a@mickey> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Time changed back to old daylight savings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 08:03:27 -0000 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 Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something.