diff --git a/src/lxc/start.c b/src/lxc/start.c index 61d268ad0..db2a56e71 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -1289,9 +1289,6 @@ static int lxc_spawn(struct lxc_handler *handler) if (lxc_sync_barrier_child(handler, LXC_SYNC_POST_CGROUP)) return -1; - if (detect_shared_rootfs()) - umount2(handler->conf->rootfs.mount, MNT_DETACH); - if (handler->ops->post_start(handler, handler->data)) goto out_abort;