FS#37676 - [munin-node] misses dependency for IPv6 availability
Attached to Project:
Arch Linux
Opened by Anonymous Submitter - Thursday, 07 November 2013, 13:02 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 12 November 2013, 01:42 GMT
Opened by Anonymous Submitter - Thursday, 07 November 2013, 13:02 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 12 November 2013, 01:42 GMT
|
Details
Description:
The munin-node package does not declare perl-io-socket-inet6 as at least an optional dependency. Without this package however munin-node does not listen on IPv6 for connections, but only on IPv4. Additional info: munin-node package version: 2.0.17-1 When munin-node starts up, it fails to expand a "host *" directive in /etc/munin/munin-node.conf to IPv6. On startup, it logs the following if the perl-io-socket-inet6 package is missing: ---------------------------------------------- Process Backgrounded 2013/11/07-13:38:18 Munin::Node::Server (type Net::Server::Fork) starting! pid(10135) Resolved [*]:4949 to [0.0.0.0]:4949, IPv4 Binding to TCP port 4949 on host 0.0.0.0 with IPv4 Setting gid to "0 0" ---------------------------------------------- If the perl-io-socket-inet6 is installed, it properly listens on IPv6 as well: ---------------------------------------------- Process Backgrounded 2013/11/07-13:46:05 Munin::Node::Server (type Net::Server::Fork) starting! pid(10501) Started Munin Node Service. Resolved [*]:4949 to [::]:4949, IPv6 Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6 Binding to TCP port 4949 on host :: with IPv6 Setting gid to "0 0" ---------------------------------------------- Steps to reproduce: 1. Install the munin-node package, but don't install perl-io-socket-inet6 2. Configure munin-node to monitor something 3. Start munin-node with "systemctl start munin-node" 4. Configure a munin master to connect to your munin node over IPv6. In /etc/munin/munin.conf, place something like this: [node.example.org] address [1:2:3::8] 5. Wait and see how the munin master fails to connect to the munin node without even logging anything. As the munin node is not listening on IPv6 it does not even notice there was a connection attempt. In conclusion I think the perl-io-socket-inet6 package should be declared at least as an optional dependency of munin-node. |
This task depends upon
Closed by Dan McGee (toofishes)
Tuesday, 12 November 2013, 01:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk. I just made it a full depend, the server already depends on it anyway and IPv6 support should be a no-brainer these days.
Tuesday, 12 November 2013, 01:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in trunk. I just made it a full depend, the server already depends on it anyway and IPv6 support should be a no-brainer these days.