Skip to content
Snippets Groups Projects
Commit 380e5ae9 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

Recreate AppArmor cache after install of LXC profile


Forced recache is needed to use installed profile after the
system reboot.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>

Differential Revision: https://phabricator.apertis.org/D7741
parent 27ca7dcc
Branches T4539
No related tags found
No related merge requests found
......@@ -459,5 +459,7 @@ EOF
# Load and regenerate apparmor cache
apparmor_parser --skip-read-cache --write-cache -r $apparmor_profile
# Regenerate AppArmor cache (T4539)
/lib/apparmor/recache-profiles
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment