[lxc-devel] [PATCH 1/1] sleep 0.5s on reboot

2015-11-11 Thread Serge Hallyn
to give lxcfs' cgroup view time out. Signed-off-by: Serge Hallyn --- src/lxc/lxccontainer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 5207255..14c73b2 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -833,6 +833,7

[lxc-devel] clone: clear the rootfs out of unexpanded config

2015-11-11 Thread Serge Hallyn
Closes #694 When we start cloning container c1 to c2, we first save c1's configuration in c2's as a starting point. We long ago cleared out the lxc.rootfs entry before saving it, so that if we are killed before we update the rootfs, c2's rootfs doesn't point to c1's. Because then lxc-destroy -n