[Pkg-utopia-maintainers] Bug#764084: avahi-daemon creates eth0:avahi briefly after startup overriding wlan0, no eth0 connected

Ævar Arnfjörð Bjarmason avarab at gmail.com
Sun Oct 5 12:15:58 UTC 2014


On Sun, Oct 5, 2014 at 1:45 PM, Ævar Arnfjörð <avarab at gmail.com> wrote:
> I'm just going to solve this problem my disabling
> avahi-autoipd/avahi-daemon, I don't need a ZeroConf daemon for
> anything, but this seems like really odd and buggy default
> behavior. Why would it be creating an eth0:avahi interface that
> overrides the default wlan0 route?

How does one disable this daemon anyway? This doesn't work:

    $ sudo update-rc.d -f avahi-daemon remove
    $ sudo update-rc.d avahi-daemon defaults

Neither does setting this in /etc/defaults/avahi-daemon as some
sources I googled suggested: AVAHI_DAEMON_START=0. An old bug report
to this package (#462155) says that's been removed and you should use
this instead:

    $ sysv-rc-conf avahi-daemon off

That doesn't work either, it keeps starting up after reboot. It
doesn't work either to set this in avahi-daemon.conf, it creates
eth0:avahi still:

    deny-interfaces=eth0,wlan0,tun0

Manually stopping it suggests that it may just be started again
implicitly when something accesses its socket:

    $ sudo service avahi-daemon stop
    Warning: Stopping avahi-daemon.service, but it can still be
activated by: avahi-daemon.socket

And indeed doing that has no effect, even killing it just brings it
right back up:

    ==> /var/log/daemon.log <==
    Oct  5 14:14:54 snth avahi-daemon[3475]: avahi-daemon 0.6.31 exiting.
    Oct  5 14:14:54 snth systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
    Oct  5 14:14:54 snth dbus[676]: [system] Activating via systemd:
service name='org.freedesktop.Avahi'
unit='dbus-org.freedesktop.Avahi.service'

So maybe I'm missing something really obvious but if you could tell me
how this service can be stopped that would be much appreciated.



More information about the Pkg-utopia-maintainers mailing list