[Lvlug] What happened?
jab at fast.net
jab at fast.net
Sun Apr 16 06:18:12 EDT 2006
Quoting Mark <mstanley at technologist.com>:
> On Saturday 15 April 2006 03:09 pm, jab at fast.net wrote:
> > I had the UTC flip-flop time issue one time when going through some
> > hardware reboots (slack 10.0.0). Can't recall now why it was a problem,
> > nor the apparent solution. But I ***may*** have added
> > ENV_TZ TZ=EST5EDT
> > to /etc/login.defs. I remember playing with the "TZ" and presently when
> > I echo $TZ I get EST5EDT. /etc/login.defs was time stamped 2005-03-11,
> > so that may comport to the time frame I was having problems.
> If you look in the /usr/sbin/timeconfig script you can find the following:
> # setzone( $TIMEZONE )
> # This function accepts a time zone as the only parameter and sets it as
> # the default system time zone.
> So it looks like what you did was hijack the TZ environment variable after
> system startup. After Dann's tip about hwclock I found /etc/hardwareclock
> which showed that I was supposed to be using localtime and not UTC. But
> there was a note at the top of that file that says you should run timeconfig
> to edit this file so that's what I did to solve my time zone settings
> Based on the results of my last post it looks like I may be back in time sync
> with all you guys. ;-)
> > But ... are we -4 or -5 hours now?
> Uuhg, even after 20 years in the Navy chasing time zones all over the world
> the one thing that still trips me up is daylight savings time.
> > Hmmm, what was that someone was saying about a nice day ... ???
> Yeah, I thought my outside stuff was done awhile ago but I just got back from
> helping my father-in-law with a truck load of mulch. Now it's inside
Just gave /usr/sbin/timeconfig and /usr/sbin/timeconfig a bit of a
perusal ... and I give up. My 'date' is ok, at least till some future
reboot (and I think that may be ok too, I don't recall TZ problems arising
on last reboot, Feb 22).
And since noone has mentioned my posts being off ...
"ntpdate pool.ntp.org" once a month or so keeps date close enough.
says Eastern timezone = Coordinated Universal Time -4 hours;
Daylight Saving Time
Seems sensible, we jumped ahead an hour: -5 (EDT) became -4 (EST)
More information about the Lvlug