[lxc-devel] [lxc/lxc] c597ba: fix mounts not propagating back to root mntns duri...
GitHub
noreply at github.com
Wed Feb 19 23:52:34 UTC 2014
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: c597baa8f92e708adda14a95a0ed1bfd6b85c1e6
https://github.com/lxc/lxc/commit/c597baa8f92e708adda14a95a0ed1bfd6b85c1e6
Author: Dwight Engen <dwight.engen at oracle.com>
Date: 2014-02-19 (Wed, 19 Feb 2014)
Changed paths:
M src/lxc/bdev.c
M src/lxc/lxccontainer.c
Log Message:
-----------
fix mounts not propagating back to root mntns during create and clone
Systems based on systemd mount the root shared by default. We don't want
mounts done during creation by templates nor those done internally by
bdev during rsync based clones to propagate to the root mntns.
The create case already had the right check, but the mount call was
missing "/", so it was failing.
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
More information about the lxc-devel
mailing list