This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/15862] nscd doesn't cache record containing more than one IP address.
- From: "aoliva at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 14 May 2014 07:57:41 +0000
- Subject: [Bug nscd/15862] nscd doesn't cache record containing more than one IP address.
- Auto-submitted: auto-generated
- References: <bug-15862-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15862
--- Comment #4 from Alexandre Oliva <aoliva at sourceware dot org> ---
Created attachment 7598
--> https://sourceware.org/bugzilla/attachment.cgi?id=7598&action=edit
Add getent cmdline arg to set default getaddrinfo args
This is the patch for getent I used for testing the previous two patches. Even
ahostsv4 requests wouldn't take the gethostbyname2_r path because AI_CANONNAME
was given by default, and hosts request wouldn't ask for IPv4 addresses of
names that had valid IPv6 addresses. Setting the default flags to zero enables
both paths to be tested, with and without nscd.
In order to run these programs the build tree, even within a debugger, I added
the following flag to the link commands of nss/getent and nscd/nscd:
-Wl,-I,`pwd`/elf/ld-linux-x86-64.so.2,-R,`pwd`:`pwd`/nss:`pwd`/resolv:`pwd`/nptl
--
You are receiving this mail because:
You are on the CC list for the bug.