Package: munin Version: 1.4.5-3 Hi,
On Monday 13 April 2009, Brian May wrote: > Package: libnet-server-perl > Version: 0.97-1 > Tags: ipv6 > > This affects any package that uses libnet-server-perl, such as munin. > > Upstream references: > * <http://munin.projects.linpro.no/ticket/358> > * <http://rt.cpan.org/Public/Bug/Display.html?id=33289> > > This would appear to be a libnet-server-perl issue despite the fact the > suggested patch was posted to the munin bug report ;-). I've worked on the Net::Server patch a little more and committed it to the pkg-perl repo. That means, with the next upload of libnet-server-perl, munin- node will be able to use IPv6. Of course, munin-update also needs to be able to do so, so I did a quick patch for testing purposes and it worked for me(tm). It's possibly not enough, though, so please only take it as a suggestion. Cheers, Carsten -- /\-ยด-/\ ( @ @ ) ________o0O___^___O0o________
diff -ur Munin/Master/Node.pm Munin.new/Master/Node.pm --- Munin/Master/Node.pm 2010-10-05 15:37:50.000000000 +0200 +++ Munin.new/Master/Node.pm 2011-04-07 14:55:52.000000000 +0200 @@ -58,7 +58,7 @@ LOGCROAK("[FATAL] No address! Did you forget to set 'update no' or to set 'address <IP>' ?") if !defined($self->{address}); - if (! ( $self->{socket} = IO::Socket::INET->new( + if (! ( $self->{socket} = IO::Socket::INET6->new( PeerAddr => $self->{address}, PeerPort => $self->{port}, LocalAddr => $config->{local_address}, diff -ur Munin/Master/ProcessManager.pm Munin.new/Master/ProcessManager.pm --- Munin/Master/ProcessManager.pm 2010-10-05 15:37:50.000000000 +0200 +++ Munin.new/Master/ProcessManager.pm 2011-04-07 14:56:53.000000000 +0200 @@ -8,6 +8,7 @@ use Carp; use English qw(-no_match_vars); use IO::Socket; +use IO::Socket::INET6; use POSIX qw(:sys_wait_h); use Storable qw(nstore_fd fd_retrieve);
signature.asc
Description: This is a digitally signed message part.