Package: munin
Version: 2.0~rc6-1
Severity: important
Tags: patch

Dear Maintainer,

Hi, seems there's a bug in postinst - you either intended "chown
munin:www-data", or "chgrp www-data". The attached patch implements the
former.

HTH!

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (490, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages munin depends on:
ii  adduser                      3.113+nmu1
ii  cron                         3.0pl1-121
ii  libcgi-fast-perl             5.14.2-9
ii  libdate-manip-perl           6.31-1
ii  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-1
ii  libstorable-perl             <none>
ii  liburi-perl                  1.60-1
ii  munin-common                 2.0~rc6-1
ii  perl [libtime-hires-perl]    5.14.2-9
ii  perl-modules                 5.14.2-9
ii  rrdtool                      1.4.7-1
ii  ttf-dejavu                   2.33-2

Versions of packages munin recommends:
ii  munin-doc   <none>
ii  munin-node  2.0~rc6-1

Versions of packages munin suggests:
ii  libnet-ssleay-perl    1.48-1
ii  links2 [www-browser]  2.6-1
ii  nginx-full [httpd]    1.1.19-1
ii  w3m [www-browser]     0.5.3-7

-- no debconf information
diff -u bad/munin.postinst good/munin.postinst
--- bad/munin.postinst	2012-05-14 00:09:53.000000000 +0800
+++ good/munin.postinst	2012-05-14 17:15:38.077425645 +0800
@@ -37,7 +37,7 @@
 	chmod 755 /var/cache/munin/www
 
 	mkdir -p /var/lib/munin/cgi-tmp
-        chgrp munin:www-data /var/lib/munin/cgi-tmp 
+        chown munin:www-data /var/lib/munin/cgi-tmp 
 	chmod 775 /var/lib/munin/cgi-tmp 
 }
 

Reply via email to