Clemens Buchacher schrieb am 2006-12-04: > Anyways, the real problem seems to be the same as in bug #391698 [1]. The > nameserver configuration (/etc/resolv.conf) is only read during the first > call to getaddrinfo.
And who and what would change resolv.conf between off- and online, and why is that necessary? Is there sustainable evidence that resolv.conf changes between off- and online? Is really *stale* nameserver information cached inside libc or in fetchmail's context on behalf of libc's or libresolv's code? If so, it's still a libc/libresolv bug. > For illustration, I have appended a patch which fixes the problem, even if > fetchmail is not restarted in /etc/resolvconf/update-libc.d/fetchmail. > I suppose the current solution is preferable, however. And unfortunately, neither using a documented interface nor is it portable, so not suitable for the upstream. It also requires linking with -lresolv according to my resolver(3) manpage (SUSE 10.0 though, not Debian). This will be the case as long as res_search is only in libresolv, but not in libc - just as a hint for the packagers (Nico, Héctor). Thank you for your information though. -- Matthias Andree -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]