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, wrong argument.  I know why it fail now.  check_ping uses NSS to
> look up the hostname, while ping6 uses DNS.
> 
>   root@tjener:~# ping6 tjener.intern
>   unknown host
>   root@tjener:~# 
> 
> And NSS and DNS do not agree in this case, causing ping6 to fail when
> called from check_ping.

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.

If you simply do not want to use ipv6, maybe it can be disabled system
wide, and maybe this would prevent libnss-myhostname from returning ipv6
names.


Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to