[lxc-devel] [lxc/lxc] 9179d2: c/r: use criu's "full" mode for cgroups

GitHub noreply at github.com
Tue Jun 28 15:40:15 UTC 2016


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: 9179d21a5df6d41770df2aa67653722596ab079e
      https://github.com/lxc/lxc/commit/9179d21a5df6d41770df2aa67653722596ab079e
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-06-28 (Tue, 28 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>




More information about the lxc-devel mailing list