I am running Kali 2.0 64-bit, and I recently noticed that avahi-daemon is starting at boot time, listening on several udp ports.
How do I disable it completely, without purging the package itself?
I have tried
sudo rcconf --off avahi-daemon
But there is a warning: Service 'avahi-daemon' is already off. Skipping...
I then tried
sudo update-rc.d -f avahi-daemon remove
It doesn't produce any errors, nor warnings, but avahi-daemon still persists at boot time.
I then tried editing the /etc/default/avahi-daemon file by adding
AVAHI_DAEMON_START = 0
But that doesn't work either.
I finally used the UPSTART manual override -->>
echo manual | sudo tee /etc/init/avahi-daemon.override
And still no go.
I am at my wits's end!