Skip to content

Commit

Permalink
apparmor: Allow boot_id
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Apr 24, 2020
1 parent eaf3c66 commit d51d0df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/apparmor/abstractions/start-container.in
Expand Up @@ -21,6 +21,8 @@
# allow pre-mount hooks to stage mounts under /var/lib/lxc/<container>/
mount -> /var/lib/lxc/{**,},

mount /dev/.lxc-boot-id -> /proc/sys/kernel/random/boot_id,

# required for some pre-mount hooks
mount fstype=overlayfs,
mount fstype=aufs,
Expand Down

0 comments on commit d51d0df

Please sign in to comment.