gethostbyname() and resolv.conf updates
mschmidt at redhat.com
Thu Jun 17 22:05:32 UTC 2010
On Thu, 17 Jun 2010 17:41:27 -0400 Bernie Innocenti wrote:
> xchat in Fedora needs to be restarted after switching to a different
> nameserver or it fails to resolve.
> The xchat developers say that all xchat does is call gethostbyname().
> A Debian user told me that Debian carries a glibc patch to make
> processes notice resolv.conf updates and reload it.
> Is there any chance we could apply the same patch in Fedora too? I
> don't know all the details, but I guess there might be a good reason
> why this patch wasn't upstreamed yet.
Ulrich Drepper always said resolv.conf updates are detected fine when
nscd is running, and that everyone should use it. There's a bug
requesting nscd to be mandatory:
More information about the devel