GNOME Bugzilla – Bug 441613
Reconnect fails to find host
Last modified: 2007-09-13 01:28:29 UTC
When I suspend my laptop and move to a new network, xchat-gnome is unable to find the irc hosts. I usually have to manually initiate a reconnect with the /reconnect command as the NetworkManager plugin does not appear to work. This results in an unknown host message and I have to restart xchat-gnome to be able to log back in. Reconnecting while on the same network is fine. I have the OSD, NM and notification plugins enabled and I use NetworkManager to manage my network connections. Steps to Reproduce: 1. Log in to an irc server. 2. Move machine onto a new network 3. xchat fails to notice loss of connection, so initiate manual reconnect Actual results: Unknown host messages Expected results: xchat-gnome should find the host and reconnect.
I've been having similar problems. The problem appears to be that the call to gethostbyname still tries to lookup the ip address using the name server from the old network. I guess gethostbyname needs to be told to re-read /etc/resolve.conf
I just committed a change which I *think* will fix this, but it's not easy for me to test it. Can you reopen if it doesn't work?