Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
interfaces/apparmor: load all apparmor profiles on snap setup #962
Conversation
|
retest this please |
niemeyer
changed the title from
interfaces/apparmor: always load all apparmor profiles when setting u…
to
interfaces/apparmor: load all apparmor profiles on snap setup
Apr 14, 2016
niemeyer
merged commit a356a31
into
snapcore:master
Apr 14, 2016
zyga
deleted the
zyga:ifaces-apparmor-loads-all-profiles
branch
Dec 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedApr 14, 2016
•
Edited 1 time
-
niemeyer
Apr 14, 2016
This patch ensures that each time we setup apparmor for aspecific snap
we load all profiles. This fixes the unlikely case when a profile is
not changed on disk because earlier setup already put it into place but
snapd was interrupted right before the profile is loaded into the kernel.
The task that contained the security setup will be re-tried and all
profiles will be correctly loaded.
Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com