apparmor: Allow boot_id

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Stéphane Graber 2020-04-21 13:09:07 -04:00
parent ecf1f1207b
commit 863845075d
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View File

@ -21,6 +21,8 @@
# allow pre-mount hooks to stage mounts under /var/lib/lxc/<container>/ # allow pre-mount hooks to stage mounts under /var/lib/lxc/<container>/
mount -> /var/lib/lxc/{**,}, mount -> /var/lib/lxc/{**,},
mount /dev/.lxc-boot-id -> /proc/sys/kernel/random/boot_id,
# required for some pre-mount hooks # required for some pre-mount hooks
mount fstype=overlayfs, mount fstype=overlayfs,
mount fstype=aufs, mount fstype=aufs,