[Pkg-utopia-maintainers] Bug#406272: avahi-daemon: Please try to avoid host lookup

Matthew Foulkes m.foulkes at blueyonder.co.uk
Thu Jan 11 21:21:43 CET 2007


Package: avahi-daemon
Version: 0.6.16-2
Followup-For: Bug #406272


This is a real annoyance for anyone booting a machine on a local network
with no DNS server available. The host command in the line

OUT=`LC_ALL=C host -t soa local. 2>&1`

from /etc/network/if-up.d/avahi-daemon hangs for quite a time before
deciding that it cannot reach a DNS server. Is there any way to make the
host command give up more quickly (I tried the -W flag but it didn't
seem to work) or else to check that a DNS server is available before
running the host command in the first place?

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages avahi-daemon depends on:
ii  adduser                     3.101        Add and remove users and groups
ii  dbus                        1.0.2-1      simple interprocess messaging syst
ii  libavahi-common3            0.6.16-2     Avahi common library
ii  libavahi-core4              0.6.16-2     Avahi's embeddable mDNS/DNS-SD lib
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libcap1                     1:1.10-14    support for getting/setting POSIX.
ii  libdaemon0                  0.10-1       lightweight C library for daemons
ii  libdbus-1-3                 1.0.2-1      simple interprocess messaging syst
ii  libexpat1                   1.95.8-3.4   XML parsing C library - runtime li

Versions of packages avahi-daemon recommends:
ii  libnss-mdns                   0.9-0.1    NSS module for Multicast DNS name 

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list