Bug 426563 - nscd ignores entries in /etc/hosts
Summary: nscd ignores entries in /etc/hosts
Keywords:
Status: CLOSED DUPLICATE of bug 425768
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-22 06:49 UTC by Valdis Kletnieks
Modified: 2007-12-22 06:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-22 06:55:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
typescript of nscd failure (1.08 KB, application/octet-stream)
2007-12-22 06:49 UTC, Valdis Kletnieks
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.