From: Serge Hallyn Date: Thu, 23 Jan 2014 19:02:15 +0000 (-0600) Subject: Revert "cgroupfs: get rid of the redundant error info" X-Git-Tag: lxc-1.0.0.beta3~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6ac3b9eca49a141ee508dc4033e14fae6715946;p=thirdparty%2Flxc.git Revert "cgroupfs: get rid of the redundant error info" This reverts commit a8117b3361c9caf1397f4dc9bbb5e6de3af3cdff. --- diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index 0898f4676..4da0e0730 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -968,8 +968,10 @@ struct cgroup_process_info *lxc_cgroupfs_create(const char *name, const char *pa /* if we didn't create the cgroup, then we have to make sure that * further cgroups will be created properly */ - if (handle_cgroup_settings(mp, info_ptr->cgroup_path) < 0) + if (handle_cgroup_settings(mp, info_ptr->cgroup_path) < 0) { + ERROR("Could not set clone_children to 1 for cpuset hierarchy in pre-existing cgroup."); goto cleanup_from_error; + } /* already existed but path component of pattern didn't contain '%n', * so this is not an error; but then we don't need current_entire_path