Hi Trent, On 2016-08-23 05:17 PM, Trent Lloyd wrote: > The d-bus activation thing is a quirk of systemd, it actually tells you > when you run stop. You need to use disable (as well as stop) to both > stop it and prevent re-activation.
Disabling and stopping the socket and the service works for the manual case, thanks. > root@ubuntu:~# systemctl stop avahi-daemon > Warning: Stopping avahi-daemon.service, but it can still be activated by: > avahi-daemon.socket > > You're right about the ifupdown script, though. Unfortunately for me because I'm trying to remotely disable avahi-daemon for clients connecting to a corporate VPN where "domain.local" is used as the DNS zone. I haven't found any valid workaround for the ifupdown script so I now have to instruct every clients to do the disable/stop steps themselves. This in turn has some undesired ramifications as avahi remains inactive even when they are off of the VPN. > The good news on the one hand is that upstream hopefully soon nss-mdns will be improved to no longer need this trick. I just noticed that you are an avahi developer so maybe it's my lucky day :) I don't know why but avahi doesn't seem to limit itself to resolving single DNS label under ".local"? Currently, it will blackhole queries for "server.domain.local". This makes it close to impossible to use a DNS zone under ".local". While I know that using ".local" isn't ideal, it was the recommended way in the past [1] and it's how many networks are setup. The RFC [2] mentions that ".local" is for single labels and OS X also implementation this rule [3]. Do you think it would be possible for avahi to also implement this behavior? Best regards, Simon 1: https://en.wikipedia.org/wiki/.local#Microsoft_recommendations 2: https://tools.ietf.org/html/rfc6762#section-3 3: https://support.apple.com/en-us/HT201275 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1616196 Title: unable to stop avahi-daemon (dbus always restarts it) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1616196/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
