DST patch for RedHat Linux

Sites, Brad BSites at mem-ins.com
Tue Mar 6 17:54:03 UTC 2007


Thanks for the reply.  Found my problem.  Typo in my zdump query.
Should be CST6CDT, not CST6DST.

So, compiling and running timeconfig seems to do it without doing the
copy.

Thanks.
Brad

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Jay Berryman
Sent: Tuesday, March 06, 2007 11:48 AM
To: General Red Hat Linux discussion list
Subject: RE: DST patch for RedHat Linux

You need to overwrite your old /etc/localtime file by performing the
following command:  This is a Central Time example.  cp
/usr/share/zoneinfo/America/Chicago /etc/localtime

Then run your zdump and it should report back the proper info.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]
On Behalf Of Sites, Brad
Sent: Tuesday, March 06, 2007 11:43 AM
To: General Red Hat Linux discussion list
Subject: RE: DST patch for RedHat Linux

This doesn't appear to work for me.  I have downloaded the file
tzdata2007c.tar.gz, decompressed it.  Ran "zic northamerica", then ran
timeconfig to make sure I was set to the correct time zone.  But,
running "zdump -v CST6DST |grep 2007" gives me this:

> zdump -v CST6DST |grep 2007
CST6DST  Sun Apr  1 05:59:59 2007 UTC = Sat Mar 31 23:59:59 2007 CST
isdst=0 gmtoff=-21600
CST6DST  Sun Apr  1 06:00:00 2007 UTC = Sun Apr  1 01:00:00 2007 DST
isdst=1 gmtoff=-18000
CST6DST  Sun Oct 28 04:59:59 2007 UTC = Sat Oct 27 23:59:59 2007 DST
isdst=1 gmtoff=-18000
CST6DST  Sun Oct 28 05:00:00 2007 UTC = Sat Oct 27 23:00:00 2007 CST
isdst=0 gmtoff=-21600

The CST6DST file under /usr/share/zoneinfo has a date of today, so I'm
assuming that was updated, but not sure how to get it to update
/etc/localtime.


-Brad


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Young, Mike
Sent: Tuesday, March 06, 2007 11:20 AM
To: General Red Hat Linux discussion list
Subject: RE: DST patch for RedHat Linux

I decompressed the file and ran:

"zic northamerica"

The new timezone files were automagically put under /usr/share/zoneinfo,
and I was able to run "timeconfig" to update /etc/localtime.  Side-note:
if you're running 64-bit RHEL, you will probably need to update the
glibc RPM's as well... If you "zdump -v /etc/localtime" and get a
segmentation fault, you'll need them.

Mike.

 -----Original Message-----
From: 	redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]  On Behalf Of m.roth2006 at rcn.com
Sent:	Tuesday, March 06, 2007 11:07 AM
To:	General Red Hat Linux discussion list
Subject:	RE: DST patch for RedHat Linux

>Date: Tue, 6 Mar 2007 08:13:20 -0600
>From: "Young, Mike" <Mike.Young at atosorigin.com>  
>Subject: RE: DST patch for RedHat Linux  
>
>I got this response from inode0 a while back:
>
>Q: (Redhat Mailing List) Does anyone know how to make a custom
/etc/localtime file on Red Hat in preparation for the upcoming DST
changes (March 11)? I have some older Red Hat builds (circa 7.x), and I
cannot find any glibc patches with the newer time zone information. On
other *nix flavors they are flat files, and can be edited with vi, but
with Red Hat they are binary.
>
>A: (inode0) Get the current zone files from
ftp://elsie.nci.nih.gov/pub.. Use zic to compile them, cp or link the
appropriate one to /etc/localtime, and perhaps run timeconfig or
whatever is available on your system.

Well, we're on RHEL 3 & 4, but I assume what's at NIH will work. Not
having done this before, do I just dump the code and the data into a
directory, and run zic on it, or...? The zic man page isn't real clear
on this.

   mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list