gethostbyname() and resolv.conf updates

Huzaifa Sidhpurwala huzaifas at redhat.com
Fri Jun 18 03:26:36 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernie Innocenti wrote:
> 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.
> 
I dont think we should patch glibc, unless its upstream.
Looking at the thread at:
http://sources.redhat.com/ml/libc-alpha/2004-09/msg00109.html
it does not appear this patch would make it upstream though.



- --
Regards,
Huzaifa Sidhpurwala, RHCE, CCNA (IRC: huzaifas)

GnuPG Fingerprint:
3A0F DAFB 9279 02ED 273B FFE9 CC70 DCF2 DA5B DAE5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/

iD8DBQFMGudszHDc8tpb2uURApicAJsFY4D+T59/oLPCMpsPuYMQX4xVVACeK589
3YToGCKcXX0OO8OkqKJJlw8=
=USCv
-----END PGP SIGNATURE-----


More information about the devel mailing list