]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
apparmor: Refresh generated file
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 28 Jun 2016 19:35:58 +0000 (15:35 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:29:37 +0000 (18:29 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
config/apparmor/abstractions/container-base

index 20f1f587fe3e0545148b3b8ee747e6e70ed535b0..70aa45b1f1456332c2aa646893322aeb204e6567 100644 (file)
   # allow bind mount of /lib/init/fstab for lxcguest
   mount options=(rw, bind) /lib/init/fstab.lxc/ -> /lib/init/fstab/,
 
+  # allow bind mounts of /run/{,lock} to /var/run/{,lock}
+  mount options=(rw, bind) /run/ -> /var/run/,
+  mount options=(rw, bind) /run/lock/ -> /var/lock/,
+
   # deny writes in /proc/sys/fs but allow binfmt_misc to be mounted
   mount fstype=binfmt_misc -> /proc/sys/fs/binfmt_misc/,
   deny @{PROC}/sys/fs/** wklx,
@@ -84,6 +88,7 @@
   deny mount fstype=debugfs -> /var/lib/ureadahead/debugfs/,
   mount fstype=proc -> /proc/,
   mount fstype=sysfs -> /sys/,
+  mount options=(rw, nosuid, nodev, noexec, remount) -> /sys/,
   deny /sys/firmware/efi/efivars/** rwklx,
   deny /sys/kernel/security/** rwklx,
   mount options=(move) /sys/fs/cgroup/cgmanager/ -> /sys/fs/cgroup/cgmanager.lower/,