Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks very much for your post on Linux Questions regarding RH 8.0 DST Changes for 2007. I did the commands as you stated, namely:
mkdir tz
cd tz
wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -
But now I'm not exactly sure how to install the packages. I read the README but it wasn't clear to me. What commands would I use to perform the 2007 fix for a New York Time Zone? Please help!
But now I'm not exactly sure how to install the packages. I read the README but it wasn't clear to me.
Code:
]$ nl README | less
29 Here is a recipe for acquiring, building, installing, and testing the
30 tz distribution on a GNU/Linux or similar host.
31 mkdir tz
32 cd tz
33 wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
34 gzip -dc tzcode*.tar.gz | tar -xf -
35 gzip -dc tzdata*.tar.gz | tar -xf -
36 Be sure to read the comments in "Makefile" and make any changes needed
37 to make things right for your system, especially if you are using some
38 platform other than GNU/Linux. Then run the following commands,
39 substituting your desired installation directory for "$HOME/tzdir":
40 make TOPDIR=$HOME/tzdir install
I did the commands you suggested. The first resulted in the terminal window disappearing -- strange. What can I do to ensure that the 2007 DST Rules are now in effect on this PC?
To check, this command will tell you if the file has been updated -
Code:
zdump -v /etc/localtime | grep 2007
This is the output if the time change-change has been made
Code:
/etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
Sorry, this may seem silly. I was able to update the Makefile and compile with the information provided, however I am unsure on how to implement the changes. If I run the new zdump against the new localtime, it looks correct. However, the system is still using the original zdump and localtime even when using the -ltz during the compile. Any suggestions?
What distros are you all running that there wasn't a simple update available ?
I'm just kind of curious since all I did with Debian was the standard update process and all of my Debian machines are ready for the new DST changes..
I would have thought that all the major distros would have updates available, and any child distros of them would get the update through the trickle down effect..
I've got a few machines running some older distros; RedHat 6.2 on Sparc and RedHat 7.2 for i386. My newer RedHat and SUSE distros were done through the standard update process. After some testing all appear to be working well now.
In the end, some great guys gave me these simple commands to update the 2007 DST Rules on Redhat Linux 8.0:
url=http://bent.latency.net/bent/i386/zoneinfo-2007b.cpio.bz2
cd /
wget -q -O - $url|bzip2 -d|cpio -idum
This was much simpler than the process as given in the 2/23 & 2/25 posts.
Then just run:
zdump -v /etc/localtime | grep 2007
And the output should be:
/etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.