Bug#556600: getaddrinfo() fails with system error

2009-11-17 Thread Hagen Möbius
Hi there. Sorry for the big EMail. Should I use attachments next time? This program works here, I guess your problem is related to your local configuration. That makes sense. The error became apparent after some update, but I honestly can't say what it was that I updated. First of all are

Bug#556600: getaddrinfo() fails with system error

2009-11-17 Thread Aurelien Jarno
On Tue, Nov 17, 2009 at 10:03:31AM +0100, Hagen Möbius wrote: Hi there. Hi, Sorry for the big EMail. Should I use attachments next time? That's not a problem. /etc/nsswitch === # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the

Bug#556600: getaddrinfo() fails with system error

2009-11-17 Thread Hagen Möbius
Hi back. That did it. Thanks a bunch! Now the problem is certainly resolved but why is the error reporting so wrong (EAI_SYSTEM points to errno which does not contain any error information) and why is the fallback not working? Is that related to the [NOTFOUND=return] directive? Anyway, thanks

Bug#556600: getaddrinfo() fails with system error

2009-11-16 Thread Hagen Möbius
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. test.c === #include errno.h #include stdio.h #include netdb.h #include

Bug#556600: getaddrinfo() fails with system error

2009-11-16 Thread Aurelien Jarno
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