Package: munin
Version: 2.0.6-3
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

While looking for the the cause of errors from logrotate:

 Subject: Cron <root@linode> test -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.daily )
 /etc/cron.daily/logrotate:
 gzip: stdin: file size changed while zipping

I figured out this was from munin and found that part of the problem was from
#703479.  I discovered that I was missing log data between the end of
munin-graph.log.1.gz and the beginning of munin-graph.log.

The addition of delaycompress is common to avoid log data loss, at the cost of
a bit of disk space.

- -- 
Kind regards,
Michael Shuler

- -- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (900, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRbKPnAAoJEKJ4t4H+Syva5vkP/2lLEkXX6+YsLGSUYI6MlVqr
/QlhDRbcDUkdQwSQDUOpQnBibkdpHvp8mImq5uW40Rq5gyVrhK6Wi0lkK6873V0J
EL1zhJz67xY2D41O40f5wa6wy0Q3m42fNrjXoE4Eiapud1LZzblWzZG7gGsbsSOj
DIuzC+0BuwfnUCU5SlDsfLbdL7wQuR+PtgvIelnK+5w1hbwY8uXxjfGSsUSm1z55
iVYEswwIQqdbjrjDVYPxWiAyg5cNBn2tyC4x9Yr9SFn8Yg3vIJU2Cn26WooMo8wA
0PyePw9RH9fmSLDmYqsedJy6WBy7s4kv6mTZZnR1kdCfv9AUfmWtYAuEnLKQKfrX
YIIs7yOK3Usx3NC+51goVaIdZTZwYFAfBRy058BmuAg3shrKYoBWOK5x6P2HYTLN
EcbO069ZqpYfSmQMPZb8YEQFyQFrKTiHlzpUf4xjcHIZe2D17KFh+u9WoG15DwGj
hajpaDW/TjpL7qNA5FqLVf0COViS816Hj1W0uT+tsdLc4oGfL77R0DRs7oNhqQML
0g3n7kZ3veMVR91A6v6iobQQfbS1uUAldt7Ol0z6c23ZMcAJsEoTuAmeoNMjqpow
2y58dPSYyljF4EUJR2AF8pWwem1pfvB8hEwvHMYLPU9BpAaM5AQ++6Zt9yJfJiEb
0VUf27fdQnJqTvZGjMl7
=WAI8
-----END PGP SIGNATURE-----
diff --git a/debian/munin.logrotate b/debian/munin.logrotate
index a8e555b..2ecdb46 100644
--- a/debian/munin.logrotate
+++ b/debian/munin.logrotate
@@ -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
 }
@@ -39,6 +43,7 @@
 	missingok
 	rotate 7
 	compress
+	delaycompress
 	notifempty
 	#create 640 www-data adm
 	# see http://munin-monitoring.org/ticket/1152

Reply via email to