From owner-freebsd-questions@FreeBSD.ORG Fri Jan 19 23:30:21 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 60AF516A405 for ; Fri, 19 Jan 2007 23:30:21 +0000 (UTC) (envelope-from hl700@cc.usu.edu) Received: from ironport2.usu.edu (ironport2.usu.edu [129.123.1.27]) by mx1.freebsd.org (Postfix) with ESMTP id 39BE213C45E for ; Fri, 19 Jan 2007 23:30:21 +0000 (UTC) (envelope-from hl700@cc.usu.edu) Received: from buffy.ncs.usu.edu (HELO [129.123.104.140]) ([129.123.104.140]) by ironport2.usu.edu with ESMTP; 19 Jan 2007 16:30:20 -0700 X-SBRS: None X-IronPort-AV: i="4.13,213,1167634800"; d="scan'208"; a="17801675:sNHT18139835" Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <~B45b012c10000.45b035cd0000.0001.mml.1959332346@svmailmel.bytecraft.internal> References: <~B45b012c10000.45b035cd0000.0001.mml.1959332346@svmailmel.bytecraft.internal> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: hal Date: Fri, 19 Jan 2007 16:30:20 -0700 To: freebsd-questions@FreeBSD.ORG X-Mailer: Apple Mail (2.752.2) Cc: Subject: Re: Daylight savings time / 6.1 and 4.11 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: Fri, 19 Jan 2007 23:30:21 -0000 On Jan 18, 2007, at Thursday, Jan18, 2007 5:36 PM, Murray Taylor wrote: >> >> This is an issue here at work. We have very many FreeBSD 4.x >> machines and a >> growing number of FreeBSD 6.x. The change when daylight >> saving time starts >> and ends is an issue for machines in the United States and, we think, >> those in Canada. The way to check if your zone file is >> correct is to do >> >> zdump -v /etc/localtime | more >> >> Look for the following >> >> >> /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 >> 01:59:59 2007 PST isdst=0 gmtoff=-28800 >> /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 >> 03:00:00 2007 PDT isdst=1 gmtoff=-25200 >> /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 >> 01:59:59 2007 PDT isdst=1 gmtoff=-25200 >> /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 >> 01:00:00 2007 PST isdst=0 gmtoff=-28800 >> >> If you see this, your zone file will handle the change >> correctly. The 6.x >> series has the corrected zone files. 4.x does not have this. >> The best way >> to handle this is to copy the zone file from >> /usr/share/zoneinfo on a 6.x >> machine to your 4.x. >> >> >> Josef >> Interesting: Just did an upgrade to 6.2-STABLE from 6.1-RELEASE-p10 and here is what I see. uname -r 6.2-STABLE zdump -v -c 2008 MST7MDT MST7MDT Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 MST isdst=0 gmtoff=-25200 MST7MDT Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 MDT isdst=1 gmtoff=-21600 MST7MDT Sun Nov 4 07:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 MDT isdst=1 gmtoff=-21600 MST7MDT Sun Nov 4 08:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 MST isdst=0 gmtoff=-25200 Shows the new MST -> MDT and MDT -> MST dates zdump -v -c 2008 /etc/localtime /etc/localtime Sun Apr 1 08:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 MST isdst=0 gmtoff=-25200 /etc/localtime Sun Apr 1 09:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 MDT isdst=1 gmtoff=-21600 /etc/localtime Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 MDT isdst=1 gmtoff=-21600 /etc/localtime Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 MST isdst=0 gmtoff=-25200 Shows the old MST -> MDT and MDT -> MST dates What did I miss? What do I do next? hal