From 6aee1918ce18f22aa93b62e58f3151c82cc00eb0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 8 Dec 2006 18:43:22 +0000 Subject: Call res_init() at the beginning of the poll, if the computer has res_search(). This is supposed to re-read /etc/resolv.conf in order to pick up changes made by dhcpcd, dhclient, pppd, openvpn or similar. To fix Debian Bug #389270 (DNS errors in daemon mode) and others. svn path=/branches/BRANCH_6-3/; revision=4986 --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 278c6f4f..142b0f22 100644 --- a/NEWS +++ b/NEWS @@ -79,6 +79,12 @@ fetchmail 6.3.6 (not yet released): * RPOP: The password is now shrouded in the local logs. * Robustness: If a stale lockfile cannot be deleted, truncate it to avoid trouble later if the PID is recycled by a non-fetchmail process. +* On systems that have res_search(), assume we also have res_init() and call it + (suggested by Ulrich Drepper, glibc bug #3675) in order to make libc or + libresolv reread the resolver configuration at the beginning of a poll cycle. + This is important when fetchmail is in daemon mode and /etc/resolv.conf is + changed later by dhcpcd, dhclient, pppd, openvpn or other ip-up/ipchange + scripts. Should fix Debian Bug#389270, Bug#391698. # TRANSLATIONS: * New en_GB (British English) translation by David Lodge. -- cgit v1.2.3