[PLUG] DST warning

Ali Corbin ali.corbin at gmail.com
Wed Mar 28 16:37:23 UTC 2007


On 3/12/07, Terry Griffin <griffint at pobox.com> wrote:
> Hi all,
>
> I just discovered that crond on my (no longer supported) FC3 system is still
> on standard time. Everything else seems to be on daylight time. I don't have
> time to track it down at the moment but I thought I should warn you.
>
> Terry

We're coming a bit late to the party.  But one of my coworkers just discovered
something similar happening on an RH80 box.  Being rather anal, er, uh,
focused, he did some investigation.  I'm inserting his report below.

===========================================
Here's a "heads up" for tech support.  There's nothing to do to
"fix" this except reboot machines.

I'll bet Congress never thought of this one:

The ctime() function reads time zone information once and stores it
in static variables.  So, if you start a program, the program calls
ctime(), then you change the zoneinfo files, say by loading a patch,
then the program calls ctime() again, the second call to
ctime() will use the same zoneinfo that it used the first time.
============================================

Again, this was on an archaic distro.  ctime() may have been fixed
to re-check tz info in the meantime.

Ali



More information about the PLUG mailing list