Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 16:58:37 -0700 (PDT)
From:      Nadav Eiron <nadav@TheEirons.org>
To:        "Crist J. Clark" <cjc@FreeBSD.ORG>
Cc:        Aragon Gouveia <aragon@phat.za.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: out of place syslog entries
Message-ID:  <Pine.BSF.4.21_heb2.09.0206061655510.48657-100000@piglet.theeirons.org>
In-Reply-To: <20020606155357.I93321@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Is your application running chroot-ed by any chance? If yes, make sure
that /etc/localtime under the chroot tree is the same as in the global
/etc directory. If it doesn't exist, the program in the sandbox will think
it's running with a UTC clock.

Nadav

On Thu, 6 Jun 2002, Crist J. Clark wrote:

> On Thu, Jun 06, 2002 at 11:33:33PM +0200, Aragon Gouveia wrote:
> > Yes, I'm +0200. When you say issue, do you mean bug or misconfiguration?
> 
> It's probably not a bug, but it might not be a misconfiguration
> either. The timestamp in a syslog entry, depending on how it was
> delivered, can be provided by the sending application. If your
> application is sending UTC timestamps or a remote machine sending
> syslog messages since the whole box is running on UTC, you'll see UTC
> in your logs regardless of the timezone syslogd(8) is running in.
> 
> > ----- Original Message -----
> > From: "Crist J. Clark" <crist.clark@attbi.com>
> > To: "Aragon Gouveia" <aragon@phat.za.net>
> > Cc: <freebsd-stable@FreeBSD.org>
> > Sent: Thursday, June 06, 2002 11:28 PM
> > Subject: Re:out of place syslog entries
> >
> >
> > > On Wed, Jun 05, 2002 at 12:48:05AM +0200, Aragon Gouveia wrote:
> > > > Hi,
> > > >
> > > [snip]
> > > > Jun5 00:23:00 <mail.info> root postfix/smtp[57515]
> > > > Jun4 22:25:25 <mail.info> root postfix/smtpd[57772]
> > > [snip]
> > > > Jun4 22:30:29 <mail.info> root postfix/smtpd[58118]
> > > > Jun5 00:42:03 <mail.info> root postfix/smtpd[58916]
> > > [snip]
> > >
> > > > I've removed the actual message to protect the innocent. What I'm
> > getting at
> > > > is the log entry for 2 hours in the past being added in the middle of
> > the
> > > > present. Is this a bug or a feature?
> > >
> > > Your timezone is +0200, correct? It is almost certainly a timezone
> > > issue.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21_heb2.09.0206061655510.48657-100000>