gethostbyname() and resolv.conf updates

Bernie Innocenti bernie at codewiz.org
Thu Jun 17 21:41:27 UTC 2010


Hello,

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.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/



More information about the devel mailing list