Bug#391892: exim4-base: combination of logrotate file and cron.d file result in spurious warning mails

Marc Haber mh+debian-packages at zugschlus.de
Mon Oct 9 10:41:15 UTC 2006


On Mon, Oct 09, 2006 at 10:56:40AM +0100, Stephen Gran wrote:
> /etc/logrotate.d/exim4-base contains a size parameter, preventing
> it from rotating until the paniclog grows to this size.
> /etc/cron.daily/exim4-base checks the paniclog every day, and by
> default, sends an email if paniclog is a non-zero size.  This
> combination results in sending an email every day about the same single
> issue.  I have finally commented out the check panic log option in the
> cron.daily script, although I consider this suboptimal - I would prefer
> that it was just logrotated daily.  I can of course make all the
> modifications myself, but it seems to me this is a poor default
> arrangement.  Can the logrotate script go back to daily for the
> paniclog?

The idea is that the paniclog is rotated manually after the reason for
the panicloc entry has been resolved. The paniclog logrotate.d entry
is only geared to prevent the disk from filling up.

Does this make sense to you?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-exim4-maintainers mailing list