After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 441613 - Reconnect fails to find host
Reconnect fails to find host
Status: RESOLVED FIXED
Product: xchat-gnome
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-27 15:57 UTC by Brian Pepple
Modified: 2007-09-13 01:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brian Pepple 2007-05-27 15:57:55 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.
Comment 1 Simon Goodall 2007-07-20 18:05:21 UTC
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
Comment 2 David Trowbridge 2007-09-13 01:28:29 UTC
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?