[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#556600: getaddrinfo() fails with system error



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 `glibc-doc-reference' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.
> 
> passwd:         nis compat
> group:          nis compat
> shadow:         nis compat
> 
> hosts:          nis files mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> netgroup:       nis
> ===
> 
> Hm, I don't have a NIS configuration here ... only thinking alound.

The strace shows that the "System error" comes from the nis NSS library.
This is the first one called to resolv hosts type records. Removing nis
here would probably solve your problem.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: