From owner-freebsd-stable Thu Jun 6 16:57: 0 2002 Delivered-To: freebsd-stable@freebsd.org Received: from piglet.theeirons.org (dsl-64-195-193-89.telocity.com [64.195.193.89]) by hub.freebsd.org (Postfix) with ESMTP id 0F8D437B408; Thu, 6 Jun 2002 16:56:54 -0700 (PDT) Received: from piglet.theeirons.org (localhost.my.domain [127.0.0.1]) by piglet.theeirons.org (8.12.2/8.12.2) with ESMTP id g56NwbBL048665; Thu, 6 Jun 2002 16:58:38 -0700 (PDT) (envelope-from nadav@TheEirons.org) Received: from localhost (nadav@localhost) by piglet.theeirons.org (8.12.2/8.12.2/Submit) with ESMTP id g56NwbAW048662; Thu, 6 Jun 2002 16:58:37 -0700 (PDT) X-Authentication-Warning: piglet.theeirons.org: nadav owned process doing -bs Date: Thu, 6 Jun 2002 16:58:37 -0700 (PDT) From: Nadav Eiron To: "Crist J. Clark" Cc: Aragon Gouveia , freebsd-stable@FreeBSD.ORG Subject: Re: out of place syslog entries In-Reply-To: <20020606155357.I93321@blossom.cjclark.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" > > To: "Aragon Gouveia" > > Cc: > > 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 root postfix/smtp[57515] > > > > Jun4 22:25:25 root postfix/smtpd[57772] > > > [snip] > > > > Jun4 22:30:29 root postfix/smtpd[58118] > > > > Jun5 00:42:03 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