diff --git a/templates/lxc-openstack.apparmor.j2 b/templates/lxc-openstack.apparmor.j2 index 4356a996..bda9eab5 100644 --- a/templates/lxc-openstack.apparmor.j2 +++ b/templates/lxc-openstack.apparmor.j2 @@ -21,6 +21,7 @@ profile lxc-openstack flags=(attach_disconnected,mediate_deleted) { # allow System access. mount fstype=cgroup -> /sys/fs/cgroup/**, + mount fstype=cgroup2 -> /sys/fs/cgroup/**, mount fstype=proc -> {{ lxc_container_cache_path }}/**, mount fstype=sysfs -> {{ lxc_container_cache_path }}/**, mount options=(rw,bind) {{ lxc_container_cache_path }}/**/dev/shm/ -> {{ lxc_container_cache_path }}/**/run/shm/,