Red Hat Bugzilla – Bug 426563
nscd ignores entries in /etc/hosts
Last modified: 2007-12-22 01:55:03 EST
Description of problem:
If nscd is enabled, hosts listed in /etc/hosts aren't found - only DNS entries
are returned. This is even *with* 'hosts = files, dns' listed in
/etc/nsswitch.conf (meaning that /etc/hosts should be consulted *first*).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Programs like 'ping' get an NXDOMAIN response back.
Programs should be able to find hosts in /etc/hosts.
Filed under 'component=glibc' because there's no 'nscd' component listed in
enter_bug.cgi (even though it's a separate RPM)
Created attachment 290285 [details]
typescript of nscd failure
This looks like a dup of Bug #425768, closing it as such. I didn't find it
before because I was trying to find nscd bugs, but that one is listed as a glibc
*** This bug has been marked as a duplicate of 425768 ***