[nflug] Daylight saving time

DANIEL MAGNUSZEWSKI dmagnuszewski at mandtbank.com
Sat Mar 3 11:15:29 EST 2007


I'm not sure I'm understanding you correctly, but if you need to rebuild
the /etc/localtime file from scratch (I did this for my old Red Hat
versions that don't have any new rpms available), you can do it the
following way:

* Download the new timezone rules file (preferable to /tmp/):
http://andrew.triumf.ca/northamerica.rules.txt 
* Run the command: zic /tmp/northamerica.rules.txt
* Run the command: cp /usr/share/zoneinfo/America/New_York
/etc/localtime
* Run the command: zdump -v /etc/localtime | grep EDT | grep 2007
   (You should see the following output)

   /etc/localtime  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00
2007 EDT isdst=1 gmtoff=-14400
   /etc/localtime  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59
2007 EDT isdst=1 gmtoff=-14400

* Restart the server.

-Dan

>>> kitchetech at gmail.com 03/02/07 11:43 PM >>>
yes I know but I don't use any of those programs and I built my system
up
from scratch. so I need to rebuild the whole thing to have it working
right.
and I see now that ntpd just looks at your locla zoneinfo file to see
if
it's dst or not

On 2/21/07, David J. Andruczyk <djandruczyk at yahoo.com> wrote:
>
> ntpdate will NOT fix the issue with APPLICATIONS that use the C
> library and zoneinfo  (i.e. everything) to determine time...
>
> --- matt donovan <kitchetech at gmail.com> wrote:
>
> > well I have to rebuild my whole system but they say that ntpdate
> > will fix it
> >
> > On 2/21/07, Robert Meyer <meyer_rm at yahoo.com> wrote:
> > >
> > >  This is not true.  Linux/Unix thinks in GMT (UTC for time
> > buffs).  When
> > > dates are reported, the library call uses the timezone
> > information from the
> > > system to convert it to localtime on the fly.  If your system's
> > library
> > > routines (in Unix/linux the timezone files) aren't correct for
> > the timezone
> > > change differences, you will have a system that reports the
> > time incorrectly
> > > after the DST change.  So for three weeks, your clock will be
> > off.  If you
> > > force the clock to show the correct value, then the system's
> > concept of GMT
> > > will be off by an hour.  ntpdate will do everything in GMT on a
> > Linux/Unix
> > > box.  It will try to set the system's clock to the proper GMT
> > which means
> > > that localtime routines will be off.
> > >
> > > Lots of apps use local time to do things, such as cron or any
> > calendering
> > > app.  Failure to fix the timezone data will cause those apps to
> > be wrong.
> > >
> > > I know this 'cuz I just had to patch a whole pile of machines
> > at work,
> > > lest our apps start doing stupid things.
> > >
> > > Cheers!
> > >
> > > Bob
> > >
> > > ----- Original Message ----
> > > From: matt donovan <kitchetech at gmail.com>
> > > To: nflug at nflug.org 
> > > Sent: Wednesday, February 21, 2007 12:55:54 PM
> > > Subject: Re: [nflug] Daylight saviings time
> > >
> > > if you use another distro just use ntpdate and you should be
> > fine that's
> > > how I m doing it.
> > >
> > > On 2/15/07, Mark T. Valites < mark-nflug at valites.net> wrote:
> > > >
> > > > On Thu, 15 Feb 2007, anthonyriga wrote:
> > > >
> > > > > With the new DST enacted this year will that have any
> > affect on Linux
> > > > to
> > > > > know the changes?
> > > > >
> > > > > Sent Using Ubuntu Linux Operating System Edgy 6.10
> > > >
> > > > Your Ubuntu 'tzdata' package already has the updated timezone
> > info.
> > > >
> > > > For Redhat, this was taken care of with the following tzdata
> > updates:
> > > >
> > > > tzdata-2005m-1.EL3
> > (http://rhn.redhat.com/errata/RHEA-2005-655.html)
> > > > tzdata-2005m-1.EL4
> > (http://rhn.redhat.com/errata/RHEA-2005-656.html )
> > > >
> > > > which were issued shortly after the Energy Policy Act of 2005
> > that
> > > > included these changes was passed.
> > > >
> > > > For Sun:
> > > >
> > > >
> > http://sunsolve.sun.com/search/document.do?assetkey=1-26-102178-1 
> > > >
> > > > I don't have the URL for Debian/Ubuntu offhand though.
> > > > _______________________________________________
> > > > nflug mailing list
> > > > nflug at nflug.org 
> > > > http://www.nflug.org/mailman/listinfo/nflug 
> > > >
> > >
> > > _______________________________________________
> > > nflug mailing list
> > > nflug at nflug.org 
> > > http://www.nflug.org/mailman/listinfo/nflug 
> > >
> > >
> > >
> > > ------------------------------
> > > 8:00? 8:25? 8:40? Find a flick in no time
> > > with theYahoo! Search movie showtime shortcut.
> > >
> > > _______________________________________________
> > > nflug mailing list
> > > nflug at nflug.org 
> > > http://www.nflug.org/mailman/listinfo/nflug 
> > >
> > >
> > > _______________________________________________
> > nflug mailing list
> > nflug at nflug.org 
> > http://www.nflug.org/mailman/listinfo/nflug 
> >
>
>
> -- David J. Andruczyk
>
>
>
>
>
____________________________________________________________________________________
> Now that's room service!  Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel to find your fit.
> http://farechase.yahoo.com/promo-generic-14795097 
> _______________________________________________
> nflug mailing list
> nflug at nflug.org 
> http://www.nflug.org/mailman/listinfo/nflug 
>

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list