RE: [WBEL-users] Re: new DST on WBL 3.0...

"Purcocks, Graham" <[email protected]> Mon, 12 Mar 2007 07:04:04 -0400
Newsgroups gmane.linux.whitebox.user
Message-ID <[email protected]>
Localtime doesn't get updated unless you also applied all the glibc
patches too. Normally this is just copied when you build the system for
the first time. 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert Heller
Sent: 11 March 2007 20:06
To: Cris Rhea
Cc: [email protected]
Subject: Re: [WBEL-users] Re: new DST on WBL 3.0...

At Sun, 11 Mar 2007 12:23:06 -0500 Cris Rhea <[email protected]> wrote:

> 
> > Subject: [WBEL-users] new DST on WBL 3.0...
> > To: [email protected]
> > Message-ID: <[email protected]>
> > 
> > What do I need to upgrade *besides* tzdata on a WBL 3.0 system to
get it
> > to recognize the new DST start date?
> > 
> > I have an (old) laptop that is running WBL 3.0 -- it is an old P133
system
> > and the sound card does not work with the RHEL 2.6 kernels and I use
> > this machine as a kind of iPod much of the time.
> > 
> > I have upgraded tzdata (to tzdata-2006m-3.el3), but the machine
still
> > believe that it should be on EST and not EDT.
> > 
> > What else do I *need* to upgrade?  I cannot run yum update -- it
hang
> > trying to get the header info files (I don't have a good, fast,
reliable
> > network connection).  I know that the glibc files are somewhat
outdated,
> > but I am not sure what else is outdated (or if that matters in terms
of
> > the time zone setup).
> > 
> > -- 
> > Robert Heller             -- 978-544-6933
> > Deepwoods Software        -- Linux Installation and Administration
> > http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
> > [email protected]       -- Contract Programming: C/C++, Tcl/Tk
> 
> There's a glibc component (you should be fine running WBEL3) and the
time zone files...
> The stuff under /usr/share/zoneinfo is the TZ info for everywhere, BUT
/etc/localtime is
> the TZ file for YOUR SYSTEM.

/etc/localtime was the clue.  I just did a 

sudo cp /usr/share/zoneinfo/US/Eastern /etc/localtime

And now it is showing the correct local time (EDT).

I guess the install of tzdata-2006m-3.el3 didn't update /etc/localtime
for some reason...

> 
> Pull /etc/localtime from another (working) system and see what it does
for you...
> 
> The test of a fixed /etc/localtime is: 
> 
> [crhea@kaizen ~]$ /usr/sbin/zdump -v /etc/localtime | grep 2007
> /etc/localtime  Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59
2007 CST isdst=0 gmtoff=-21600
> /etc/localtime  Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00
2007 CDT isdst=1 gmtoff=-18000
> /etc/localtime  Sun Nov  4 06:59:59 2007 UTC = Sun Nov  4 01:59:59
2007 CDT isdst=1 gmtoff=-18000
> /etc/localtime  Sun Nov  4 07:00:00 2007 UTC = Sun Nov  4 01:00:00
2007 CST isdst=0 gmtoff=-21600
> 
> (I'm in CST/CDT, but the key is the dates).
> 
> --- Cris
> 
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
[email protected]       -- Contract Programming: C/C++, Tcl/Tk
         
_______________________________________________
Whitebox-users mailing list
[email protected]
http://beau.org/mailman/listinfo/whitebox-users