* [gentoo-user] OT - Where is the TIMEZONE variable?
@ 2007-03-12 14:01 Michael Sullivan
2007-03-12 14:11 ` Matthew R. Lee
2007-03-12 14:46 ` Roger Mason
0 siblings, 2 replies; 3+ messages in thread
From: Michael Sullivan @ 2007-03-12 14:01 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] OT - Where is the TIMEZONE variable?
2007-03-12 14:01 [gentoo-user] OT - Where is the TIMEZONE variable? Michael Sullivan
@ 2007-03-12 14:11 ` Matthew R. Lee
2007-03-12 14:46 ` Roger Mason
1 sibling, 0 replies; 3+ messages in thread
From: Matthew R. Lee @ 2007-03-12 14:11 UTC (permalink / raw
To: gentoo-user
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
matt@matthewlee.org
mlee@bio.puc.cl
URL: meiochile.matthewlee.org
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] OT - Where is the TIMEZONE variable?
2007-03-12 14:01 [gentoo-user] OT - Where is the TIMEZONE variable? Michael Sullivan
2007-03-12 14:11 ` Matthew R. Lee
@ 2007-03-12 14:46 ` Roger Mason
1 sibling, 0 replies; 3+ messages in thread
From: Roger Mason @ 2007-03-12 14:46 UTC (permalink / raw
To: gentoo-user
Hello Michael,
Michael Sullivan <michael@espersunited.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-12 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 14:01 [gentoo-user] OT - Where is the TIMEZONE variable? Michael Sullivan
2007-03-12 14:11 ` Matthew R. Lee
2007-03-12 14:46 ` Roger Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox