Bug#556600: getaddrinfo() fails with system error
On Tue, Nov 17, 2009 at 03:52:27AM +0100, Hagen Möbius wrote:
> Package: libc6
> Version: 2.10.1-7
>
> Programs which use getaddrinfo() to resolve addresses fail most of the
> time. I tried to get to the bottom of the error and came up with the
> following little program, that exhibits the error.
This program works here, I guess your problem is related to your local
configuration.
First of all are you really running libc6 2.10.1-7 or a previous
version? Do you know which was the latest working version?
Could you please send me the contents of /etc/hosts, /etc/resolv.conf,
/etc/nsswitch.conf and /etc/services on your system?
Finally could you send us the output of strace on your test program?
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: