[lxc-devel] [lxc/lxc] 7e7243: cgroup: don't set clone_children when it is alread...
GitHub
noreply at github.com
Thu Dec 19 21:22:16 UTC 2013
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7e7243e16b5af166d6477b81755df67d1082f39b
https://github.com/lxc/lxc/commit/7e7243e16b5af166d6477b81755df67d1082f39b
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2013-12-19 (Thu, 19 Dec 2013)
Changed paths:
M src/lxc/cgroup.c
Log Message:
-----------
cgroup: don't set clone_children when it is already 1
In particular, if it's already 1, and we can't change it, we currently
fail out. That's silly.
I was going to just always continue, but if clone_children is not 1,
then the container *will* fail to start later on, so I'd rather stop
earlier on so the original cause doesn't get lost in the noise.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
More information about the lxc-devel
mailing list