[lxc-devel] [lxc/lxc] 0996e1: cgmanager: chown cgroups to the container root

GitHub noreply at github.com
Fri Jan 24 22:27:53 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0996e18ad5153151ffb36cb646d36e5086d4ea54
      https://github.com/lxc/lxc/commit/0996e18ad5153151ffb36cb646d36e5086d4ea54
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-24 (Fri, 24 Jan 2014)

  Changed paths:
    M src/lxc/cgmanager.c
    M src/lxc/cgroup.c
    M src/lxc/cgroup.h
    M src/lxc/start.c

  Log Message:
  -----------
  cgmanager: chown cgroups to the container root

After this patch, starting an unprivileged container using
cgmanager gets the cgroup chown to the container root, so
that it can install the cgmanager (proxy) and make cgroup
requests.

(Still desirable and not in this patch is the automatic setup of
/sys/fs/cgroup/manager/sock, which you can currently do with
two lxc.mount.entries)

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