LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 03-08-2007, 07:13 PM   #1
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
Duplicate daylight savings time entries


I've followed the information in the guide (http://www.linux-watch.com/news/NS6300294422.html), and in several computers it worked great. Unfortunately, I've run into a bit of a roadblock. If I check it the 'standard way', it shows no change:

output of zdump -v /etc/localtime | grep 2007
Code:
/etc/localtime Sun Apr 1 09:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 PST isdst=0 gmtoff=-28800 
/etc/localtime Sun Apr 1 10:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 PDT isdst=1 gmtoff=-25200 
/etc/localtime Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1 gmtoff=-25200 
/etc/localtime Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0 gmtoff=-28800
but when I specify time zone...


output of zdump -v /etc/localtime PST8PDT | grep 2007
Code:
/etc/localtime Sun Apr 1 09:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 PST isdst=0 gmtoff=-28800 
/etc/localtime Sun Apr 1 10:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 PDT isdst=1 gmtoff=-25200 
/etc/localtime Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT isdst=1 gmtoff=-25200 
/etc/localtime Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST isdst=0 gmtoff=-28800 
PST8PDT Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST isdst=0 gmtoff=-28800 
PST8PDT Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1 gmtoff=-25200 
PST8PDT Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 PDT isdst=1 gmtoff=-25200 
PST8PDT Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 PST isdst=0 gmtoff=-28800
So what does this mean? Does it mean I'm set, or that the system will be rather confused? I followed all the steps twice over, with no apparent changes. There wasn't a /usr/lib/zoneinfo folder, but for a cautionary measure, I created it and copied the files there as well (it mentioned having to copy the files to that location on 'older systems').

Is anyone else running into this? Is this going to be okay come March 11th?
 
Old 03-09-2007, 01:48 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
It looks like the instructions you followed left out the last step (or, you overlooked it). You need to symlink the pst8dst file to /etc/localtime. That will finish it.

If, for some reason, the symlink doesn't work when you run zdump -v, then copy pst8dst to /etc/localtime.

Now that I think about it, run 'ls -l /etc/localtime'. If it's a symlink in your distro, it will point to the pst8dst file. Since it isn't working now, I suspect /etc/localtime is a copy of pst8dst.

Last edited by bigrigdriver; 03-09-2007 at 01:53 PM.
 
Old 03-09-2007, 02:17 PM   #3
ille.pugil42
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
Thanks! That was a quick fix, and now it makes sense. When using 'zdump -v /etc/localtime PST8PDT' I didn't realize it, but it was reading /etc/localtime *and* the file PST8PDT... it wasn't just a command option. Had I looked a little closer, that would have made sense!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Daylight Savings Time Change TheB2B Fedora 7 03-11-2007 08:46 AM
Daylight Savings time depdiver Linux - General 4 03-13-2006 02:30 PM
Daylight savings time depdiver Red Hat 2 02-21-2006 11:00 AM
Daylight savings time Jeebizz Slackware 13 11-21-2005 09:08 PM
Daylight savings time Problem bogus__13 Linux - General 1 04-04-2005 11:09 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration