Package: munin-plugins-extra
Version: 1.4.3-2
Severity: normal

The mailman plugin at /usr/share/munin/plugins/mailman uses an
undefined variable at this line:

    $statefile = "$MUNIN_PLUGSTATE/munin-mailman-log.state";

I.e. it hasn't done C<my $MUNIN_PLUGSTATE = $ENV{MUNIN_PLUGSTATE}> or
something similar previously.

This causes it to try to open a statefile in / instead of
/var/lib/munin/... giving these errors when it's run:

    2010/02/07-19:42:54 [32400] Error output from mailman:
    2010/02/07-19:42:54 [32400]     Can't open /munin-mailman-log.state for 
writing: Permission denied at /etc/munin/plugins/mailman line 103.
    2010/02/07-19:42:54 [32400] Service 'mailman' exited with status 13/0.

Furthermore as the statefile doesn't work the plugin wastes resources
every time it's run recomputing data that should be cached between
runs.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-x86_64-linode11 (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

Versions of packages munin-plugins-extra depends on:
ii  munin-node                    1.4.3-2    network-wide graphing framework (n
ii  perl                          5.10.1-9   Larry Wall's Practical Extraction 

munin-plugins-extra recommends no packages.

Versions of packages munin-plugins-extra suggests:
pn  libnet-netmask-perl           <none>     (no description available)
pn  libnet-telnet-perl            <none>     (no description available)
pn  logtail                       <none>     (no description available)
ii  python                        2.5.4-9    An interactive high-level object-o

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to