Unverified Commit 9748d3f1 by Markos Chandras Committed by Christian Brauner

apparmor: Allow /usr/lib* paths for mount and pivot_root

openSUSE Leap 15 is using --libdir=/usr/lib64 when building for x86_64 so we need to allow this path in the apparmor profiles. Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1099239Signed-off-by: 's avatarMarkos Chandras <mchandras@suse.de>
parent 53c1c865
......@@ -9,8 +9,8 @@
ptrace,
# currently blocked by apparmor bug
mount -> /usr/lib/*/lxc/{**,},
mount -> /usr/lib/lxc/{**,},
mount -> /usr/lib*/*/lxc/{**,},
mount -> /usr/lib*/lxc/{**,},
mount fstype=devpts -> /dev/pts/,
mount options=bind /dev/pts/ptmx/ -> /dev/ptmx/,
mount options=bind /dev/pts/** -> /dev/**,
......@@ -34,10 +34,10 @@
# This may look a bit redundant, however it appears we need all of
# them if we want things to work properly on all combinations of kernel
# and userspace parser...
pivot_root /usr/lib/lxc/,
pivot_root /usr/lib/*/lxc/,
pivot_root /usr/lib/lxc/**,
pivot_root /usr/lib/*/lxc/**,
pivot_root /usr/lib*/lxc/,
pivot_root /usr/lib*/*/lxc/,
pivot_root /usr/lib*/lxc/**,
pivot_root /usr/lib*/*/lxc/**,
change_profile -> lxc-*,
change_profile -> unconfined,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment