1. 14 Oct, 2014 6 commits
  2. 09 Oct, 2014 2 commits
  3. 08 Oct, 2014 8 commits
  4. 07 Oct, 2014 7 commits
  5. 03 Oct, 2014 15 commits
  6. 02 Oct, 2014 2 commits
    • Andrey Vagin's avatar
      test: expand the default test set · f582f16d
      Andrey Vagin authored
      * check page server
      * check snapshots
      * check a few iterations of dump/restore
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      f582f16d
    • Tycho Andersen's avatar
      restore: copy special cpuset props recursively · 169f25b6
      Tycho Andersen authored
      The symptom of this bug was that users restoring tasks to a nested cgroup where
      the top level group was created by criu (and not previously configured) e.g.
      cpuset:/lxc/u1 would get an ENOSPC. criu would try to copy the special
      properties into /lxc/u1 directly and (silently) fail, and then tried to copy
      the task into the cg and fail with ENOSPC:
      
      ENOSPC Attempted  to  write(2)  an empty cpuset.cpus or cpuset.mems setting to
             a cpuset that has tasks attached.
      
      Fixing the silent failure to a loud failure, it gave EACCES:
      
      EACCES Attempted to add, using write(2), a CPU or memory node to a cpuset, when
             that CPU or memory node was not already in its parent.
      
      So, we need to copy the the special props down the entire tree. Additionally,
      we shouldn't copy props directly from the top, since some intermediate point in
      the tree could add restrictions. We first walk back up the tree to find the
      first point where the props are empty, and then copy that parent's props all
      the way down.
      Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      169f25b6