mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-17 19:49:59 +00:00
Merge pull request #794 from Blub/next
apparmor: allow binding /run/{,lock/} -> /var/run/{,lock/}
This commit is contained in:
commit
81db418925
@ -62,6 +62,10 @@
|
|||||||
# allow bind mount of /lib/init/fstab for lxcguest
|
# allow bind mount of /lib/init/fstab for lxcguest
|
||||||
mount options=(rw, bind) /lib/init/fstab.lxc/ -> /lib/init/fstab/,
|
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
|
# deny writes in /proc/sys/fs but allow binfmt_misc to be mounted
|
||||||
mount fstype=binfmt_misc -> /proc/sys/fs/binfmt_misc/,
|
mount fstype=binfmt_misc -> /proc/sys/fs/binfmt_misc/,
|
||||||
deny @{PROC}/sys/fs/** wklx,
|
deny @{PROC}/sys/fs/** wklx,
|
||||||
|
Loading…
Reference in New Issue
Block a user