]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure securityfs is mounted readonly in container
authorDan Walsh <dwalsh@redhat.com>
Thu, 8 Aug 2013 11:51:01 +0000 (12:51 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 8 Aug 2013 13:25:50 +0000 (14:25 +0100)
commit6807238d87fd93dee30038bea1e8582a5f0a9fe7
tree37a0e36c865a5d6670046d23171003c1aafa342e
parentc4eb12067e020b0b30c34b0f8d67943da654761d
Ensure securityfs is mounted readonly in container

If securityfs is available on the host, we should ensure to
mount it read-only in the container. This will avoid systemd
trying to mount it during startup causing SELinux AVCs.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_container.c