[lxc-devel] [lxc/lxc] 4de279: always remount / rslave before running creation te...

GitHub noreply at github.com
Fri Nov 1 19:00:04 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 4de2791fa7dcc6d4cd445f3c6678623a998b18e2
      https://github.com/lxc/lxc/commit/4de2791fa7dcc6d4cd445f3c6678623a998b18e2
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-11-01 (Fri, 01 Nov 2013)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  always remount / rslave before running creation template (if root)

If we're not root, our mounts in private userns won't get pushed
back anyway.  If we are root, we need to make sure that anything
the template does gets cleaned up.

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