You are not logged in.

#1 2015-06-30 14:02:50

wast3
Member
Registered: 2012-01-26
Posts: 27
Website

sshd and avahi-daemon started by default?

Since a few days (could be more) I noticed that avahi-daemon and sshd are automatically started by systemd upon startup. Even if I disable them with systemctl disable sshd / avahi-daemon they are still started up every time I reboot.
Does anybody know why this is happening and how I can permanently disable them?

many thanks

Offline

#2 2015-06-30 20:52:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: sshd and avahi-daemon started by default?

wast3 wrote:

how I can permanently disable them?

# systemctl mask <name of .service>

Offline

#3 2015-06-30 21:22:45

branch
Member
Registered: 2014-03-16
Posts: 209

Re: sshd and avahi-daemon started by default?

They are being started because something else depends on them. The following commands should tell you what depends on them:

systemctl --reverse list-dependencies avahi-daemon.service
systemctl --reverse list-dependencies sshd.service

Offline

Board footer

Powered by FluxBB