Comment 2 for bug 395155

Revision history for this message
Andreas Ringlstetter (ext3h) wrote :

This message is thrown in /usr/lib/avahi/avahi-daemon-check-dns.sh and causes avahi-daemon to be shut down. Therby zeroconf is no longer avaible, not even when the "faulty" network was left.

Furthermore in most networks this message and the shutdown are the result of a bug in this script, the network itself is just fine!

Line 58 is faulty:
    if echo "$OUT" | egrep -vq 'has no|not found'; then

The "host"-command may throw comments and debug-messages with a trailing ";; " but those are not recognized by this script and therby result in the unnecessary shutdown of avahi-daemon.

Change line 58 into the following to make the script work as supposed (and stop the unwanted shutdown):
    if echo "$OUT" | egrep -vq 'has no|not found|^;; '; then

avahi-daemon will no longer die without a reason after this and the message will only occur on networks which are truly configured wrong.