[Devel] [PATCH libvzctl 4/4] vz-cpt: treat /var/run/rpcbind.sock as external

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Fri May 13 10:32:18 PDT 2016


This socket appears when portmapper is running.
Mark it as an external, so criu can skip it during dump.

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 scripts/vz-cpt.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/vz-cpt.in b/scripts/vz-cpt.in
index 3d7198a..b8f84e7 100755
--- a/scripts/vz-cpt.in
+++ b/scripts/vz-cpt.in
@@ -79,6 +79,7 @@ criu dump -v$CRIU_LOGLEVEL -o dump.log				\
 		--freeze-cgroup $VE_FREEZE_CG		\
 		--ghost-limit 50M			\
 		--action-script $action_script		\
+		--ext-unix-sk /var/run/rpcbind.sock	\
 		-t $VE_PID				\
 		-D $dumpdir				\
 		$ext_mount_map				\



More information about the Devel mailing list