Author |
Topic: Ponderings about daylight savings changes (Read 9780 times) |
|
Nathan Mundhenk
YaBB Full Member
  
 HA!


Gender: 
Posts: 140
|
 |
Ponderings about daylight savings changes
« on: 02/27/07 at 20:43:51 » |
Quote Modify
|
Apparently due to some bill passed in 2005, the dates for daylight savings time have been changed. I know that all windows machines have to be patched. Does anyone know if the Linux machines are affected? Some of our servers I know are running MDK 2005. This might just be a silly Microsoft issue and how they deal with DST. Any ideas?
|
|
Logged |
T. Nathan Mundhenk http://www.nerd-cam.com http://www.cool-ai.com
|
|
|
Rob Peters
YaBB Senior Member
   

Gender: 
Posts: 398
|
 |
Re: Ponderings about daylight savings changes
« Reply #1 on: 02/27/07 at 22:49:06 » |
Quote Modify
|
The linux systems will need a glibc upgrade which should be easy to retrieve through the distro's native package management system. I found this page: http://www-1.ibm.com/support/docview.wss?rs=0&q1=T1010301&uid=is g3T1010301&loc=en_US&cs=utf-8&cc=us&lang=en which suggests the following to test whether a system is properly updated or not: Quote:Confirmation of Linux fix You may test for the presence of the fix by examining the DST settings on the live system. You will run the command: # zdump -v CST6CDT | grep 2007 On a system without the adjustments you will see: CST6CDT Sun Apr 1 07:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 CST isdst=0 mtoff=-21600 CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CST isdst=0 mtoff=-18000 CST6CDT Sun Oct 28 06:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 CST isdst=0 gmtoff=-18000 CST6CDT Sun Oct 28 07:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 CST isdst=0 gmtoff=-21600 On a system with the adjustments you will see: CST6CDT Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600 CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CST isdst=0 gmtoff=-18600 CST6CDT Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 CST isdst=0 gmtoff=-18600 CST6CDT Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 CST isdst=0 gmtoff=-21600 Notice that the April and October dates were changed to March and November. |
| I ran this script to quickly test all the machines that I could find online: Code:for m in ilab1 ilab6 ilab9 ilab12 ilab13 ilab15 ilab16 iraid ibeo imaster n01 n02 n03 n04 n05 n07 n08; do info=`ssh $m "zdump -v CST6CDT | fgrep '00 2007 CDT isdst=1'"` printf "%-7s:%s\n" "$m" "$info" done |
| and got these results: ilab1 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ilab6 :CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ilab9 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ilab12 :CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ilab13 :CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ilab15 :CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ilab16 :CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 iraid :CST6CDT Sun Apr 1 08:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 CDT isdst=1 gmtoff=-18000 ibeo :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 imaster:CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n01 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n02 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n03 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n04 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n05 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n07 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 n08 :CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000 So it looks like ilab6, ilab12, ilab13, ilab15, ilab16, and iraid all still need updated timezone data. Cheers, Rob
|
|
Logged |
|
|
|
Laurent Itti
YaBB Moderator YaBB God
    

iLab rocks!
Gender: 
Posts: 550
|
 |
Re: Ponderings about daylight savings changes
« Reply #2 on: 02/27/07 at 23:10:31 » |
Quote Modify
|
great, thanks guys! I believe iLab will need an update as well. Basically all machines which are running anything older than Mandriva 2007. Great chance to upgrade the OS on these machines. best, -- laurent
|
|
Logged |
|
|
|
|