Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

systemd's dependency logic about what is enabled or disabled is not straightforward. For example, I disable buetooth on general principle, and yet it gets enabled (as in activated) in some scenarios due to other stuff depending on it (i think something in gnome does). "systemctl is-enabled foo.service" is not a guarantee about anything. Something else can still start the service without the user's authorization.


> enabled (as in activated)

Not understanding the difference between these is likely part of the problem here.


It's not really the user's fault though. If you really want to make sure that something else doesn't start it, you need to mask the service. But then, you can't start it either. What you really need is "disabled unless I start it". I don't think there is a state like that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: