Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530310 - net-analyzer/munin should add 'delaycompress' to logrotate config file
Summary: net-analyzer/munin should add 'delaycompress' to logrotate config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sysadmin Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-24 10:07 UTC by Florian Schmaus
Modified: 2021-06-16 19:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2014-11-24 10:07:21 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2021-06-16 19:10:15 UTC
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(+)