Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ea439aaca19806baab514e67da20ac527de2f96c
      https://github.com/lxc/lxc/commit/ea439aaca19806baab514e67da20ac527de2f96c
  Author: Serge Hallyn <serge.hal...@ubuntu.com>
  Date:   2016-02-26 (Fri, 26 Feb 2016)

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

  Log Message:
  -----------
  fix cgfs failure for unpriv users

Cgmanager was taught awhile ago that only some cgroup controllers are
crucial.  Teach cgfs the same thing.

This patch needs improvement, but will fix failure of lxc without cgmanager
for unprivileged users for now.  In particular, needed improvements include:

1. the check for crucial subsystems needs to include lxc.use
2. we should keep a list of the actually used subsystems so we don't keep
trying to chmod and enter after create has found we couldn't use a particular
subsystem

This fixes unprivileged lxc use.  It does not appear to suffice to fix
nested unprivilegd lxd usage.

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>


  Commit: 5d55659daae5aa70cd579be4bee942a07173440c
      https://github.com/lxc/lxc/commit/5d55659daae5aa70cd579be4bee942a07173440c
  Author: Christian Brauner <christian.brau...@mailbox.org>
  Date:   2016-02-26 (Fri, 26 Feb 2016)

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

  Log Message:
  -----------
  Merge pull request #855 from hallyn/2016-02-26/cgfs.crucial

fix cgfs failure for unpriv users


Compare: https://github.com/lxc/lxc/compare/127ef998ed3d...5d55659daae5
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to