[Pkg-utopia-maintainers] Bug#929010: Bug#929010: Bug#929010: avahi-daemon: /etc/network/if-post-down.d/avahi-daemon is slow on eth0

Michael Biebl biebl at debian.org
Thu May 16 15:54:26 BST 2019


Am 16.05.19 um 16:37 schrieb Vincent Lefevre:
> On 2019-05-16 16:25:01 +0200, Michael Biebl wrote:
>> What happens, if you only list your local 127.0.0.1 in /etc/resolv.conf?
> 
> See my other mail, i.e. no problems. FYI, I use 192.168.1.1 just
> as a fallback.
> 
>> Well, the assumption that /usr/lib/avahi/avahi-daemon-check-dns.sh makes
>> is, that if a local resolver is configured in /etc/resolv.conf, then it
>> is safe to assume that host lookup can be done, even if there is not
>> default route (== network access).
> 
> This assumption is not correct. One can use a local resolver for
> plenty of reasons.

Sure. The problem is, that you list a fallback server which is not
reachable.

> If you assume that this is safe because the local resolver will
> not hang with a timeout (which is the case with unbound), then
> you should make sure that *only* the local resolver will be used.
> 

Well, if you list a non-reachable server in resolv.conf as fallback,
then the behaviour you see is expected.

I'm happy to review a tested patch, which considers your specific use case.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20190516/45c1c12c/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list