avahi icon indicating copy to clipboard operation
avahi copied to clipboard

An empty `allow-interfaces=` makes the system not reachable

Open votdev opened this issue 2 years ago • 3 comments

If set to the empty list all local interfaces except loopback and point-to-point will be used.

Even if the documentation tells that it should work, it simply does not. I need to uncomment the allow-interfaces= line in /etc/avahi/avahi-daemon.conf and restart the service with systemctl restart avahi-daemon.service to make the system reachable again.

The problem occurs on Debian 12 with the following package versions.

# dpkg -l | grep avahi
ii  avahi-daemon                    0.8-10                               amd64        Avahi mDNS/DNS-SD daemon
ii  libavahi-client3:amd64          0.8-10                               amd64        Avahi client library
ii  libavahi-common-data:amd64      0.8-10                               amd64        Avahi common data files
ii  libavahi-common3:amd64          0.8-10                               amd64        Avahi common library
ii  libavahi-core7:amd64            0.8-10                               amd64        Avahi's embeddable mDNS/DNS-SD library

votdev avatar Nov 26 '23 14:11 votdev

After some confusion about what local means I have to reopen the issue.

votdev avatar Nov 27 '23 16:11 votdev

Looks like it's a documentation bug. It should probably say that it should be unset to pick up the default interfaces. It's unset in the default config coming with avahi.

evverx avatar Nov 27 '23 18:11 evverx

Exactly, this is documentation/functionality bug - empty string "allow-interfaces" makes NO interfaces catched/enumerated thus virtually avahi not working at all. No matter which distro, Avahi 0.8

tomeq82 avatar Feb 21 '24 17:02 tomeq82