From: Christian Brauner Date: Thu, 1 Mar 2018 16:09:44 +0000 (+0100) Subject: config: start with a full capability set X-Git-Tag: lxc-3.0.0.beta1~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2199%2Fhead;p=thirdparty%2Flxc.git config: start with a full capability set Signed-off-by: Christian Brauner --- diff --git a/config/templates/userns.conf.in b/config/templates/userns.conf.in index be4fbbc6b..967576b4c 100644 --- a/config/templates/userns.conf.in +++ b/config/templates/userns.conf.in @@ -2,5 +2,9 @@ lxc.cgroup.devices.deny = lxc.cgroup.devices.allow = +# Start with a full set of capabilities in user namespaces. +lxc.cap.drop = +lxc.cap.keep = + # We can't move bind-mounts, so don't use /dev/lxc/ lxc.tty.dir =