This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/11928] nscd does not account for 'multi on' in /etc/host.conf when ai-resolving hosts
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Aug 2010 20:23:15 -0000
- Subject: [Bug nscd/11928] nscd does not account for 'multi on' in /etc/host.conf when ai-resolving hosts
- References: <20100819201451.11928.pasky@suse.cz>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pasky at suse dot cz 2010-08-19 20:23 -------
Created an attachment (id=4940)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4940&action=view)
proposed patch
This patch makes sure _res_hconf is initialized before resolving is being done.
However, this would not be enough since nscd has its own _res_hconf due to
nscd/res_hconf.c; _res_hconf_init() would work on different _res_hconf instance
than the NSS routines. We just need to make sure nscd and glibc share the same
_res_hconf instance - this should not be a problem since users should run
matching versions of glibc and nscd anyway.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11928
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.