Processed: Re: Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-21 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > reassign 705900 libnss-myhostname Bug #705900 [libc6] getaddrinfo() should set sin6_scope_id Bug reassigned from package 'libc6' to 'libnss-myhostname'. Ignoring request to alter found versions of bug #705900 to the same values previously set Ign

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-21 Thread Petter Reinholdtsen
reassign 705900 libnss-myhostname thanks [Joachim Breitner] > just uploaded to unstable. I have never done a stable update, but I > guess I’ll have to wait for it to enter jessie (i.e. wait 10 days), > and then talk to the release team. Actually, I believe the correct approach is to file a pu req

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-21 Thread Joachim Breitner
Hi, Am Dienstag, den 14.05.2013, 01:14 +0200 schrieb Petter Reinholdtsen: > [Joachim Breitner] > > I modified it to use a libc-provided macro to detect > > link-local-addresses. It works here, but would you mind testing it in > > your setup: > > http://git.nomeata.de/?p=libnss-myhostname.git;a=sum

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-13 Thread Petter Reinholdtsen
[Joachim Breitner] > I modified it to use a libc-provided macro to detect > link-local-addresses. It works here, but would you mind testing it in > your setup: > http://git.nomeata.de/?p=libnss-myhostname.git;a=summary It seem to work just fine when I test it too. :) I hope the fix will make it i

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-13 Thread Joachim Breitner
Hi, Am Montag, den 13.05.2013, 15:40 +0200 schrieb Lennart Poettering: > On Mon, 13.05.13 10:03, Joachim Breitner (nome...@debian.org) wrote: > > I got more information: If, in the attached example test.c, the > > ai_family field of the hints argument to getaddrinfo is set to > > "AF_UNSPEC", then

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-13 Thread Lennart Poettering
On Mon, 13.05.13 10:03, Joachim Breitner (nome...@debian.org) wrote: > Hi, > > I got more information: If, in the attached example test.c, the > ai_family field of the hints argument to getaddrinfo is set to > "AF_UNSPEC", then I do get the correct scope id in the returned data > structure. > >

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-13 Thread Lennart Poettering
On Sun, 12.05.13 08:02, Petter Reinholdtsen (p...@hungry.com) wrote: > Joachim, perhaps time to use the patch I provided in the Debian > package, while we wait for these lofty old wizards to fight out their > world view dispute? How about just spending some time to track down the *actual* issue a

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-13 Thread Joachim Breitner
Hi Petter, Am Sonntag, den 12.05.2013, 08:02 +0200 schrieb Petter Reinholdtsen: > Joachim, perhaps time to use the patch I provided in the Debian > package, while we wait for these lofty old wizards to fight out their > world view dispute? I modified it to use a libc-provided macro to detect link

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-13 Thread Joachim Breitner
Hi, I got more information: If, in the attached example test.c, the ai_family field of the hints argument to getaddrinfo is set to "AF_UNSPEC", then I do get the correct scope id in the returned data structure. If the hint is set to AF_INET6, I don’t (but I also do not get the debugging informati

Bug#705900: check_ping fail if host do not have IPv6 address

2013-05-11 Thread Petter Reinholdtsen
So, to summarize: 1) 'check_ping $(hostname)' in Nagios fail when libnss-myhostname is active, because glibc return the IPv6 link local address when looking up the IP address of the local host. 2) ping6 can not ping the IPv6 link local address without an network interface specifier.