[pkg-fetchmail-maint] Bug#389270: [PATCH][EXPERIMENTAL] try to fix persistent DNS errors.

Clemens Buchacher drizzd at aon.at
Sat Dec 9 15:04:06 CET 2006


Hi,

On Thu, Dec 07, 2006 at 04:37:46PM +0100, Matthias Andree wrote:
> Could someone experiencing or able to reproduce this bug please try the
> attached patch and see if it resolves the problem?

Works for me.

> Apparently the problem can be reproduced on systems where
> /etc/resolv.conf is a dummy (for instance, on systems with just a
> modem) when fetchmail is started.

To reproduce the problem I simply remove all nameservers from resolv.conf,
restart fetchmail, re-add the nameservers to resolv.conf and awaken fetchmail.
Previously to this fix, whenever fetchmail was awakened it would fail with
"Temporary failure in name resolution" until restarted.

With this I think there is no need for /etc/resolvconf/update-libc.d/fetchmail
any more. On the other hand, it's actually nice to awaken fetchmail whenever
the network connection changes, so that mail is retrieved as soon as a new link
is established.

Clemens

Followup-For: Bug #389270
Package: fetchmail
Version: 6.3.6~rc3-1 (plus the res_init patch)

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc5-ga8bd6070-dirty
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages fetchmail depends on:
ii  adduser                      3.100       Add and remove users and groups
ii  debianutils                  2.17.4      Miscellaneous utilities specific t
ii  gettext                      0.16.1-1    GNU Internationalization utilities
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libssl0.9.8                  0.9.8c-4    SSL shared libraries
ii  lsb-base                     3.1-22      Linux Standard Base 3.1 init scrip

Versions of packages fetchmail recommends:
ii  ca-certificates               20061027   Common CA Certificates PEM files

-- no debconf information




More information about the pkg-fetchmail-maint mailing list