Bug 426563

Summary: nscd ignores entries in /etc/hosts
Product: [Fedora] Fedora Reporter: Valdis Kletnieks <valdis.kletnieks>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-22 06:55:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
typescript of nscd failure none

Description Valdis Kletnieks 2007-12-22 06:49:45 UTC
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):
nscd-2.7.90-1


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Programs like 'ping' get an NXDOMAIN response back.


Expected results:
Programs should be able to find hosts in /etc/hosts.

Additional info:
Filed under 'component=glibc' because there's no 'nscd' component listed in
enter_bug.cgi (even though it's a separate RPM)

Comment 1 Valdis Kletnieks 2007-12-22 06:49:45 UTC
Created attachment 290285 [details]
typescript of nscd failure

Comment 2 Valdis Kletnieks 2007-12-22 06:55:03 UTC
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
bug...

*** This bug has been marked as a duplicate of 425768 ***