Skip to content

Commit

Permalink
apparmor: allow shared mounts in start-container.in
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner (Microsoft) <[email protected]>
  • Loading branch information
brauner authored and Christian Brauner (Microsoft) committed Nov 29, 2022
1 parent 81d94a4 commit 01ae6d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/apparmor/abstractions/start-container.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
mount options=bind /dev/pts/** -> /dev/**,
mount options=(rw, make-slave) -> **,
mount options=(rw, make-rslave) -> **,
mount options=(rw, make-shared) -> **,
mount options=(rw, make-rshared) -> **,
mount fstype=debugfs,
# allow pre-mount hooks to stage mounts under /var/lib/lxc/<container>/
mount -> /var/lib/lxc/{**,},
Expand Down

0 comments on commit 01ae6d4

Please sign in to comment.