Red Hat Bugzilla – Bug 126320
restart nscd on writing out resolv.conf
Last modified: 2007-11-30 17:10:44 EST
When changing network interfaces, glibc keeps using the old
resolv.conf for a while. Dan says restarting nscd is how we're
supposed to fix this.
Or not using nscd. :)
Ah, we need nscd for caching the gecos info for users though...
We've been told by glibc developers that
making nscd re-read resolv.conf on changes
is not an option .
If resolv.conf changes, restart nscd.
*** This bug has been marked as a duplicate of 125712 ***
/etc/resolv.conf should probably only be accessed through viresolv
like visudo or addnameserver delnameserver like adduser for /etc/passwd
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.