[cgmanager-devel] [lxc/cgmanager] a08d1c: startup: pivot into a mostly-empty new root

GitHub noreply at github.com
Wed Feb 11 18:59:15 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/cgmanager
  Commit: a08d1c038c8457cda1b5d85c4d628595157812c1
      https://github.com/lxc/cgmanager/commit/a08d1c038c8457cda1b5d85c4d628595157812c1
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

  Changed paths:
    M configure.ac
    M fs.c

  Log Message:
  -----------
  startup: pivot into a mostly-empty new root

And umount everything but /proc and /run/cgmanager/fs in our new root.

That prevents us from pinning them if the host wants to unmount them.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the cgmanager-devel mailing list