[Pkg-utopia-maintainers] Bug#691604: avahi-daemon-check-dns.sh runs even if avahi disabled

Hans_Mueller doenjang at yahoo.de
Sat Oct 27 14:43:48 UTC 2012


Package: avahi-daemon
Version: 0.6.27-2+squeeze1
Severity: normal

I deactivated avahi because my network seems to have a unicast
..local domain which is incompatible to the services of avahi. Yet
the script avahi-daemon-check-dns.sh keeps throwing error messages
at me even though there is no avahi-daemon running at all: "Avahi
detected that your currently configured local DNS server serves
a domain .local. This is inherently incompatible with Avahi ..."

This is how I deactivated avahi: in /etc/default/avahi-daemon I
set: AVAHI_DAEMON_START=0

This is how avahi-daemon-check-dns.sh gets called: via "ifup
eth0" and /etc/network/if-up.d/avahi-daemon

This is why I get the error message even though avahi-daemon is
not running: avahi-daemon-check-dns.sh sources
/etc/default/avahi-daemon but it doesn't check the variable
AVAHI_DAEMON_START. There should be a statement like:

if [ "$AVAHI_DAEMON_START" = "0" ]; then
     exit 0
fi



-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages avahi-daemon depends on:
ii  adduser          3.112+nmu2              add and remove users and groups
ii  bind9-host [host 1:9.7.3.dfsg-1~squeeze8 Version of 'host' bundled with BIN
ii  dbus             1.2.24-4+squeeze1       simple interprocess messaging syst
ii  host             1:9.7.3.dfsg-1~squeeze8 Transitional package
ii  libavahi-common3 0.6.27-2+squeeze1       Avahi common library
ii  libavahi-core7   0.6.27-2+squeeze1       Avahi's embeddable mDNS/DNS-SD lib
ii  libc6            2.11.3-4                Embedded GNU C Library: Shared lib
ii  libcap2          1:2.19-3                support for getting/setting POSIX.
ii  libdaemon0       0.14-2                  lightweight C library for daemons 
ii  libdbus-1-3      1.2.24-4+squeeze1       simple interprocess messaging syst
ii  libexpat1        2.0.1-7+squeeze1        XML parsing C library - runtime li
ii  lsb-base         3.2-23.2squeeze1        Linux Standard Base 3.2 init scrip

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

Versions of packages avahi-daemon suggests:
ii  avahi-autoipd          0.6.27-2+squeeze1 Avahi IPv4LL network address confi

-- Configuration Files:
/etc/default/avahi-daemon changed:
AVAHI_DAEMON_DETECT_LOCAL=1
AVAHI_DAEMON_START=0


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list