[Pkg-utopia-maintainers] Bug#559927: /usr/lib/avahi/avahi-daemon-check-dns.sh significantly delays the boot

Mikhail Gusarov dottedmag at dottedmag.net
Sat Mar 6 22:12:35 UTC 2010


Package: avahi-daemon
Version: 0.6.25-1ubuntu5.1
Severity: normal


While I don't experience such huge delays as Fabian, avahi-daemon-check-dns.sh still
delays ifup a bit (adds ~0.2s to total time). Attached simple patch moves check to the
background thus making ifup faster while not breaking anything else.

P.S: nevermind the Ubuntu information, it's just the desktop I am reporting bug from.

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-9-generic-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages avahi-daemon depends on:
ii  adduser       3.110ubuntu7               add and remove users and groups
ii  bind9-host [h 1:9.6.1.dfsg.P1-3ubuntu0.3 Version of 'host' bundled with BIN
ii  dbus          1.2.16-0ubuntu9            simple interprocess messaging syst
ii  libavahi-comm 0.6.25-1ubuntu5.1          Avahi common library
ii  libavahi-core 0.6.25-1ubuntu5.1          Avahi's embeddable mDNS/DNS-SD lib
ii  libc6         2.10.1-0ubuntu16           GNU C Library: Shared libraries
ii  libcap2       1:2.16-5ubuntu1            support for getting/setting POSIX.
ii  libdaemon0    0.13-3                     lightweight C library for daemons 
ii  libdbus-1-3   1.2.16-0ubuntu9            simple interprocess messaging syst
ii  libexpat1     2.0.1-4ubuntu1.1           XML parsing C library - runtime li
ii  lsb-base      4.0-0ubuntu5               Linux Standard Base 4.0 init scrip
ii  upstart [upst 0.6.3-11                   event-based init daemon

Versions of packages avahi-daemon recommends:
ii  libnss-mdns                0.10-3ubuntu3 NSS module for Multicast DNS name 

Versions of packages avahi-daemon suggests:
ii  avahi-autoipd          0.6.25-1ubuntu5.1 Avahi IPv4LL network address confi

-- no debconf information
-------------- next part --------------
--- /var/lib/lxc/test/rootfs/etc/network/if-up.d/avahi-daemon	2010-01-14 05:53:29.000000000 +0600
+++ avahi-daemon	2010-03-07 04:07:57.686429522 +0600
@@ -8,5 +8,5 @@
 # If we have an unicast .local domain, we immediately disable avahi to avoid
 # conflicts with the multicast IP4LL .local domain
 if [ -x /usr/lib/avahi/avahi-daemon-check-dns.sh ] ; then
-  exec /usr/lib/avahi/avahi-daemon-check-dns.sh
+  /usr/lib/avahi/avahi-daemon-check-dns.sh&
 fi


More information about the Pkg-utopia-maintainers mailing list