[lxc-devel] [lxc/lxc] 42e5c9: Fix the unprivileged tests cgroup management

GitHub noreply at github.com
Mon Sep 22 22:10:16 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 42e5c9878f0d20b3e9682ef441afed2f0228b298
      https://github.com/lxc/lxc/commit/42e5c9878f0d20b3e9682ef441afed2f0228b298
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-09-22 (Mon, 22 Sep 2014)

  Changed paths:
    M src/tests/lxc-test-apparmor-mount
    M src/tests/lxc-test-unpriv
    M src/tests/lxc-test-usernic.in

  Log Message:
  -----------
  Fix the unprivileged tests cgroup management

To cover all the cases we have around, we need to:
 - Attempt to use cgm if present (preferred)
 - Attempt to use cgmanager directly over dbus otherwise
 - Fallback to cgroupfs

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list