Your message dated Fri, 05 Feb 2021 09:18:24 +0000
with message-id <[email protected]>
and subject line Bug#898038: fixed in avahi 0.8-4
has caused the Debian Bug report #898038,
regarding avahi-daemon-check-dns.sh hangs forever if a nameserver has ::1 in 
the address
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
898038: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898038
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: avahi-daemon
Version: 0.7-4
Severity: important

Dear Maintainer,

There seems to be an error in the regex used to detect the presence of
the local nameservers:

    egrep -q "nameserver 127.0.0.1|::1" /etc/resolv.conf

This also happily greps things like:

    ::1
    nameserver 2001:1234:5678::10
    ::1234
    wrong::1

etc.

This patch may fix the issue, but I haven't checked its correctness, only
ran a short test:

diff --git a/debian/avahi-daemon-check-dns.sh b/debian/avahi-daemon-check-dns.sh
index 7f92e9d..23e5f06 100755
--- a/debian/avahi-daemon-check-dns.sh
+++ b/debian/avahi-daemon-check-dns.sh
@@ -43,7 +43,7 @@ dns_reachable() {
 
   # If there is no local nameserver and no we have no global ip addresses
   # then we can't reach any nameservers
-  if ! $(egrep -q "nameserver 127.0.0.1|::1" /etc/resolv.conf); then 
+  if ! $(egrep -q "nameserver (127.0.0.1|::1)" /etc/resolv.conf); then 
     if [ -x "$(which ip)" ]; then
       ADDRS=$(ip addr show scope global | grep inet)
       ROUTES=$(ip route show 0.0.0.0/0)

-- 
Cheers,
  Andrej

--- End Message ---
--- Begin Message ---
Source: avahi
Source-Version: 0.8-4
Done: Sjoerd Simons <[email protected]>

We believe that the bug you reported is fixed in the latest version of
avahi, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sjoerd Simons <[email protected]> (supplier of updated avahi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 05 Feb 2021 09:21:16 +0100
Source: avahi
Architecture: source
Version: 0.8-4
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<[email protected]>
Changed-By: Sjoerd Simons <[email protected]>
Closes: 433945 559927 629509 747895 878586 898038 929010
Changes:
 avahi (0.8-4) unstable; urgency=medium
 .
   [ Sjoerd Simons ]
   * Team upload
 .
   [ Simon McVittie ]
   * Remove avahi-daemon-check-dns mechanism, no longer needed.
     Thanks to Trent Lloyd, Sebastien Bacher (LP: #1870824)
     (Closes: #433945, #559927, #629509, #747895, #878586, #898038, #929010)
Checksums-Sha1:
 5f59abeca388ceb733d90c43104e5463b3796425 3949 avahi_0.8-4.dsc
 6c79801e83157d290ebd6fa012404c3b01f8f244 34496 avahi_0.8-4.debian.tar.xz
 5e18130623aed7fe153e7d510f3a17a31c29e27b 15683 avahi_0.8-4_source.buildinfo
Checksums-Sha256:
 8f349c90f8deed73e7487b970b72f0a14f39f991c4f5d28f2a7f7fe3361c9da2 3949 
avahi_0.8-4.dsc
 ff2b07f04e2d23283721799cf3b1130379afecd65d3515565145c214b107073e 34496 
avahi_0.8-4.debian.tar.xz
 e4bbedd6dd38cd23708d263ee448f88a2f34a1563f1bf8a2f2310612b631e135 15683 
avahi_0.8-4_source.buildinfo
Files:
 4617857ef2aa3fc6866c7deceb72c531 3949 net optional avahi_0.8-4.dsc
 163fc1776fc8774018fb5c0c16aa09d4 34496 net optional avahi_0.8-4.debian.tar.xz
 b20f0bbf334f38a86b08ff3f8425efe1 15683 net optional 
avahi_0.8-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKHCjG+qdvPJ0cjEIwnTbZMIwD3sFAmAdBrMACgkQwnTbZMIw
D3uS3RAAxsByn2EyHVSdI6hKqKUuoJx9F4+FxQka8IpqKldw1F4qcTtq63IIV4O4
FkJ8R6JXQwZ5rsxanDrpZrVNMB9c6rXWBV78aXlYZnE5LVP2DFE69KYGBCVX2B5N
Oa7qrlFWbsJxqPfYx0BYsnHtgLdLqfZhFKsxvT49/+7JEOwIi3+aY9xTE6CZJLhg
okP7OuU8vEEk0fcypHPbDFjTivXqd7QeUA+pV0YR1qamZheQmucKb3lLpbSNcstY
9+VJQnE1VvP5bpFg4IpswhQQFcqBXWWaqQxutOX33F4c/7tYTUHzagZ1Q2y3IcGF
4Xptc8RLSRUwOf7RC4uY7lKpxJFU2QcqfeuW/quFYYK9WbKBuTZPdLV00mQyyc7x
nmOfSe/5b8JYJJMWNjrUaZEAwojU89DwIiyXMqO+VLvI6iJWS32ZG1vnYxHMWi3d
3nSZ7Ido5BUzyQx2SyIBsTZCWhVNMLilxPc89Brzjzr0GzyfqFhUqZ/K5bmswMfX
ZfRyoHYTclw1OxLZOxa0snBn4heWf7TV92VpIR7gdQ3LBfds9CbPVx31whtEySAM
HsSEQFFACVbTHQvW4YPnhpc+xZe4DgZlzzlwK29uC8unQX1mB5URgMYxOMAIqc4D
1qjo5WMUUKHqnqt42JPbElmrvK9nF3dFQ18oD+m59TuhpL2UVds=
=KwW3
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to