Bug#643654: munin-node won't listen on ipv4 addresses after upgrading to libnet-server-perl 0.99-3
Craig Sanders
cas at taz.net.au
Fri Sep 30 11:34:59 UTC 2011
On Wed, Sep 28, 2011 at 01:03:20PM -0700, Russ Allbery wrote:
> Damyan Ivanov <dmn at debian.org> writes:
>
> > I think the answer to this is to listen on two sockets. One is the
> > current implementation on listening on the ipv6's idea of "all"
> > interfaces. This may fail if ipv6 is not available.
>
> While opening two separate sockets is cleaner and is the maximally
> portable solution, there was a long discussion about this on debian-devel
> a while back (when the bind.ipv6_only setting to 1 was temporarily added
> in unstable), and the conclusion was that Debian should default to 0
> because that's what the IPv6 standards expected and too much software
> assumes that default behavior.
>
> People who have the setting of 1 probably got that configuration file
> introduced during the time period when this was the default in unstable.
> Debian never released with that setting.
exactly right, i think. i'll have to clean that cruft out of my existing
systems.
i just built a brand new VM, minimal install of squeeze, immediately
upgraded to latest sid, reboot to get linux 3.0.0 kernel, then apt-get
install munin-node.
net.ipv6.bindv6only defaults to 0.
munin-node works just fine on both ipv4 and ipv6 interfaces, after
adding appropriate allow lines.
root at ztest:/etc# sysctl net.ipv6.bindv6only
net.ipv6.bindv6only = 0
root at ztest:/etc# telnet ::1 4949
Trying ::1...
Connected to ::1.
Escape character is '^]'.
# munin node at ztest.taz.net.au
list
cpu df df_inode entropy exim_mailqueue exim_mailstats forks fw_packets http_loadtime if_err_eth0 if_eth0 interrupts iostat iostat_ios irqstats load memory nfs4_client nfs_client nfsd nfsd4
open_files open_inodes proc_pri processes swap threads uptime users vmstat
quit
Connection closed by foreign host.
root at ztest:/etc# telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at ztest.taz.net.au
list
cpu df df_inode entropy exim_mailqueue exim_mailstats forks fw_packets http_loadtime if_err_eth0 if_eth0 interrupts iostat iostat_ios irqstats load memory nfs4_client nfs_client nfsd nfsd4
open_files open_inodes proc_pri processes swap threads uptime users vmstat
quit
Connection closed by foreign host.
so this is really a host configuration error rather than a bug in either
munin-node or libnet-server-perl. at most, it'll be a documentation bug -
this issue probably needs documenting in either or both packages.
craig
--
craig sanders <cas at taz.net.au>
More information about the pkg-perl-maintainers
mailing list