[PATCH] Test status before h_errno in gaih_inet

Florian Weimer fweimer@redhat.com
Mon Aug 7 13:07:00 GMT 2017


On 07/25/2016 06:50 PM, Stan Shebs wrote:
>         * posix/tst-getaddrinfo6.c: New test.

The test does not reproduce the issue for me, with Fedora 24 (glibc
2.23-based).

How confident are you about your root cause analysis?

I see a completely different bug in the NSS framework: If a call into
NSS triggers dlopen, and that dlopen fails with a system error, we cache
the failure permanently and never attempt to open the service module again.

This issue could well lead to persistent getaddrinfo failures because
glibc assumes none of the configured NSS modules are available.

Could this match what you experienced?

Thanks,
Florian



More information about the Libc-alpha mailing list