[Pkg-utopia-maintainers] Bug#699749: avahi-daemon: /etc/network/if-up.d/avahi-daemon makes boot slow when most interfaces are handled by N-M

Mike Hommey mh+reportbug at glandium.org
Mon Feb 4 13:24:39 UTC 2013


Package: avahi-daemon
Version: 0.6.31-1
Severity: normal

/etc/network/if-up.d/avahi-daemon rightfully skips itself when the given
IFACE is "lo". However, even when lo is the only effectively configured
interface in /etc/network/interfaces, /usr/lib/avahi/avahi-daemon-check-dns.sh
is called, making the boot wait ~14s for nothing.

My /etc/network/interfaces look like this:

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  allow-hotplug eth0
  #NetworkManager#iface eth0 inet dhcp

  iface tap0 inet static
    (...)


It appears /etc/network/if-up.d/avahi-daemon is called for both IFACE=lo
and IFACE=--all, the latter being the occasion where
/usr/lib/avahi/avahi-daemon-check-dns.sh hangs the boot sequence.

Mike

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages avahi-daemon depends on:
ii  adduser            3.113+nmu3
ii  bind9-host [host]  1:9.8.4.dfsg.P1-5
ii  dbus               1.6.8-1
ii  libavahi-common3   0.6.31-1
ii  libavahi-core7     0.6.31-1
ii  libc6              2.13-38
ii  libcap2            1:2.22-1.2
ii  libdaemon0         0.14-2
ii  libdbus-1-3        1.6.8-1
ii  libexpat1          2.1.0-1
ii  lsb-base           4.1+Debian9

Versions of packages avahi-daemon recommends:
ii  libnss-mdns  0.10-3.2

Versions of packages avahi-daemon suggests:
pn  avahi-autoipd  <none>

-- Configuration Files:
/etc/network/if-up.d/avahi-daemon changed [not included]

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list