Bug#796524: Exim4 has stale filehandle after logrotate
Marc Haber
mh+debian-packages at zugschlus.de
Sat Aug 22 11:17:50 UTC 2015
On Sat, Aug 22, 2015 at 12:58:43PM +0200, Andreas Pflug wrote:
> After 2 executions of logrotate, lsof shows a mainlog.1 as deleted file.
> Apparently, exim4 keeps a logfile open although it will never write to
> it again.
> This appears as an exim4 bug to me, since exim4 is supposed to close all
> its logfiles after writing, but in the meantime this can easily be fixed
> by a postrotate script using
>
> postrotate
> invoke-rc.d exim4 reload > /dev/null
> endscript
Please check chapter 51.2 of /usr/share/doc/exim4-base/spec.txt.gz and
state that exim does not behave as specified after checking. Will
report the issue upstream then, and only then.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
More information about the Pkg-exim4-maintainers
mailing list