[lxc-devel] [lxc/lxc] 0a5fc6: c/r: use criu's "full" mode for cgroups
GitHub
noreply at github.com
Tue Jun 28 01:15:38 UTC 2016
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 0a5fc6dfa772b787b9c06896d348b2137edf0cba
https://github.com/lxc/lxc/commit/0a5fc6dfa772b787b9c06896d348b2137edf0cba
Author: Tycho Andersen <tycho.andersen at canonical.com>
Date: 2016-06-27 (Mon, 27 Jun 2016)
Changed paths:
M src/lxc/criu.c
Log Message:
-----------
c/r: use criu's "full" mode for cgroups
A while ago cgroup modes were introduced to CRIU, which slightly changed
the behavior w.r.t. cgroups under the hood. What we're really after is
criu's --full mode, i.e. even if a particular cgroup directory exists
(in particular /lxc/$container[-$number] will, since we create it), we
should restore perms on that cgroup.
Things worked just fine for actual properties (except "special" properties
as criu refers to them, which I've just sent a patch for) because liblxc
creates no subdirectories, just the TLD.
Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
Commit: 9aea6610d9926869b734ba4ad21bb8ceaafbdd9f
https://github.com/lxc/lxc/commit/9aea6610d9926869b734ba4ad21bb8ceaafbdd9f
Author: Stéphane Graber <stgraber at stgraber.org>
Date: 2016-06-27 (Mon, 27 Jun 2016)
Changed paths:
M src/lxc/criu.c
Log Message:
-----------
Merge pull request #1062 from tych0/fully-manage-cgroups
c/r: use criu's "full" mode for cgroups
Compare: https://github.com/lxc/lxc/compare/4737d51a6257...9aea6610d992
More information about the lxc-devel
mailing list