Bug#932328: logrotate.timer "breaks" activity report of /etc/cron.daily/exim4-base

Sven Hartge sven at svenhartge.de
Wed Jul 17 19:46:03 BST 2019


Package: exim4-base
Version: 4.92-8
Severity: minor

Hi!

After upgrading a system to Debian 10 I noticed that the daily e-mail
activity report only contained ~26 minutes from 00:00h to 00:26h, which
is the time I set cron.daily to run at.

Reason: On systems with systemd logrotate is no longer run via
cron.daily which is *after* exim4-base but by logrotate.timer, which
runs at 00:00 exactly, rotating the exim4 logs before exim4s own
cron-daily script can analyze them.

Possible solution (untested): Also create a exim4-base.timer and .service and
create a Before= dependency on logrotate.service.

Grüße,
Sven.


More information about the Pkg-exim4-maintainers mailing list