From 60e7dc79c8f0939c769282c189dfef920f99b69c Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 19 Jul 2018 22:20:09 -0400 Subject: [PATCH] scripts: don't setup a dedicated AppArmor profile anymore --- scripts/container-manager.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/container-manager.sh b/scripts/container-manager.sh index 46216fd..06a11a4 100755 --- a/scripts/container-manager.sh +++ b/scripts/container-manager.sh @@ -53,11 +53,6 @@ start() { # lib directory as explicit search target here. export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/usr/lib/$ARCH" - if [ -d /sys/kernel/security/apparmor ] ; then - # Load the profile for our Android container - "$SNAP"/sbin/apparmor_parser -r "$SNAP"/apparmor/anbox-container.aa - fi - enable_debug="$(snapctl get debug.enable)" if [ "$enable_debug" = true ]; then export ANBOX_LOG_LEVEL=debug