Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 1997 05:00:02 -0700 (PDT)
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-bugs
Subject:   Re: conf/4751: sendmail writing to old maillogs after rotation
Message-ID:  <199710181200.FAA14178@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/4751; it has been noted by GNATS.

From: j@uriah.heep.sax.de (J Wunsch)
To: jbrogan@reply.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: conf/4751: sendmail writing to old maillogs after rotation
Date: Sat, 18 Oct 1997 13:33:12 +0200

 As jbrogan@reply.net wrote:
 
 > Just like it has always done.  But now sendmail will start writing
 > to maillog.0 instead of maillog where it's supposed to.  In fact,
 > I've even found times when it's writing to maillog.2 or even
 > maillog.3.  And when I actually *rename* a maillog it is writing
 > to.... it will write to that renamed version!  Real neat, but not
 > good.
 
 This means the file has been held open still by the writing process.
 Normally, sendmail is supposed to log via the syslog facility, and
 syslogd is supposed to get sent a SIGHUP after newsyslog ran, so in
 order to reopen the logfiles.
 
 Either your sendmail setup is screwed, or newsyslog fails somehow to
 notifiy syslogd.  Check who's holding the file open by saying:
 
 	fstat /var/log/maillog
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710181200.FAA14178>