[gentoo-user] OT - Where is the TIMEZONE variable?
I feel really stupid having to ask this here, but in what file is the TIMEZONE variable set? My PC clock is set by ntp and it's not being updated for DST. Wherever the variable is, it's not set. I never updated it becuase I heard it wasn't actually being used yet, but I think if I set it my machine's time might get updated for DST. I can't find the stupid variable though. The one that replaces /etc/localtime. Can anyone help me out? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Where is the TIMEZONE variable?
On Monday 12 March 2007 10:01, Michael Sullivan wrote: > I feel really stupid having to ask this here, but in what file is the > TIMEZONE variable set? My PC clock is set by ntp and it's not being > updated for DST. Wherever the variable is, it's not set. I never > updated it becuase I heard it wasn't actually being used yet, but I > think if I set it my machine's time might get updated for DST. I can't > find the stupid variable though. The one that replaces /etc/localtime. > Can anyone help me out? /etc/conf.d/clock -- %%% Dr. Matthew R. Lee CASEB & ECIM Departamento de Ecologia, P. Universidad Catolica de Chile, Alameda 340, Santiago. CP 6513677 CHILE [EMAIL PROTECTED] [EMAIL PROTECTED] URL: meiochile.matthewlee.org %%% -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Where is the TIMEZONE variable?
Hello Michael, Michael Sullivan <[EMAIL PROTECTED]> writes: > I feel really stupid having to ask this here, but in what file is the > TIMEZONE variable set? My PC clock is set by ntp and it's not being > updated for DST. Wherever the variable is, it's not set. I never > updated it becuase I heard it wasn't actually being used yet, but I > think if I set it my machine's time might get updated for DST. I can't > find the stupid variable though. The one that replaces /etc/localtime. > Can anyone help me out? Here is what I did to update all my boxes for the DST change on March 11, thanks to the people who responded to my question on this topic last week: (1) Sync. (2) emerge timezone-data (should be >= 2006p) (3) set TIMEZONE="Canada/Newfoundland" in /etc/conf.d/clock (adjust for your local time zone). (4) rm /etc/localtime && cp /usr/share/zoneinfo/Canada/Newfoundland /etc/localtime (adjust for your local time zone). (5) Check: zdump -v /etc/localtime | grep 2007. For timezone-data = 2007c it shows: /etc/localtime Sun Mar 11 03:30:59 2007 UTC = Sun Mar 11 00:00:59 2007 NST isdst=0 /etc/localtime Sun Mar 11 03:31:00 2007 UTC = Sun Mar 11 01:01:00 2007 NDT isdst=1 /etc/localtime Sun Nov 4 02:30:59 2007 UTC = Sun Nov 4 00:00:59 2007 NDT isdst=1 /etc/localtime Sun Nov 4 02:31:00 2007 UTC = Sat Nov 3 23:01:00 2007 NST isdst=0 All my boxes are running on NDT correctly. HTH, Roger -- gentoo-user@gentoo.org mailing list