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