[Eug-lug] Daylight Savings as of 2007
Matthew Jarvis
mattj at bikefriday.com
Thu Feb 22 16:46:55 PST 2007
Garl Grigsby wrote:
>
> Matthew,
> Just in case you never got this done, here is what I developed as a
> procedure for updating older Redhat 7.3 and 9.0 systems. So far, this
> has worked on all the systems I've tried.
>
> Garl
>
> Steps to update Time Zone data on older (redhat) systems.
> NOTE: newer systems (like eglnx04) should be updated using up2date/yum
>
> 1. cd /tmp
> 2. mkdir tzupdate
> 3. wget 'ftp://elsie.nci.nih.gov/pub/tz[cd]*.tar.gz'
> 4. gzip -dc tzd*.tar.gz | tar xvf -
> 5. gzip -dc tzc*.tar.gz | tar xvf -
> 6. zic -d zoneinfo northamerica
> 7. tar -cvf /usr/share/zoneinfo_backup.tar /usr/share/zoneinfo/
> 1. This is just a backup in case something bad happens. This
> can be deleted when all is finished.
> 8. cp -Rf zoneinfo/ /usr/share/zoneinfo/
> 9. rm /etc/localtime
> 10. ln -s /usr/share/zoneinfo/PST8PDT /etc/localtime
> 11. zdump -v /usr/share/zoneinfo/PST8PDT | grep 2007
> 12. zdump -v /usr/share/zoneinfo/America/Los_Angeles | grep 2007
> 13. zdump -v /etc/localtime | grep 2007
>
>
> Make sure all three commands above report something like this with Mar
> 11 and Nov 4 as the dates:
>
> /usr/share/zoneinfo/PST8PDT Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11
> 01:59:59 2007 PST isdst=0 gmtoff=-28800
> /usr/share/zoneinfo/PST8PDT Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11
> 03:00:00 2007 PDT isdst=1 gmtoff=-25200
> /usr/share/zoneinfo/PST8PDT Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4
> 01:59:59 2007 PDT isdst=1 gmtoff=-25200
> /usr/share/zoneinfo/PST8PDT Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4
> 01:00:00 2007 PST isdst=0 gmtoff=-28800
>
> If they match, you're done.
>
>
Thanks Garl...
This looks very very similar to what I tried the other day and I got my
machine's time all fubar... the 'w' command would show a time 8 hour sin
the future, system clock showed current time... messing around with them
just made it worse... luckily I had backed up /etc/locatime and could
recover..
Followed the above verbatim and have the same problem.... the only thing
w/ correct lines are /America/Los_Angeles
Again, glad I had a backup....
Matthew S. Jarvis
IT Manager
Bike Friday - "Performance that Packs."
www.bikefriday.com
541/687-0487 x140
mattj at bikefriday.com
More information about the EUGLUG
mailing list