Bug#643654: munin-node won't listen on ipv4 addresses after upgrading to libnet-server-perl 0.99-3

Damyan Ivanov dmn at debian.org
Wed Sep 28 19:21:56 UTC 2011


-=| gregor herrmann, 28.09.2011 20:33:14 +0200 |=-
> Doesn't answer the "binds only to ipv6" problem, though ...

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.

Another socket hould be opened, listening on ipv4's idea of "all" 
interfaces too. This may also fail if the ipv6 bind was successful 
*and the bindv6only setting is false*.

If both binds fail, this is fatal. If one of them is successful, 
operations can go on.

And I am not sure where this should be implemented. Meybe 
Net::Server's interface is flexible enough so that no changes would be 
necessary in munin-node…

Now, someone™ has to make some Perl code out of that prose :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110928/1816e684/attachment.pgp>


More information about the pkg-perl-maintainers mailing list