Bug#960489: mosquitto: Logrotate still reporting gzip errors

2022-05-21 Thread Ian Campbell
On Sat, 2022-05-21 at 13:56 +0200, Maximilian Stein wrote:
> I can still observe these error messages in version 2.0.11-1. They are
> AFAIK caused by a missing `delaycompress` stanza in
> `/etc/logrotate.d/mosquitto`. Without `delaycompress` logrotate always
> tries to compress files immediately while there still opened by
> mosquitto. Adding `delaycompress` delays the compression to the second
> rotation, effectively preventing gzip errors.

I'd forgotten all about this bug but I can confirm that I've not seen
this issue since my message at #10 above where I added `delaycompress`.

Cheers,
Ian.



Bug#960489: mosquitto: Logrotate still reporting gzip errors

2022-05-21 Thread Maximilian Stein
Package: mosquitto
Version: 2.0.11-1
Followup-For: Bug #960489

Dear Maintainer,

I can still observe these error messages in version 2.0.11-1. They are
AFAIK caused by a missing `delaycompress` stanza in
`/etc/logrotate.d/mosquitto`. Without `delaycompress` logrotate always
tries to compress files immediately while there still opened by
mosquitto. Adding `delaycompress` delays the compression to the second
rotation, effectively preventing gzip errors.

Best,
Maximilian