[CRIU] [PATCH] scripts: add unmasked NFS route print to nfs-ports-allow.sh

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Thu Sep 22 03:58:59 PDT 2016


This will allow to investigate, whether script does it properly.

https://jira.sw.ru/browse/PSBM-52353

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
 scripts/nfs-ports-allow.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/nfs-ports-allow.sh b/scripts/nfs-ports-allow.sh
index f8ab4a1..b16a788 100644
--- a/scripts/nfs-ports-allow.sh
+++ b/scripts/nfs-ports-allow.sh
@@ -44,6 +44,7 @@ function iptables_allow_nfs_ports {
 	local ports=$2
 
 	for p in $ports; do
+		echo "Unmasking NFS route $s:$p"
 		add_accept_rules $server $p || break
 	done
 }



More information about the CRIU mailing list