How to disable certain services (e.g. avahi-daemon) under systemd?
In Debian 8 which uses systemd, the avahi service is enabled by default. It flooded my syslog with usesless messages like
Code:
Aug 21 10:42:54 wirawan2 avahi-daemon[1474]: Invalid response packet from host xxx.xxx.xxx.xxx. Frankly I do not like avahi daemon and don't care to have it running on my system. In particular, this software sniffs everyone on the network. So here is my question: How to disable avahi daemon for good in systemd-based system and prevent its name being called by anyone (so to speak). I tried several commands: Code:
systemd stop avahi-daemon Code:
systemd mask avahi-daemon Code:
Sep 2 11:57:33 wirawan2 dbus[1486]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' Wirawan |
Have you tried to simply uninstall the avahi-daemon?
I works for me. |
In directory: /etc/systemd/system/multi-user.target.wants there will be a symbolic link for the service to enable avahi. Just remove that link.
|
Moderator response
Moved: This thread is more suitable in <Debian> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Quote:
|
All times are GMT -5. The time now is 10:21 PM. |