At the prior location we we're placed between sending and receiving
networking information over the data socket causing the startup to fail.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
}
}
- ret = lxc_rootfs_prepare_parent(handler);
- if (ret) {
- ERROR("Failed to prepare rootfs");
- goto out_delete_net;
- }
-
if (!lxc_sync_wake_child(handler, START_SYNC_STARTUP))
goto out_delete_net;
}
}
+ ret = lxc_rootfs_prepare_parent(handler);
+ if (ret) {
+ ERROR("Failed to prepare rootfs");
+ goto out_delete_net;
+ }
+
if (!lxc_list_empty(&conf->procs)) {
ret = setup_proc_filesystem(&conf->procs, handler->pid);
if (ret < 0)