Bug#556600: getaddrinfo() fails with system error
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 for your input,
Hagen.
>> /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.
--
Hagen Möbius
Lychener Str. 81, 10437 Berlin, Germany
Home: +49 30 4450091
Cell: +49 179 5853897
Mail: hagen.moebius@googlemail.com
Reply to: