Package: munin-node
Version: 1.4.5-3
Severity: normal
Tags: ipv6

The ip_ plugin for munin-node fails to handle IPv6 addresses if /bin/sh is 
linked to dash.

root@siddy:~# ip6tables -I OUTPUT -s 2001:16d8:cc88:0:5054:ff:fe34:a227
root@siddy:~# ip6tables -I INPUT -d 2001:16d8:cc88:0:5054:ff:fe34:a227
root@siddy:~# ln -s /usr/share/munin/plugins/ip_ 
/etc/munin/plugins/ip_2001:16d8:cc88:0:5054:ff:fe34:a227
root@siddy:~# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Feb  6 21:17 /bin/sh -> dash
root@siddy:~# export MUNIN_LIBDIR=/usr/share/munin
root@siddy:~# /etc/munin/plugins/ip_2001\:16d8\:cc88\:0\:5054\:ff\:fe34\:a227 
eval: 1: Syntax error: "(" unexpected
root@siddy:~# ln -sf /bin/bash /bin/sh
root@siddy:~# /etc/munin/plugins/ip_2001\:16d8\:cc88\:0\:5054\:ff\:fe34\:a227 
in.value 9199
out.value 7992
root@siddy:~#

The issue has been reported to upstream, which has solved it by 
explicitly marking the plugin a bash script. That change is scheduled 
to be included in munin 1.4.6.

http://munin-monitoring.org/ticket/1009


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

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages munin-node depends on:
ii  adduser                   3.112+nmu2     add and remove users and groups
ii  gawk                      1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii  libnet-server-perl        0.97-1         An extensible, general perl server
ii  lsb-base                  3.2-27         Linux Standard Base 3.2 init scrip
ii  munin-common              1.4.5-3        network-wide graphing framework (c
ii  perl                      5.10.1-17      Larry Wall's Practical Extraction 
ii  procps                    1:3.2.8-10     /proc file system utilities

Versions of packages munin-node recommends:
ii  libnet-snmp-perl              5.2.0-4    Script SNMP connections

Versions of packages munin-node suggests:
ii  acpi                    1.5-2            displays information on ACPI devic
pn  ethtool                 <none>           (no description available)
pn  hdparm                  <none>           (no description available)
pn  libcache-cache-perl     <none>           (no description available)
pn  libcrypt-ssleay-perl    <none>           (no description available)
pn  libdbd-mysql-perl       <none>           (no description available)
pn  libdbd-pg-perl          <none>           (no description available)
pn  liblwp-useragent-determ <none>           (no description available)
pn  libnet-irc-perl         <none>           (no description available)
pn  libnet-ssleay-perl      <none>           (no description available)
pn  libtext-csv-xs-perl     <none>           (no description available)
pn  libwww-perl             <none>           (no description available)
pn  libxml-simple-perl      <none>           (no description available)
pn  logtail                 <none>           (no description available)
pn  munin                   <none>           (no description available)
pn  munin-java-plugins      <none>           (no description available)
pn  munin-plugins-extra     <none>           (no description available)
pn  mysql-client            <none>           (no description available)
ii  net-tools               1.60-23          The NET-3 networking toolkit
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
pn  ruby                    <none>           (no description available)
pn  smartmontools           <none>           (no description available)

-- Configuration Files:
/etc/munin/plugin-conf.d/munin-node [Errno 13] ?tkomst nekas: 
u'/etc/munin/plugin-conf.d/munin-node'

-- no debconf information



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

Reply via email to