Bug 187676

Summary: glibc-2.3.6-3 changes nsswitch.conf processing
Product: [Fedora] Fedora Reporter: H.J. Lu <hongjiu.lu>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 4   
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: 2006-04-03 11:17:09 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 H.J. Lu 2006-04-02 15:39:54 UTC
I had

hosts:      files nisplus nis dns

in /etc/nsswitch.conf. Before glibc-2.3.6-3, I had no problem looking up
external hostnames. After upgrading to glibc-2.3.6-3, I got

bash-3.00$ wget  http://www.kernel.org/pub/
--08:42:15--  http://www.kernel.org/pub/
           => `index.html'
Resolving www.kernel.org... failed: No such file or directory.

I had to use

hosts:      files dns

in /etc/nsswitch.conf. It looks like the new glibc treats

hosts:      files nisplus nis dns

as

hosts:      files nisplus nis [NOTFOUND=return] dns

BTW, I am not running YP.

Comment 1 Jakub Jelinek 2006-04-03 11:17:09 UTC

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