[libvirt] [PATCH 3/5] Set default lxc security_driver to none

Cédric Bosdonnat cbosdonnat at suse.com
Fri Feb 21 13:57:28 UTC 2014


No security_driver value could cause weird behavior, like using
apparmor even though we don't want it.
---
 src/lxc/lxc.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lxc/lxc.conf b/src/lxc/lxc.conf
index 8df4601..5eb0122 100644
--- a/src/lxc/lxc.conf
+++ b/src/lxc/lxc.conf
@@ -20,6 +20,8 @@
 # to 'none' instead.
 #
 #security_driver = "selinux"
+#security_driver = "apparmor"
+security_driver = "none"
 
 # If set to non-zero, then the default security labeling
 # will make guests confined. If set to zero, then guests
-- 
1.8.5.2




More information about the libvir-list mailing list