On Fri, 2024-11-08 at 01:19 -0500, Jeffrey Walton wrote:
Disabling a service only lasts until the next (re)boot. And it does not stop currently executing services, and the service can still be started in the current session.
Not quite the full picture, not in general, even if that was a specific example of some service that will not quite do what you expect. Disabling means setting it so it's not started up (by your preferences).
Something else could start a disabled service, such as some other service that wants/needs it. Rebooting *may* but doesn't necessarily mean it will.
If you want to permanently disable the service, you must mask it.
That's certainly true.
Enabled - I want this to be started (usually after booting) Disabled - I don't want this to be started by default Masked - I really don't want this to be started, and obey me, dammit!
Stop - stop it now, but do not change the above preferences Start - start it now, but do not change the above preferences