If munin is active, i.e. produces log output, while logrotate is also running, the logrotate job could fail with an error message gzip: stdin: file size changed while zipping This can be prevented by using logrotate's 'delaycompress' option added to /etc/logrotate.d/munin See also: - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705515 - https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1381939 Reproducible: Always Actual Results: Logrotate fails with an error message causing cron to send an e-mail. Expected Results: Logrotate should not fail.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c838287b737b39c9428b35b70ae841fda891ba6a commit c838287b737b39c9428b35b70ae841fda891ba6a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-16 19:06:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-16 19:10:02 +0000 net-analyzer/munin: add 'delaycompress' to logrotate files Closes: https://bugs.gentoo.org/530310 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/munin/files/logrotate.d-munin.3 | 3 +++ net-analyzer/munin/{munin-2.0.66.ebuild => munin-2.0.66-r1.ebuild} | 0 net-analyzer/munin/{munin-2.0.67-r1.ebuild => munin-2.0.67-r2.ebuild} | 0 3 files changed, 3 insertions(+)