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

Sven Hartge sven at svenhartge.de
Thu Jul 25 09:53:21 BST 2019


On 19.07.19 07:29, Sven Hartge wrote:
> On 18.07.19 20:01, Sven Hartge wrote:
>> On 17.07.19 20:46, Sven Hartge wrote:
>>
>>> Possible solution (untested): Also create a exim4-base.timer and .service and
>>> create a Before= dependency on logrotate.service.
>>
>> I've whipped up a little Proof-of-Concept to test this, available also
>> at https://salsa.debian.org/hartge-guest/exim4/tree/systemd-timer
>>
>> I'm testing this right now on two of my systems to see how this behaves,
>> especially the Before=logrotate.{service,timer} ordering.
> 
> Yes, my test was successful, by ordering the exim4-base.service
> Before=logrotate.service, the latter only starts after the first has
> completed.

I've now let the tests run for the last week and I can conclude it works
perfectly on both Buster and Unstable.

Grüße,
Sven.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-exim4-maintainers/attachments/20190725/9061701b/attachment.sig>


More information about the Pkg-exim4-maintainers mailing list