Hi,
Am Dienstag, den 21.05.2013, 20:17 +0200 schrieb Petter Reinholdtsen:
[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
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=summary
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
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
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
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 and
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.
If the
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 I do
[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 into
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.
[Noah Meyerhans]
This doesn't sound like a bug in libc or in ping6. getaddrinfo() will
return a scope ID if you've explicitly provided one in the hints you've
provided. For example, notice the different behavior when running
Joachim's test.c program with a scoped address as opposed to a
On Tue, May 07, 2013 at 04:25:40PM +0200, Petter Reinholdtsen wrote:
I do not know IPv6 addressing or the glibc internals well enough to
form an opinion on this, but I do not understand your argument. ping6
and libc can know from the values in the IPv6 address if it is a
link-local address or
On Tue, 07.05.13 12:43, Noah Meyerhans (no...@debian.org) wrote:
On Tue, May 07, 2013 at 04:25:40PM +0200, Petter Reinholdtsen wrote:
I do not know IPv6 addressing or the glibc internals well enough to
form an opinion on this, but I do not understand your argument. ping6
and libc can know
On Tue, May 07, 2013 at 06:52:36PM +0200, Lennart Poettering wrote:
As mentioned, nss-myhostname provides the scope ID field filled in
correctly to glibc. If this information is somehow lost on the way to
the caller of getaddrinfo(), then this is a fuckup in glibc, and that's
it.
Possibly,
Control: reassign -1 iputils
Control: retitle -1 ping6 should respect the scope_id returned by getaddrinfo
Hi everyone,
Am Freitag, den 03.05.2013, 13:22 +0200 schrieb Lennart Poettering:
We currently filter addresses of HOST and NOWHERE scope, but local
addresses should generally be fine.
[Joachim Breitner]
But it seems that the scope id is not really passed all the way down to
the user. Using the attached test code, I get:
$ ./test kirk
Scope id returned for ./test: 0
So is this a bug in the libc?
Could be. What do you believe 'getent hosts $(hostname)' should print
if
On Sun, May 05, 2013 at 07:59:02PM +0200, Petter Reinholdtsen wrote:
[Joachim Breitner]
But it seems that the scope id is not really passed all the way down to
the user. Using the attached test code, I get:
$ ./test kirk
Scope id returned for ./test: 0
So is this a bug in the libc?
On Sat, 27.04.13 09:39, Petter Reinholdtsen (p...@hungry.com) wrote:
[Joachim Breitner]
it was reported that libnss-myhostname may report an IPv6 address
for the local hostname that is not pingable, as it is a link scoped
address, and it was suggested that it not do that. Do you agree and
Hi, Joachim.
Would you be willing to provide a fix for this in a Wheezy update?
Knowing the answer to this question would make it easier for us in
Debian Edu to plan what to do.
--
Happy hacking
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a
Hi,
Am Donnerstag, den 02.05.2013, 14:25 +0200 schrieb Petter Reinholdtsen:
Would you be willing to provide a fix for this in a Wheezy update?
Knowing the answer to this question would make it easier for us in
Debian Edu to plan what to do.
I’d be willing to package a fix; I’m still reluctant
[Joachim Breitner]
thanks for the patch. However, I’m reluctant to apply it without
upstream’s opinion and blessing. Lennart, can you comment on the
problem and solution?
I understand perfectly. We are also reluctant to make our own
libnss-myhostname packages in Debian Edu before we know
[Joachim Breitner]
it was reported that libnss-myhostname may report an IPv6 address
for the local hostname that is not pingable, as it is a link scoped
address, and it was suggested that it not do that. Do you agree and
can you fix it?
Here is a simple patch to make sure link local addresses
Hi,
Am Samstag, den 27.04.2013, 09:39 +0200 schrieb Petter Reinholdtsen:
[Joachim Breitner]
it was reported that libnss-myhostname may report an IPv6 address
for the local hostname that is not pingable, as it is a link scoped
address, and it was suggested that it not do that. Do you agree
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
tag 705900 + moreinfo unreproducible
thanks
Hi Petter,
thanks for taking time to reporting your issue.
Am 22.04.2013 00:22, schrieb Petter Reinholdtsen:
The DNS host name in question only resolve to an IPv4 address, but ping6
is tried
[Jan Wagner]
If you can give me more informations, maybe I can dig into it.
I would be happy to, if you have suggestions to what kind of
information to collect.
--
Happy hacking
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 22.04.2013 09:23, schrieb Petter Reinholdtsen:
[Jan Wagner]
If you can give me more informations, maybe I can dig into it.
I would be happy to, if you have suggestions to what kind of
information to collect.
Could you please test
[Jan Wagner]
Could you please test /usr/lib/nagios/plugins/check_ping -vvv -H
test.test.org -w 10,10% -c 10,10% ... just to be sure.
The machine do not have internet connectivity by default. I tried
this first:
root@tjener:~# /usr/lib/nagios/plugins/check_ping -vvv -H tjener.intern -w
10,10%
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
severity 705900 minor
thanks
Hi Petter,
many thanks for your verbose informations.
Am 22.04.2013 10:32, schrieb Petter Reinholdtsen:
[Jan Wagner]
Could you please test /usr/lib/nagios/plugins/check_ping -vvv
-H test.test.org -w 10,10% -c 10,10%
reassign 705900 libnss-myhostname
found 705900 0.3-4
severity 705900 important
thanks
[Jan Wagner]
Looks like it's working and I'm actually convinced, that the source
of your trouble is somewhere outside of the nagios-plugins package.
Hm, I guess you are right. See below.
It is not DNS
Hi,
thanks for the bug report. I’m curious: In
root@tjener:~# host tjener.intern
tjener.intern has address 10.0.2.2
root@tjener:~# /usr/lib/nagios/plugins/check_ping -H tjener.intern -w 10,10%
-c 10,10%
/bin/ping6 -n -U -w 10 -c 5 tjener.intern
CRITICAL - Could not interpret output
[Joachim Breitner]
Why exactly does it fail if the local hostname resolves to an IPv6
address? Because ping6 is not installed? Or because
/usr/lib/nagios/plugins/check_ping does not understand the output?
I do not know. ping6 is installed, but the command fail. This is the
output from ping6:
[Petter Reinholdtsen]
I do not know. ping6 is installed, but the command fail. This is
the output from ping6:
root@tjener:~# ping6 fe80::5652:ff:fe1f:e659
connect: Invalid argument
root@tjener:~#
Ah, wrong argument. I know why it fail now. check_ping uses NSS to
look up the
Hi,
Am Montag, den 22.04.2013, 13:20 +0200 schrieb Petter Reinholdtsen:
[Petter Reinholdtsen]
I do not know. ping6 is installed, but the command fail. This is
the output from ping6:
root@tjener:~# ping6 fe80::5652:ff:fe1f:e659
connect: Invalid argument
root@tjener:~#
Ah,
[Joachim Breitner]
would ping6 use data from /etc/hosts then? It seems to me that this
is more likely a bug in ping6 if it circumvents the system???s
normal ways of resolving names.
Hm, good point. Ah, right. I forgot I had removed libnss-myhostname
when I tested the second time. When I try
[Petter Reinholdtsen]
When I try again with libnss-myhostname active, I get this result:
root@tjener:~# ping6 tjener.intern
connect: Invalid argument
root@tjener:~#
Strace below.
I asked one of the local IPv6 experts, and he said ping6 is not
supposed to be able to ping the IPv6
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cheers,
Am 22.04.13 15:27, schrieb Petter Reinholdtsen:
So if libnss-myhostname insist on returning the Link IPv6 address
for a given machine, it need to add the interface name as part of
the address string.
The reason the interface name is
[Jan Wagner]
while this assumption is valid for local used (indeed with
execptions) and multicast IPv6 addresses, this should NOT be the
case for globaly routed IPv6 addresses.
Sure. I only talk about the scope:Link addresses reported by
ifconfig. I was shown that on FreeBSD, ifconfig report
Hi,
Am Montag, den 22.04.2013, 22:58 +0200 schrieb Petter Reinholdtsen:
Anyway, Joachim, do you agree that the addresses returned by
libnss-myhostname when running 'getent hosts $(uname -n)' should be
pingable addresses? If so, I believe libnss-myhostname should be
changed. Besides, I
Package: nagios-plugins-basic
Version: 1.4.16-1
Severity: important
User: debian-...@lists.debian.org
Usertags: debian-edu
In Debian Edu, we use check_ping from the nagios-plugins-basic package
to check if a host is responding. The Nagios configuration is generated
using the sitesummary
39 matches
Mail list logo