From 501bd47a6e4e547d6f0807ed9ae031be4c4b0dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Thu, 20 Jul 2017 16:29:23 +0200 Subject: [PATCH] Fix statd ports. --- templates/etc/default/nfs-common.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/default/nfs-common.j2 b/templates/etc/default/nfs-common.j2 index aeca677..1cdc5f7 100644 --- a/templates/etc/default/nfs-common.j2 +++ b/templates/etc/default/nfs-common.j2 @@ -12,7 +12,7 @@ NEED_STATD= # when you have a port-based firewall. To use a fixed port, set this # this variable to a statd argument like: "--port 4000 --outgoing-port 4001". # For more information, see rpc.statd(8) or http://wiki.debian.org/SecuringNFS -STATDOPTS= +STATDOPTS="--port {{ nfs_rpc_statd_bc }} --outgoing-port {{ nfs_rpc_statd }}" # Do you want to start the idmapd daemon? It is only needed for NFSv4. NEED_IDMAPD=