From owner-freebsd-stable@FreeBSD.ORG Sun Nov 27 05:39:05 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6318716A41F for ; Sun, 27 Nov 2005 05:39:05 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1E7843D58 for ; Sun, 27 Nov 2005 05:39:03 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jAR5d29L059388; Sat, 26 Nov 2005 21:39:02 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jAR5d1sv059387; Sat, 26 Nov 2005 21:39:01 -0800 (PST) (envelope-from jmg) Date: Sat, 26 Nov 2005 21:39:01 -0800 From: John-Mark Gurney To: Brett Glass Message-ID: <20051127053901.GI885@funkthat.com> Mail-Followup-To: Brett Glass , Peter Jeremy , stable@freebsd.org References: <200511260118.SAA20596@lariat.net> <6.2.5.6.2.20051126150622.0843d3e0@lariat.org> <20051127041452.GE27757@cirb503493.alcatel.com.au> <6.2.5.6.2.20051126222514.085ac738@lariat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.5.6.2.20051126222514.085ac738@lariat.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Peter Jeremy , stable@freebsd.org Subject: Re: FreeBSD 6.0 cron is running on GMT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 05:39:05 -0000 Brett Glass wrote this message on Sat, Nov 26, 2005 at 22:27 -0700: > At 09:14 PM 11/26/2005, Peter Jeremy wrote: > > >On Sat, 2005-Nov-26 15:07:26 -0700, Brett Glass wrote: > >>By the way, the "date" command does report the correct time. It's cron > >>that seems to be getting the time wrong. > > > >You haven't accidently created a line that looks like 'TZ=' in the > >crontab have you? > > Nope. > > >Is this affecting all users or just one? > > All. > > I am wondering if I shouldn't just redo everything in the system that > has to do with time zones and time keeping (deleting files and re-creating > them if need be), reboot, and see what happens. I've never seen a good > explanation of all of the sysctl variables, environment variables, files, > etc. that control it, especially since (as I understand it) the responsibility > has been shifted from the kernel to libraries. Is there a summary out there? /etc/localtime contains the timezone that is the default when TZ isn't set... if /etc/wall_cmos_clock exists then the RTC of the machine matches that of /etc/localtime, if it doesn't exist, the RTC is in GMT... adjkerntz(8) contains pointers to these files... as far as I know there are no sysctl's that deal with timezone... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."