From: Glynn Clements Subject: Re: syslog time problem Date: Fri, 23 Mar 2007 04:49:26 +0000 Message-ID: <17923.23638.426613.14797@cerise.gclements.plus.com> References: <20070322122955.893b09ef.jim@nga.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070322122955.893b09ef.jim@nga.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: James Roy Cc: linux-admin James Roy wrote: > Where does syslog get it's idea of time? It depends upon exactly which syslogd you are using, but they normally just use libc functions (e.g. ctime). > After manually updating /etc/localtime to account for > the recent DST change, the other daemons get the message after > a restart and figure time correctly. But the -- MARK -- entries > from syslogd are still wrong, in spite of it being restarted > regularly from cron. This behaviour is consistant across several > old 2.2.xx machines. What am I missing here?? Have you checked that syslogd is actually getting restarted? It should generate a log entry upon restart. Note that you actually have to kill the old process and start a new one; sending it SIGHUP won't work. -- Glynn Clements