[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609913: marked as done (Consider fixed munin-package for 6.0.1)



Your message dated Sat, 14 May 2011 01:40:15 +0200
with message-id <20110513234015.GA32282@radis.liafa.jussieu.fr>
and subject line Re: Bug#609913: cloning 609900, retitle -1 to Consider fixed munin-package for 6.0.1 ...
has caused the Debian Bug report #609913,
regarding Consider fixed munin-package for 6.0.1
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 owner@bugs.debian.org
immediately.)


-- 
609913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609913
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
package: munin
version: 1.4.5-3
severity: wishlist

Hi,

cgi-graphing is not enabled out of the box and needs some manual steps to 
work, some of which are not or under documented.

This is a rough howto:

in /etc/apache2/sites-available/ add:

        Alias /munin /var/cache/munin/www
        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>
        <Location /usr/lib/cgi-bin/munin-cgi-graph>
                  SetHandler  fastcgi-script
        </Location>

then run:

a2enmod cgi
/etc/init.d/apache2 force-reload

then run:

# munin-cgi-graph should be able to write to the log file and graphics files. 
adduser --quiet munin www-data

[ -f /var/log/munin/munin-graph.log ] || touch /var/log/munin/munin-graph.log
chgrp www-data /var/log/munin /var/log/munin/munin-graph.log
chmod g+w /var/log/munin /var/log/munin/munin-graph.log

chgrp -R www-data /var/cache/munin/www
chmod -R g+w /var/cache/munin/www

# now modify /etc/logrotate.d/munin
# (keep the entries not mentioned here...)
/var/log/munin/munin-graph.log {
        daily
        missingok
        rotate 7
        compress
        notifempty
        # modfied for cgi-graph:
        create 660 munin www-data
}

# finally, append this to /etc/cron.d/munin
#
# workaround bug in munin-html with cgi-graphing every other hour
23 */2 * * *    root find /var/cache/munin/www/ -type f ! -perm 664 -exec 
chmod 664 {} \;
24 */2 * * *    root find /var/cache/munin/www/ -type d ! -perm 775 -exec 
chmod 775 {} \;
25 */2 * * *    root find /var/cache/munin/www/ -type f ! -group 
www-data -exec chgrp www-data {} \;


The last thing should really be fixed in munin-html, and the logrotate file 
should also be fixed to support both cgi and legacy graphing.


cheers,
	Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
On Thu, Feb 24, 2011 at 17:02:39 +0100, Holger Levsen wrote:

> Hi,
> 
> On Donnerstag, 24. Februar 2011, Julien Cristau wrote:
> > > retitle -1 Consider fixed munin-package for 6.0.1
> > I'm not seeing a proposed change, tagging moreinfo.
> 
>  munin | 1.4.5-3         | squeeze         | source, all
>  munin | 1.4.5-3         | wheezy          | source, all
>  munin | 1.4.5-3         | sid             | source, all
> 
> And there are no changes pending in svn, basically we are waiting for the 
> 1.4.6 bugfix release.
> 
Then you can open a request whenever you have something to propose for
stable, in the meantime no need to have this open on release.d.o.
Closing.

Cheers,
Julien


--- End Message ---

Reply to: