Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177416 - net-im/pidgin cannot resolve dns names after changing network settings
Summary: net-im/pidgin cannot resolve dns names after changing network settings
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL: http://sources.redhat.com/bugzilla/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 08:44 UTC by Laurento Frittella (mrfree)
Modified: 2016-12-02 09:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2007-05-07 08:44:58 UTC
I'm using pidgin on my laptop so often I use it on different networks.
When I my network setting automagically changes in function of the net I use (I use fplugd + suspend2-sources, but a manual change has the same effects) pidgin stops working. If I try to disconnect and then reconnect pidpig it reports errors like this:

"Could not connect to authentication server
[...]
Temporary failure in name resolution"

but the others applications like thunderbird, firefox, mail-notification work great in the same conditions.

Speaking with a pidgin dev (on their irc channel) he told me that pidgin simply calls gethostbyname() and there's no caching of DNS server data, so he thinks it would be a bug in my (gentoo) libc's DNS resolution library
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2007-05-26 19:52:46 UTC
This bug is strange, do we have anything special in our libc resolver configuration?
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-05-26 20:26:12 UTC
Why would only pidgin be affected though?

Is the reporter running any local dns or caching services like these?
dnsmasq, bind, djbdns, nscd
Comment 3 Laurento Frittella (mrfree) 2007-05-27 11:11:20 UTC
(In reply to comment #2)
> Is the reporter running any local dns or caching services like these?
> dnsmasq, bind, djbdns, nscd

No, I haven't any of these packages installed.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-05-27 13:34:28 UTC
nscd comes with glibc, which you do have installed.
When the switch happens, is /etc/resolv.conf still valid compared to the previous one?
Comment 5 SpanKY gentoo-dev 2007-05-27 17:17:23 UTC
this is a "feature" of the glibc resolver which is "solved" by using nscd

see:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=984
http://sources.redhat.com/bugzilla/show_bug.cgi?id=3675
Comment 6 SpanKY gentoo-dev 2007-05-27 17:19:02 UTC
SuSE has a patch for this which i'll merge since i agree this is a stupid feature
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-05-27 23:03:52 UTC
So you don't want the dhcp clients to do ncsd -i hosts if they cannot do res_init then?
Comment 8 SpanKY gentoo-dev 2007-05-28 01:24:04 UTC
i dont understand your question