I updated one of my RH9 servers for the DST 2007 change this weekend, and I noticed that I get two different values when I use zdump:
# zdump -v /etc/localtime | grep 2007 shows me the old DST info (April and October)
# zdump -v /usr/share/zoneinfo/PST8PDT | grep 2007 shows me the new DST info (March and November)
# zdump -v /usr/share/zoneinfo/America/Los_Angeles | grep 2007 shows me the new DST info (March and November)
I pasted together some directions from a few forum postings, and now I'm wondering if I did something wrong (or out of order). Here are the steps I used:
- Go to
ftp://elsie.nci.nih.gov/pub/ and download tzcode2007c.tar.gz and tzdata2007c.tar.gz
- Create a /tz directory and copy the two .tar.gz files into a /tz directory on the server
- Uncompress the two files ('gzip -dc tzcode*.tar.gz | tar -xf -' and 'gzip -dc tzdata*.tar.gz | tar -xf -')
- Run 'zic -d /tmp/zoneinfo northamerica' to compile the timezone data files.
- Run 'cp -p /tmp/zoneinfo /usr/share/zoneinfo' to replace the old file
- Check the updates with the zdump commands listed above
So the values look right in the /usr/share/zoneinfo files, but not in my /etc/localtime. Do I need to restart something to update the settings?
Any help would be greatly appreciated!
Thanx, Raoul