[CentOS] Perhaps a Perl problem (Re: Syslog timezone issue)

Bart Schaefer

barton.schaefer at gmail.com
Fri Jan 11 20:41:50 UTC 2008


On Jan 11, 2008 11:51 AM, Bart Schaefer <barton.schaefer at gmail.com> wrote:
> It appears that any given process is consistent about which timezone
> it uses, but there's no obvious reason why any particular process gets
> the local zone vs. UTC.  For example, we have a couple of long-running
> daemons that fork children to handle network requests, and  although
> the parent daemon consistently logs in one timezone, its forks (which
> do not even do an exec, so they should be identical to the parent)
> randomly switch to the other timezone.

It just occurred to me that these particular daemons are perl programs
using Sys::Syslog, so maybe the problem is there.

The forked children continue using the same Sys::Sylog object created
by the parent, though, so that still leaves me wondering about the
inconsistent timezone after the fork.



More information about the CentOS mailing list