[lxc-devel] [PATCH 1/1] Remove mention of mountcgroups in ubuntu.common config
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Jul 17 14:08:59 UTC 2014
That mount hook predates the lxc.mount.auto = cgroup option. So mention
that instead.
Perhaps we should simply drop the mountcgroup hook from the tree, but
I'm not doing that in this patch.
(This addresses https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1342960)
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
config/templates/ubuntu.common.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/templates/ubuntu.common.conf.in b/config/templates/ubuntu.common.conf.in
index 631b4bb..19a6a67 100644
--- a/config/templates/ubuntu.common.conf.in
+++ b/config/templates/ubuntu.common.conf.in
@@ -17,7 +17,7 @@ lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0
# To support container nesting on an Ubuntu host while retaining most of
# apparmor's added security, use the following two lines instead.
#lxc.aa_profile = lxc-container-default-with-nesting
-#lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups
+#lxc.mount.auto = cgroup:mixed
# Uncomment the following line to autodetect squid-deb-proxy configuration on the
# host and forward it to the guest at start time.
--
1.9.1
More information about the lxc-devel
mailing list