2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-28 12:58:07 +00:00

restart -> better use reload

Christian Boltz 2021-11-19 20:29:54 +01:00
parent 282a675053
commit 7d1d20048a
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

@ -85,6 +85,8 @@ The restart problem
Restarting the apparmor unit should be avoided. Restarting the apparmor unit should be avoided.
Better use `reload` which doesn't have the problems described in this section.
Systemd handles restart as a stop followed by a start. Unfortunately Systemd handles restart as a stop followed by a start. Unfortunately
this removes all apparmor policy from the kernel and results in all this removes all apparmor policy from the kernel and results in all
tasks entering the unconfined state. The start will then load new tasks entering the unconfined state. The start will then load new