View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 46 posts ] 
Go to page 1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Feb 08, 2007 3:20 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
As the topic suggests, you only need to do this if your system is pre-R5E50 (I have an R5D1 system that needed the fix). It's all due to Congress changing the start and end times for daylight savings time (DST) as part of some energy conservation bill which is effective this year. If you're running a release of KM that older than (I think) R5E50, you might be at risk of having messed up start/stop times.

Credit for this goes to George; I'm just posting it in this section. Here is the original thread.

Test Your System
Issue this command to see when your DST will start and stop:
Code:
$ zdump -v /etc/localtime | grep 2007


Before updating my box
Code:
$ zdump -v /etc/localtime | grep 2007
/etc/localtime  Sun Apr  1 06:59:59 2007 UTC = Sun Apr  1 01:59:59 2007 EST isdst=0 gmtoff=-18000
/etc/localtime  Sun Apr  1 07:00:00 2007 UTC = Sun Apr  1 03:00:00 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 28 05:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 EDT isdst=1 gmtoff=-14400
/etc/localtime  Sun Oct 28 06:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 EST isdst=0 gmtoff=-18000


If your system displays dates that aren't March 11 for the start and Nov 4 for the end, you're out of date.

Update Your Timezone Data
You can update by doing this:
Code:
$ wget http://debian.oregonstate.edu/debian/pool/main/t/tzdata/tzdata_2007b-1_all.deb
# dpkg --install tzdata_2007b-1_all.deb

Which should return something similar to this:
Code:
Selecting previously deselected package tzdata.
(Reading database ... 61550 files and directories currently installed.)
Unpacking tzdata (from tzdata_2007b-1_all.deb) ...
Replacing files in old package libc6 ...
Setting up tzdata (2007b-1) ...
Current default timezone: 'US/Eastern'.
Local time is now:      Thu Feb  8 16:13:09 EST 2007.
Universal Time is now:  Thu Feb  8 21:13:09 UTC 2007.
Run 'tzconfig' if you wish to change it.


Test Your System Again
After the update, issue the zdump like you did before to see when your DST will start and stop:
Code:
$ zdump -v /etc/localtime | grep 2007
/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

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Wed Feb 21, 2007 4:19 am, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 15, 2007 8:07 pm 
Offline
Joined: Tue Aug 16, 2005 9:17 pm
Posts: 1
Thank you! This saved me hours of both trying to figure out if R5D1 was already up to date as well as how to patch it.

It would be kinda cool if this was a prominent post around here as this likely affects quite a few people.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 16, 2007 7:24 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Dunno what the breakdown is on users and versions of KM... I suspect most are up-to-date and this issue is non-existent on the current release.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 16, 2007 9:34 pm 
Offline
Joined: Sun Mar 19, 2006 5:53 pm
Posts: 41
This info saved me from wasting a Friday night! 8)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 1:15 am 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
Thanks! I'm now updated.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 11:30 am 
Offline
Joined: Sat Dec 24, 2005 11:33 am
Posts: 400
Location: Kitsap Peninsula, Wa., United States
Thanks for the very straightforward steps.

I had found how to do it, but hadn't taken the time to decipher exactly what I needed.

This worked!

Good Job!

_________________
KnoppMyth R5.5
MBE: AMD64 3400+, K8N Neo4 Plat., 1Gig, Asus Extreme N6200, 320G pata, 2x320Gsata, 750Gsata, PVR-150 Retail w/Blaster
SBE: AMD XP2000, GA 7ZMMH, 1 Gig, XFX 256M 6200, 20 Gig, PVR-150 Retail w/Blaster
SBE: AMD Dur1800, 512M, PVR500


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 1:41 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Glad you both found it useful. Credit for this really goes to George. I just wrote it up as a formal howto.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 2:19 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
Thanks, worked perfectly .... R5A16 here

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 17, 2007 6:54 pm 
Offline
Joined: Thu Jul 06, 2006 1:10 pm
Posts: 40
It's only appropriate that since 'George' caused the problem, that now 'George' fixes it :wink: .

Thanks, graysky, for the nice and simple writeup.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 3:14 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Glad to contribute as always :)

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 3:16 pm 
Offline
Joined: Wed Jan 11, 2006 6:52 pm
Posts: 3
Location: Michigan
Thanks for the great instructions but it looks like the tzdata_2007a-3_all.deb file is no longer up on the site. Tried the tzdata_2007b-1_all.deb instead and it seemed to work just fine.

_________________
KnoppMyth R5C7
ASUS P4P800-E Deluxe w/ on board sound
Intel P4 3.0E Prescott 800MHz w/ 1024 Cache
1 GB DDR 400 (PC 3200)
Geforce FX5200 128MB 64-bit DDR AGP
Maxtor 250 GB Hard Drive
DVD/CDRom
pcHDTV? HD-3000


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 21, 2007 4:20 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Thanks for the info -- I updated the guide accordingly.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: thank you
PostPosted: Sun Mar 04, 2007 12:05 pm 
Offline
Joined: Wed Mar 23, 2005 5:42 pm
Posts: 5
Location: Chicagoland
nice to know i'm now DST updated a week before it goes into effect. :)
thanks for the howto.
now i really need to look into upgrading to the latest R5 release...


Top
 Profile  
 
 Post subject: wh00t!
PostPosted: Mon Mar 05, 2007 9:09 pm 
Offline
Joined: Sun Mar 06, 2005 9:55 am
Posts: 34
graysky and George,
Thanks a ton for this quick and easy update to the DST mess. I'm just not ready to upgrade to R5E50 yet :P


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 12:14 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1995
Location: /dev/null
Glad it helped you!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ] 
Go to page 1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu