Red Hat Bugzilla – Bug 186661
FC4 to FC5: nisplus in hosts line for /etc/nsswitch.conf breaks wget, yum, and rpm
Last modified: 2014-01-21 17:53:52 EST
Description of problem:
Upgraded box from FC4 to FC5 using CDs. After FC5 is installed wget, yum, and
rpm http all fail, claiming no such file or directory. curl, lynx, and good ol'
telnet on port 80 properly retrieve files from webservers.
The upgrade leaves /etc/nsswitch.conf w/ the following hosts config:
hosts: files nisplus dns
removing nisplus fixes the problems with wget, yum and rpm http. Another FC5 box
I have access to (formatted and installed clean) has the hosts config as only
files and dns. The FC4 box worked properly before the upgrade.
Version-Release number of selected component (if applicable):
FC5 initial release upgrades from fully patched FC4 box
Add nisplus back into the config and it is broken. Even with nscd running.
Steps to Reproduce:
wget yum and rpm http fail to download files
wget yum and rpm http should download files
Another user in #fedora on freenode had the exact same issue with the same
resolution. Will be directing him to add to this bug report.
Had you set up things to use nisplus? We never ship with that as the config.
Can you provide the /root/upgrade.log?
Created attachment 126862 [details]
upgrade log from FC4 to FC5
No, I don't know what nisplus is; I just layed FC5 over FC4; I've taken this box
from FC1 and some older RH boxes through each FC release, but this was the first
time I had any issues with it.
Caused by nisplus being broken in glibc :-/
*** This bug has been marked as a duplicate of 186592 ***
I had the same problem on FC4 after the recent update to glibc-2.3.6-3