This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nscd/15862] nscd doesn't cache record containing more than one IP address.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]