[LUNI] DST changes :: a how to for Linux boxes
Trev Peterson
trev at advanced-reality.com
Thu Mar 8 07:41:14 CST 2007
On my gentoo system my /etc/localtime is NOT a link. It looks like they
copied /usr/share/zoneinfo/America/Chicago to /etc/localtime.
If /etc/localtime is a link make sure it points to the correct zoneinfo
file. If it is a file you probably want to copy over one of the new
files you downloaded.
Trev
On Wed, 2007-03-07 at 16:46 -0700, Mike Scott wrote:
> Well, I followed all the steps and it seemed to work.
> I verified that the files in /usr/share/zoneinfo all have today's date
> (were replaced).
> But when I type the final verification command, I get the old data:
>
> [root at prideth root]# zdump -v /etc/localtime | grep 2007
> /etc/localtime Sun Apr 1 07:59:59 2007 UTC = Sun Apr 1 01:59:59 2007
> CST isdst=0 gmtoff=-21600
> /etc/localtime Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007
> CDT isdst=1 gmtoff=-18000
> /etc/localtime Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007
> CDT isdst=1 gmtoff=-18000
> /etc/localtime Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007
> CST isdst=0 gmtoff=-21600
>
> However, if I add my timezone, it appears to give more info:
> [root at prideth root]# zdump -v /etc/localtime CST6CDT | grep 2007
> /etc/localtime Sun Apr 1 07:59:59 2007 UTC = Sun Apr 1 01:59:59 2007
> CST isdst=0 gmtoff=-21600
> /etc/localtime Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007
> CDT isdst=1 gmtoff=-18000
> /etc/localtime Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007
> CDT isdst=1 gmtoff=-18000
> /etc/localtime Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007
> CST isdst=0 gmtoff=-21600
> CST6CDT Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007
> CST isdst=0 gmtoff=-21600
> CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007
> CDT isdst=1 gmtoff=-18000
> CST6CDT Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007
> CDT isdst=1 gmtoff=-18000
> CST6CDT Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007
> CST isdst=0 gmtoff=-21600
>
> So I think it will be okay, but I'll know for sure on Sunday.
> (God Bless the USA!)
> Has anyone else tried this? I'm using RedHat 7.3.
>
> - Mike Scott
>
>
> > -------- Original Message --------
> > Subject: [LUNI] DST changes :: a how to for Linux boxes
> > From: "Arun K. Khan" <knura at yahoo.com>
> > Date: Wed, March 07, 2007 10:52 am
> > To: luni <luni at luni.org>
> >
> > A how to for ensuring that your Linux box is all set to handle the DST
> > changes.
> >
> > http://www.linux-watch.com/news/NS6300294422.html
> >
> > -- arun khan
> >
> > --
> > Linux Users Of Northern Illinois - Technical Discussion
> > http://luni.org/mailman/listinfo/luni
>
--
Trev Peterson
Advanced Reality
Email: trev at advanced-reality.com
Phone: +1 847 406 9018
More information about the luni
mailing list