Red Hat Bugzilla – Bug 846772
Sudo update b0rks localhost resolving completely
Last modified: 2012-08-09 05:45:34 EDT
Description of problem:
Updating sudo to latest
b0rked server to inability to resolve any local name
127.0.0.1 localhost testname
some programs cannot resolve that anymore like php, python scripts
but interestingly ping(8) works.
I resolved this by
yum remove sudo
yum downgrade glibc glibc-common nscd
yum update glibc
yum install sudo
and now local name resolving works.
Found the culprit, upgrading sudo changes file permission of /etc/nsswitch.conf from 644 to 600.
It happens only on x86_64 arch.
*** This bug has been marked as a duplicate of bug 846631 ***