From: Serge Hallyn Date: Sun, 31 Jan 2016 15:33:30 +0000 (+0100) Subject: cgfs: always handle named subsystems by default X-Git-Tag: lxc-2.0.0.beta2~8^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c59e6b77feb3bf96f58f4bb74ea119b2aeb35c;p=thirdparty%2Flxc.git cgfs: always handle named subsystems by default Previously, name= controllers would be handled if lxc.cgroup.use=@all, but not if lxc.cgroup.use was unspecified. Change that, since you cannot run systemd in a container without it. Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/cgfs.c b/src/lxc/cgfs.c index 8aed8c06f..963216956 100644 --- a/src/lxc/cgfs.c +++ b/src/lxc/cgfs.c @@ -556,7 +556,7 @@ static struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whi true; all_named_subsystems = subsystem_whitelist ? (lxc_string_in_array("@named", subsystem_whitelist) || lxc_string_in_array("@all", subsystem_whitelist)) : - false; + true; meta_data = calloc(1, sizeof(struct cgroup_meta_data)); if (!meta_data)