Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 74477

Summary: hosts are looked up in DNS first, despite nsswitch requesting otherwise
Product: [Retired] Red Hat Linux Reporter: Aleksey Nogin <aleksey>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: fweimer, herrold
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-06 10:22:50 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 Aleksey Nogin 2002-09-25 01:23:12 UTC
In /etc/nsswitch.conf I have the default

hosts:      files nisplus dns

However, for hosts that have both DNS and /etc/hosts entry, the DNS entry is
used and only in a host is not known to DNS, the /etc/hosts entry will be used.

This might have secutiry implications is certain cases, so setting "Severity:
security".

Comment 1 Jakub Jelinek 2002-10-18 20:15:02 UTC
Can you attach a strace output of such program plus what exactly do you have
in /etc/hosts?
Works just fine for me.

Comment 2 Aleksey Nogin 2003-01-06 10:22:50 UTC
I no longer can reproduce it, sorry.