From: "JLPARSEC" <jlanier@parsec.com>
Subject: Re: dst changes on older tru64 version
Date: 17 Feb 2007 08:36:58 -0800 [thread overview]
Message-ID: <1171730218.384306.255090@t69g2000cwt.googlegroups.com> (raw)
In-Reply-To: <1171656972.783216.140540@t69g2000cwt.googlegroups.com>
On Feb 16, 1:16 pm, daz...@gmail.com wrote:
> I have a number of tru64 servers that do not have an official patch
> for the upcoming DST changes in the US. However, I believe I can
> create new timezone data files with zic. Here are the versions of
> tru64 I am running:
>
> V5.1 (Rev. 732)
> V5.1A (Rev. 1885)
>
> Here's my plan:
>
> 1) zic to create timezone files
> 2) copy /etc/zoneinfo /tmp/zoneinfo.bak
> 3) copy new tz files /etc/zoneinfo
> 4) reboot
>
> Without making any changes on any other software, does anyone see any
> problems with this?
>
> Much thanks for any info you might have.
>
> David
I have the same basic idea, but with the following steps:
1. Before:
-----------
--> pwd
/etc/zoneinfo
--> zdump -v CST6CDT|grep 2007
CST6CDT Sun Apr 1 07:59:59 2007 GMT = Sun Apr 1 01:59:59 2007 CST
isdst=0 gmtoff=-21600
CST6CDT Sun Apr 1 08:00:00 2007 GMT = Sun Apr 1 03:00:00 2007 CDT
isdst=1 gmtoff=-18000
CST6CDT Sun Oct 28 06:59:59 2007 GMT = Sun Oct 28 01:59:59 2007 CDT
isdst=1 gmtoff=-18000
CST6CDT Sun Oct 28 07:00:00 2007 GMT = Sun Oct 28 01:00:00 2007 CST
isdst=0 gmtoff=-21600
2. Verify that your tzdata files are incorrect
("zdump -v CST6CDT | grep 2007"; noted above).
3. Downloaded the timezone data file from "ftp://elsie.nci.nih.gov/
pub";
filename is "tzdata2007a.tar.gz".
4. Gunzip'ed and un-tar'ed the data file in /var/TZ_Related/tzdata.
5. Run the following commands to create the timezone images:
#cd /var/TZ_Related/tzdata
#zic -d ./tmp ./northamerica
6. mv /etc/zoneinfo/localtime /etc/zoneinfo/localtime.old
mv /etc/zoneinfo/CST6CDT /etc/zoneinfo/CST6CDT.old
mv /etc/zoneinfo/US/Central /etc/zoneinfo/US/Central.old
mv /etc/zoneinfo/America/Chicago /etc/zoneinfo/America/Chicago.orig
From "/var/TZ_Related/tzdata/tmp":
cp CST6CDT /etc/zoneinfo/CST6CDT
cp CST6CDT /etc/zoneinfo/US/Central
cp America/Chicago /etc/zoneinfo/America
ln -s /etc/zoneinfo/America/Chicago /etc/zoneinfo/localtime
NOTE: I only moved the tzdata files applicable to the Central
timezone.
7. After:
----------
--> pwd
/etc/zoneinfo
--> file localtime
localtime: symbolic link to ./America/Chicago
--> date
Thu Feb 8 19:56:50 CST 2007
--> zdump -v /etc/zoneinfo/America/Chicago|grep 2007
/etc/zoneinfo/America/Chicago Sun Mar 11 07:59:59 2007 GMT = Sun Mar
11 01:59:59 2007 CST isdst=0 gmtoff=-21600
/etc/zoneinfo/America/Chicago Sun Mar 11 08:00:00 2007 GMT = Sun Mar
11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
/etc/zoneinfo/America/Chicago Sun Nov 4 06:59:59 2007 GMT = Sun Nov
4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
/etc/zoneinfo/America/Chicago Sun Nov 4 07:00:00 2007 GMT = Sun Nov
4 01:00:00 2007 CST isdst=0 gmtoff=-21600
Regards,
John Lanier
PARSEC Group
AIM ID: JLparsec
WWW: http://www.parsec.com
next prev parent reply other threads:[~2007-02-17 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 20:16 dst changes on older tru64 version dazole
2007-02-17 16:36 ` JLPARSEC [this message]
2007-02-17 16:39 ` JLPARSEC
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox