* dst changes on older tru64 version
@ 2007-02-16 20:16 dazole
2007-02-17 16:36 ` JLPARSEC
2007-02-17 16:39 ` JLPARSEC
0 siblings, 2 replies; 3+ messages in thread
From: dazole @ 2007-02-16 20:16 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dst changes on older tru64 version
2007-02-16 20:16 dst changes on older tru64 version dazole
@ 2007-02-17 16:36 ` JLPARSEC
2007-02-17 16:39 ` JLPARSEC
1 sibling, 0 replies; 3+ messages in thread
From: JLPARSEC @ 2007-02-17 16:36 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: dst changes on older tru64 version
2007-02-16 20:16 dst changes on older tru64 version dazole
2007-02-17 16:36 ` JLPARSEC
@ 2007-02-17 16:39 ` JLPARSEC
1 sibling, 0 replies; 3+ messages in thread
From: JLPARSEC @ 2007-02-17 16:39 UTC (permalink / raw)
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
Also, some things to be aware of regarding Java as well:
Java/DST information:
----------------------
http://h18012.www1.hp.com/java/alpha/DST-US.html
Where to download Java versions:
---------------------------------
http://h18012.www1.hp.com/java/alpha/index.html
Regards,
John Lanier
PARSEC Group
AIM ID: JLparsec
WWW: http://www.parsec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-17 16:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 20:16 dst changes on older tru64 version dazole
2007-02-17 16:36 ` JLPARSEC
2007-02-17 16:39 ` JLPARSEC
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox