Operating System - Linux
1826379 Members
4308 Online
109692 Solutions
New Discussion

US DST changed rules for linux

 
SOLVED
Go to solution
Antonio Cardoso_1
Trusted Contributor

US DST changed rules for linux

I'm looking for the way to check if my RHES4 Linux update 3 (DL580/ML350) has correct rules for US DST saving times:
- tzdata rpm installed on my system is
tzdata-2006a-1.EL4
- tzdata rpm mentioned in red hat advisory RHEA-2005:656-6 for this issue is tzdata-2005m-1.EL4, so it seems up-to-date on my system.

thanks.
antonio.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: US DST changed rules for linux

Shalom,

rpm -qa | grep tzdata

Make sure the right version is installed.

rpm -ql

To see what files it owns.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vitaly Karasik_1
Honored Contributor
Solution

Re: US DST changed rules for linux

zdump -v your-zone-file

will show you timezone details.
Antonio Cardoso_1
Trusted Contributor

Re: US DST changed rules for linux

it is OK,
zdump shows
America/Chicago Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600
America/Chicago Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
America/Chicago Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
America/Chicago Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 CST isdst=0 gmtoff=-21600

which matches the expected rules.

thanks again.