From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,c9bdfd0be87ed51a X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!t69g2000cwt.googlegroups.com!not-for-mail From: "JLPARSEC" Newsgroups: comp.unix.tru64 Subject: Re: dst changes on older tru64 version Date: 17 Feb 2007 08:36:58 -0800 Organization: http://groups.google.com Message-ID: <1171730218.384306.255090@t69g2000cwt.googlegroups.com> References: <1171656972.783216.140540@t69g2000cwt.googlegroups.com> NNTP-Posting-Host: 75.70.102.13 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1171730236 13458 127.0.0.1 (17 Feb 2007 16:37:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 17 Feb 2007 16:37:16 +0000 (UTC) In-Reply-To: <1171656972.783216.140540@t69g2000cwt.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: t69g2000cwt.googlegroups.com; posting-host=75.70.102.13; posting-account=Bo9Fnw0AAADWrnJsbc6zAgBj1D7kl9CN Xref: g2news2.google.com comp.unix.tru64:635 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