Perhaps a Perl problem (Re: Syslog timezone issue)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Jan 11, 2008 11:51 AM, Bart Schaefer <barton.schaefer@xxxxxxxxx> 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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux