[CRIU] Unable to send/recv msg to/from CRIU: Connection reset by peer

Ruslan Kuprieiev kupruser at gmail.com
Tue Dec 9 15:38:42 PST 2014


Could you try this patch and show what test now say, please?
I suspect that execlp inside libcriu fails.

---
 lib/criu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/criu.c b/lib/criu.c
index 18d2091..de81124 100644
--- a/lib/criu.c
+++ b/lib/criu.c
@@ -654,6 +654,7 @@ int criu_restore_child(void)
 		sprintf(fds, "%d", sks[1]);
 
 		execlp("criu", "criu", "swrk", fds, NULL);
+		perror("Can't exec criu swrk");
 		exit(1);
 	}
 
-- 
1.9.3



More information about the CRIU mailing list