Bug 103953

Summary: running nscd no longer lookup on prevents from /etc/hosts lookups
Product: [Retired] Red Hat Linux Reporter: Peter Bieringer <pb>
Component: nscdAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: 9   
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: 2003-09-08 12:18:23 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:

Description Peter Bieringer 2003-09-08 12:07:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Description of problem:
While nscd is running, no /etc/hosts lookup are done anymore.

Version-Release number of selected component (if applicable):
nscd-2.3.2-27.9

How reproducible:
Always

Steps to Reproduce:
1. add a new entry to /etc/hosts or use "localhost"
2. service nscd off
3. ping localhost   OR ping <newentry>
-> should work
4. service nscd om
5. ping localhost   OR ping <newentry>
-> "hang", running tcpdump on same host shows following queries:

14:01:51.128225 ****.36267 > dns***.domain:  18514+ A? localhost.domain.example.
(38) (DF)


    

Actual Results:  /etc/hosts is no longer used

Expected Results:  /etc/hosts is still used, working like on RHL 7.3

Additional info:

Config files:

# grep ^hosts /etc/nsswitch.conf
hosts:      files dns

# cat /etc/host.conf
order hosts,bind

Comment 1 Peter Bieringer 2003-09-08 12:18:23 UTC
Sorry, was caused during wrong permissions on /etc/hosts (640) after system file
CVS commit.
Perhaps nscd should log a notice about such problems.