Mark, First, I too have a host named "dragonfly"... did you happen to root my box? ;-)
On Mon, 2007-03-12 at 08:30 -0700, Mark Knecht wrote: > Yes, I saw Roger's post in another thread which I copied here. I did > all that and ran zdump. It looks similar to Rogers. I'm in California: > > <QUOTE> > 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). > Not sure, if you are living in California, that you set your timezone to Canada/Newfoundland... though admittedly, I don't know the TZ rules in Canada. Did they too change their DST dates? > (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 > <QUOTE> > > And here is mine: > > dragonfly ~ # zdump -v /etc/localtime | grep 2007 > /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 > 2007 PST isdst=0 > /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 > 2007 PDT isdst=1 > /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 > 2007 PDT isdst=1 > /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 > 2007 PST isdst=0 > dragonfly ~ # > > dragonfly ~ # date > Mon Mar 12 08:29:08 PDT 2007 > dragonfly ~ # > > > The problem I'm having is that I don't know how to figure out if the > machine would have the correct date when I reboot. You don't need to reboot. Well, maybe if you made this change recently (e.g. after DST changed) you do. But basically what you are seeing (from zdump) looks ok to me, meaning at 11 Mar 10:00:00 UTC your local time is 3:00 AM and DST switches on. and on 4 Nov 9:00:00 UTC your local time is 1:00 AM and DST switches off. -- Albert W. Hopkins -- [email protected] mailing list

