Your message dated Sun, 14 Jul 2013 14:46:24 +0200
with message-id <[email protected]>
and subject line Re: [Packaging] Bug#714138: munin: rotates log files while
they are still being written to
has caused the Debian Bug report #714138,
regarding munin: rotates log files while they are still being written to
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
714138: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714138
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: munin
Version: 2.0.6-4
Severity: normal
Tags: patch
Hello,
I noticed I was getting occasional "gzip: stdin: file size changed while
zipping" errors from logrotate. This is because /etc/logrotate.d/munin
starts compressing munin-*.log before munin has finished writing to it.
Attached is a patch (against wheezy's version).
-- System Information:
Debian Release: 7.0
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages munin depends on:
ii adduser 3.113+nmu3
ii cron 3.0pl1-124
ii libcgi-fast-perl 5.14.2-21
ii libdate-manip-perl 6.32-1
pn libdigest-md5-perl <none>
ii libfile-copy-recursive-perl 0.38-1
ii libhtml-template-perl 2.91-1
ii libio-socket-inet6-perl 2.69-2
ii liblog-log4perl-perl 1.29-1
ii librrds-perl 1.4.7-2
pn libstorable-perl <none>
ii liburi-perl 1.60-1
ii munin-common 2.0.6-4
ii perl [libtime-hires-perl] 5.14.2-21
ii perl-modules 5.14.2-21
ii rrdtool 1.4.7-2
ii ttf-dejavu 2.33-3
Versions of packages munin recommends:
pn munin-doc <none>
ii munin-node 2.0.6-4
Versions of packages munin suggests:
ii libnet-ssleay-perl 1.48-1+b1
ii lighttpd [httpd] 1.4.31-4
ii lynx-cur [www-browser] 2.8.8dev.12-2
ii nginx-light [httpd] 1.2.1-2.2
-- Configuration Files:
/etc/cron.d/munin changed:
MAILTO=root
*/5 * * * * munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron;
fi
14 10 * * * munin if [ -x /usr/share/munin/munin-limits ]; then
/usr/share/munin/munin-limits --contact nagios --contact old-nagios; fi
-MD
--
-------------------------------------------------------------------------------
Michael Deegan Hugaholic http://www.deegan.id.au/
------------------------- Jung, zr jbeel? -----------------------------------
--- munin.logrotate.orig 2013-01-04 23:05:33.000000000 +0800
+++ munin.logrotate 2013-05-20 16:21:35.553858306 +0800
@@ -3,6 +3,7 @@
missingok
rotate 7
compress
+ delaycompress
notifempty
create 640 munin adm
}
@@ -12,6 +13,7 @@
missingok
rotate 7
compress
+ delaycompress
notifempty
create 640 munin adm
}
@@ -21,6 +23,7 @@
missingok
rotate 7
compress
+ delaycompress
notifempty
create 640 munin adm
}
@@ -30,6 +33,7 @@
missingok
rotate 7
compress
+ delaycompress
notifempty
create 640 munin adm
}
--- End Message ---
--- Begin Message ---
Control: merge 705515 -1
Michael Deegan <[email protected]> writes:
> I noticed I was getting occasional "gzip: stdin: file size changed while
> zipping" errors from logrotate. This is because /etc/logrotate.d/munin
> starts compressing munin-*.log before munin has finished writing to it.
>
> Attached is a patch (against wheezy's version).
Hello,
Thanks for reporting a bug.
This has already been reported in bug #705515, and is fixed in munin
version 2.0.13-1. This bug will be closed, and merged with the other.
--
Stig Sandbeck Mathisen
--- End Message ---