[olug] Linux DST
Jon Larsen
relayer at levania.org
Mon Mar 12 23:10:25 UTC 2007
I can confirm this to work on Red Hat 6.2 (including an old Cobalt Qube3
using RH6). I used a similar set of instructions on a couple old boxes
I admin. Should work on RH 7-9, FC 1-4 (fedoralegacy used to support
those distros until it shutdown).
It will not work on Red Hat 4.2 systems (yep, I work on one RH4 non-EL
legacy system)
Thanks Brian for the tip!
Brian Roberson wrote:
> I am sure someone sent this out to the list already - but I thought I would be nice and pass it
> on again.
>
> For those of you who have not already dealt with the DST change for this year, Here is a quick
> "get it fixed" script. You may need to change a path or two, but works for sure on all flavors
> of Suse and CENT-OS
>
>
> All my stuff is in CST - just sub in EDT/PST/MST where needed
>
>
> ################################################################################
>
> mkdir -p /tmp/tz && cd /tmp/tz
> wget ftp://elsie.nci.nih.gov/pub/tzdata*.tar.gz
> tar xvzf tzdata*.tar.gz
> zic -d /tmp/tz northamerica
> cp -f CST6CDT /usr/share/zoneinfo
> cp -f America/Chicago /usr/share/zoneinfo/America
> rm -f /etc/localtime
> cp -f CST6CDT /etc/localtime
> zdump -v /etc/localtime | grep 2007
>
>
> #########################################################################
>
> That last line will show you the DST changes for 2007
>
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
--
Jon H. Larsen - relayer \at\ levania \dot\ org
Omaha Linux Users Group - http://www.olug.org/
AnimeSunday.org - http://www.animesunday.org/
ICQ#: 10412618 - http://www.levania.org/~relayer/
GPG/PGP Pubkey - http://www.levania.org/~relayer/relayerpubkey.txt
More information about the OLUG
mailing list