scripts: don't setup a dedicated AppArmor profile anymore
This commit is contained in:
parent
bc2cf304b7
commit
60e7dc79c8
1 changed files with 0 additions and 5 deletions
|
|
@ -53,11 +53,6 @@ start() {
|
||||||
# lib directory as explicit search target here.
|
# lib directory as explicit search target here.
|
||||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/usr/lib/$ARCH"
|
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)"
|
enable_debug="$(snapctl get debug.enable)"
|
||||||
if [ "$enable_debug" = true ]; then
|
if [ "$enable_debug" = true ]; then
|
||||||
export ANBOX_LOG_LEVEL=debug
|
export ANBOX_LOG_LEVEL=debug
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue