RPCGSSDOPTS=30c31
[ -x /sbin/rpc.statd ] || exit 042c43
while read DEV MTPT FSTYPE OPTS REST89c90
if [ -x /sbin/modprobe -a -f /proc/modules ]136c137
--exec /sbin/rpc.statd -- $STATDOPTS
In order to increase (a little !) security, and as defined into >http://wiki.debian.org/SecuringNFS, it is a good practice to defined
one static port for nfs-stad daemon.
This feature is available in the man. Furthermore, it is implemented
into /etc/default/nfs-common into variable STATDOPTS.
But is seems that /etc/init/nfs-common script has forgotten to use
this variable when launching daemon. As a result it is not possible to >change ANY option available for this daemon.
On debian bookwoorm, it works.
Find following diff bettween Bookworm and Trixie
diff /tmp/nfs-common-trixie /tmp/nfs-common-bookworm
22a23
RPCGSSDOPTS=30c31
< [ -x /usr/sbin/rpc.statd ] || exit 0
---
[ -x /sbin/rpc.statd ] || exit 042c43
< while read -r DEV _ _ OPTS _
---
while read DEV MTPT FSTYPE OPTS REST89c90
< if [ -x /sbin/modprobe ] && [ -f /proc/modules ]
---
if [ -x /sbin/modprobe -a -f /proc/modules ]136c137
< --exec /usr/sbin/rpc.statd
---
--exec /sbin/rpc.statd -- $STATDOPTS
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 153:09:11 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,828 |