Don't mount selinux fs in LXC if selinux is disabled
Before trying to mount the selinux filesystem in a container use is_selinux_enabled() to check if the machine actually has selinux support (eg not booted with selinux=0) Signed-off-by: NDaniel P. Berrange <berrange@redhat.com> (cherry picked from commit 95c6cc34)
Showing
想要评论请 注册 或 登录