Your message dated Mon, 4 Jun 2012 19:30:24 +0200
with message-id <[email protected]>
and subject line fixed in 2.0.0-1 for sure
has caused the Debian Bug report #669693,
regarding munin-node: log rotation is skipped for permissions reasons
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.)


-- 
669693: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669693
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: munin-node
Version: 2.0~rc5-3
Severity: normal
Tags: patch

Hi,

cron tells me:

  /etc/cron.daily/logrotate:
  error: skipping "/var/log/munin/munin-node.log" because parent
  directory has insecure permissions (It's world writable or writable
  by group which is not "root") Set "su" directive in config file to
  tell logrotate which user/group should be used for rotation.

Either the initscript must create /var/log/munin with different
ownership, or the logrotate snippet must be updated to match the new
ownership introduced in the 2.0~rc* packaging.

The following patch fixes this bug for me:

--- /etc/logrotate.d/munin-node.orig    2011-08-30 20:02:32.000000000 +0200
+++ /etc/logrotate.d/munin-node 2012-04-18 11:39:14.000000000 +0200
@@ -6,4 +6,5 @@
        copytruncate
        notifempty
        create 640 munin adm
+       su root www-data
 }

Regards,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc



--- End Message ---
--- Begin Message ---
fixed 669693 2.0.0-1
notfound 669693 2.0.0-1
found 669693 2.0~rc6-3
tags 669693 - unreproducible
thanks


--- End Message ---

Reply via email to