diff -Nru avahi-0.7/debian/avahi-daemon-check-dns.sh avahi-0.7/debian/avahi-daemon-check-dns.sh --- avahi-0.7/debian/avahi-daemon-check-dns.sh 2018-04-28 06:39:23.000000000 +0800 +++ avahi-0.7/debian/avahi-daemon-check-dns.sh 2018-08-21 14:56:18.000000000 +0800 @@ -73,7 +73,8 @@ fi fi - OUT=`LC_ALL=C host -t soa local. 2>&1` + # Use timeout when calling host as workaround for LP: #1752411 + OUT=`LC_ALL=C timeout 5 host -t soa local. 2>&1` if [ $? -eq 0 ] ; then if echo "$OUT" | egrep -vq 'has no|not found'; then return 0 diff -Nru avahi-0.7/debian/changelog avahi-0.7/debian/changelog --- avahi-0.7/debian/changelog 2018-05-04 15:53:20.000000000 +0800 +++ avahi-0.7/debian/changelog 2018-08-21 14:56:18.000000000 +0800 @@ -1,3 +1,12 @@ +avahi (0.7-4ubuntu2) cosmic; urgency=medium + + * /usr/lib/avahi/avahi-daemon-check-dns.sh: On some hardware, the 'host' + command gets stuck and does not timeout as it should leaving this script + and boot-up hanging indefinitely. Launch host with 'timeout' to kill it + after 5 seconds in these cases as a workaround. (LP #1752411) + + -- Trent Lloyd Tue, 21 Aug 2018 14:56:18 +0800 + avahi (0.7-4ubuntu1) cosmic; urgency=low * Merge from Debian unstable. Remaining changes: