Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 294722

Summary: net-analyzer/munin-1.3.4-r2 : Due to a typo in /usr/libexec/munin/plugins/ping_ it is not possible to ping IPv6-addresses
Product: Gentoo Linux Reporter: Matthias Maier <tamiko>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: diff of /usr/libexec/munin/plugins/ping_

Description Matthias Maier gentoo-dev 2009-11-26 14:56:49 UTC
Due to a typo in /usr/libexec/munin/plugins/ping_ it is not possible for munin-node to ping an IPv6-addresses.

The last line should read "${PING:-ping} ...", not "${ping:-ping} ...".

See attached diff.

Reproducible: Always

Steps to Reproduce:
1. Install net-analyzer/munin
2. Create a symlink for pinging IPv6-hosts in /etc/munin/plugins , e.g.
  ping6_gw-3207.ham-01.de.sixxs.net -> /usr/libexec/munin/plugins/ping_
3. start /etc/init.d/munin-node

Actual Results:  
Pinging fails.

Expected Results:  
Pinging should succeed so that a nice graph can be plotted.
Comment 1 Matthias Maier gentoo-dev 2009-11-26 14:58:04 UTC
Created attachment 211253 [details]
diff of /usr/libexec/munin/plugins/ping_
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-01 04:47:50 UTC
Matthias, I see this same logic error in 1.4.3. Can you submit the report upstream at: http://munin.projects.linpro.no/report and then leave a reference here? Your help in this would be appreciated. Thanks.
Comment 3 Matthias Maier gentoo-dev 2010-02-01 10:47:33 UTC
I've submitted a bug report upstream:

http://munin.projects.linpro.no/ticket/854#
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-03 15:20:54 UTC
(In reply to comment #3)
> I've submitted a bug report upstream:
> 
> http://munin.projects.linpro.no/ticket/854#
> 

Thank you! It makes our jobs easier :) I've included your fix into 1.4.3 in the tree.
Comment 5 Matthias Maier gentoo-dev 2010-02-24 15:00:56 UTC
The patch is applied upstream in commit r3374 for version 1.4.4 .