We have quite a few old linux boxes that don’t (automatically or not) have updates to handle the change in Daylight Savings Time. It’s a bit annoying as otherwise the boxes are just fine. Yum isn’t on some of them and there aren’t even tzdata rpms available that I could find…

but it’s much simpler than that

* get the latest timezone file @ ftp://elsie.nci.nih.gov/pub/
(wget ftp://elsie.nci.nih.gov/pub/tzdata2008b.tar.gz will work if you don’t have an ftp client handy)

* extract the files (tar -xvzf tzdata2008b.tar.gz)

* run zic on the file(s) that you’d like to update. For me that was zic northamerica

* remove the /etc/localtime file (rm -f /etc/localtime)

* link the appropriate timezone file to this (ln -fs /usr/share/zoneinfo/America/Chicago /etc/localtime in my case

* zdump -v /etc/localtime | egrep 2007 will show dates in March if it’s a corrected version

that’s it…

additional info

Advertisements