There’s lots of documents out there on how to download the latest time zone data and apply it manually. In the interests of proper management though, I like using RPM to do pretty much everything. The problem is that Fedora Legacy has disbanded, so I can’t get patches for my FC1 and FC4 systems. The solution is to rebuild the FC6 packages and apply them to the legacy systems. (It’s entirely possible that they may apply directly since it’s noarch, but my local mirror didn’t seem to have the package)
[root@sergeant root]# zdump -v /etc/localtime | grep 2007
/etc/localtime Sun Apr 1 07:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 CST isdst=0 gmtoff=-21600
/etc/localtime Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 02:59:59 2007 CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 02:00:00 2007 CST isdst=0 gmtoff=-21600
[root@sergeant root]# wget http://www.muug.mb.ca/pub/fedora/linux/core/updates/6/SRPMS/tzdata-2007c-1.fc6.src.rpm
–08:31:20– http://www.muug.mb.ca/pub/fedora/linux/core/updates/6/SRPMS/tzdata-2007c-1.fc6.src.rpm
=> `tzdata-2007c-1.fc6.src.rpm’
Resolving www.muug.mb.ca… done.
Connecting to www.muug.mb.ca[130.179.31.46]:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 366,378 [application/x-rpm]
100%[====================================>] 366,378 494.87K/s ETA 00:00
08:31:21 (494.87 KB/s) - `tzdata-2007c-1.fc6.src.rpm’ saved [366378/366378]
[root@sergeant root]# rpmbuild –rebuild tzdata-2007c-1.fc6.src.rpm
Installing tzdata-2007c-1.fc6.src.rpm
…
Wrote: /usr/src/redhat/RPMS/noarch/tzdata-2007c-1.noarch.rpm
…
[root@sergeant root]# rpm -Uvh /usr/src/redhat/RPMS/noarch/tzdata-2007c-1.noarch.rpm
Preparing… ########################################### [100%]
1:tzdata ########################################### [100%]
For some reason /etc/localtime was a file instead of a symlink
[root@sergeant root]# rm /etc/localtime
rm: remove regular file `/etc/localtime’? y
[root@sergeant root]# ln -s /usr/share/zoneinfo/CST6CDT /etc/localtime
[root@sergeant root]# !zdump
zdump -v /etc/localtime | grep 2007
/etc/localtime Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600
/etc/localtime Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
/etc/localtime Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 CST isdst=0 gmtoff=-21600