Bug 103953 - running nscd no longer lookup on prevents from /etc/hosts lookups
running nscd no longer lookup on prevents from /etc/hosts lookups
Product: Red Hat Linux
Classification: Retired
Component: nscd (Show other bugs)
All Linux
high Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2003-09-08 08:07 EDT by Peter Bieringer
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-08 08:18:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Bieringer 2003-09-08 08:07:22 EDT
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):

How reproducible:

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 08:18:23 EDT
Sorry, was caused during wrong permissions on /etc/hosts (640) after system file
CVS commit.
Perhaps nscd should log a notice about such problems.

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