Your message dated Wed, 20 Mar 2013 19:55:33 -0400
with message-id <[email protected]>
and subject line Re: [Packaging] Bug#703567: munin-node: ip_ does not work with 
an ipv6 address
has caused the Debian Bug report #703567,
regarding munin-node: ip_ does not work with an ipv6 address
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 [email protected]
immediately.)


-- 
703567: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703567
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: munin-node
Version: 1.4.5-3
Severity: normal

Running ip_ with an ipv6 address yields the following error:

--------------------------------------------------
munin-run ip_2222:222:2:2222::2
+ :
+ . /usr/share/munin/plugins/plugin.sh
+ IP=2222:222:2:2222::2
+ INPUT=INPUT
+ OUTPUT=OUTPUT
+ eval function iptables() {
            /sbin/ip6tables "$@"
        }
eval: 1: Syntax error: "(" unexpected
--------------------------------------------------

The ip_ script starts with #!/bin/sh and "function" is a bash-ism.

Replacing #!/bin/sh by #!/bin/bash on line 1 (and line 2) solves this issue.

Replacing:

--------------------------------------------------
        eval 'function iptables() {
            /sbin/ip6tables "$@"
        }'
--------------------------------------------------

by

--------------------------------------------------
        eval 'iptables() {
            /sbin/ip6tables "$@"
        }'
--------------------------------------------------

also solves this issue.

-- System Information:
Debian Release: 6.0.7
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)

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

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-23.2squeeze1  Linux Standard Base 3.2 init scrip
ii  munin-common           1.4.5-3           network-wide graphing framework (c
ii  perl                   5.10.1-17squeeze6 Larry Wall's Practical Extraction 
ii  procps                 1:3.2.8-9squeeze1 /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)
ii  hdparm                 9.32-1            tune hard disk parameters for high
pn  libcache-cache-perl    <none>            (no description available)
pn  libcrypt-ssleay-perl   <none>            (no description available)
pn  libdbd-mysql-perl      <none>            (no description available)
ii  libdbd-pg-perl         2.17.1-2+squeeze1 Perl DBI driver for the PostgreSQL
pn  liblwp-useragent-deter <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)
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
pn  libxml-simple-perl     <none>            (no description available)
ii  logtail                1.3.13            Print log file lines that have not
ii  munin                  1.4.5-3           network-wide graphing framework (g
pn  munin-java-plugins     <none>            (no description available)
ii  munin-plugins-extra    1.4.5-3           network-wide graphing framework (u
pn  mysql-client           <none>            (no description available)
ii  net-tools              1.60-23           The NET-3 networking toolkit
ii  python                 2.6.6-3+squeeze7  interactive high-level object-orie
ii  ruby                   4.5               An interpreter of object-oriented 
ii  smartmontools          5.39.1+svn3124-2  control and monitor storage system

-- Configuration Files:
/etc/munin/munin-node.conf changed [not included]
/etc/munin/plugin-conf.d/munin-node [Errno 13] Permission denied: 
u'/etc/munin/plugin-conf.d/munin-node'

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/munin/plugins/ip_ (from munin-node package)

--- End Message ---
--- Begin Message ---
version: 2.0.0-1

Hi,

On Mittwoch, 20. März 2013, Kenyon Ralph wrote:
> This was fixed upstream:
> https://github.com/munin-monitoring/munin/commit/2f72cd57dba6d148bf013cdc96
> bc9ae92f2bd936
> This was also fixed upstream:
> https://github.com/munin-monitoring/munin/commit/fa0b8dd560c3be41d0b1b8bcce
> 1a2aca8924ac0a

those commits are included since 2.0.0-1, closing.


cheers,
        Holger

--- End Message ---

Reply via email to