Package: munin-node
Version: 1.2.3-1
Severity: minor

The auto configuration of the postfix_mailvolume plugin fails although
postfix is installed:

# /usr/share/munin/plugins/postfix_mailvolume autoconf
no (postfix not found)

# which postconf
/usr/sbin/postconf

The problem is the wrong check of the exit code of "which":

if ( $ARGV[0] and $ARGV[0] eq "autoconf" )
{ 
    my $logfile;
    `which postconf >/dev/null 2>/dev/null`;
    if ($?)

       ^^^^---- This should be: (!$?)

With this change the autoconf works as expected.

Regards,

Uwe

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.34
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages munin-node depends on:
ii  libnet-server-perl         0.87-3sarge1  An extensible, general perl server
ii  perl                       5.8.4-8sarge5 Larry Wall's Practical Extraction 
ii  procps                     1:3.2.1-2     The /proc file system utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to