Bug#650425: Please add options to set the port range for nfs clients
Package: nfs-common
Version: 1:1.2.5-2
Severity: normal
Today when I booted one of the NFS mounts used port 873, which is the
port used for rsyncd. This then caused errors from inetd because it
could not use that port for rsyncd.
>From nfs(5) I see that one can set a port range to be used by nfs
clients but there is no mention of how to actualy go about that.
Please add an option to /etc/default/nfs-common to specify a port
range and set that range at boot time.
MfG
Goswin
-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 41413 status
100024 1 tcp 49714 status
100021 1 udp 42490 nlockmgr
100021 3 udp 42490 nlockmgr
100021 4 udp 42490 nlockmgr
100021 1 tcp 59442 nlockmgr
100021 3 tcp 59442 nlockmgr
100021 4 tcp 59442 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100005 1 udp 46988 mountd
100005 1 tcp 59293 mountd
100005 2 udp 56779 mountd
100005 2 tcp 53044 mountd
100005 3 udp 43068 mountd
100005 3 tcp 41808 mountd
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages nfs-common depends on:
ii adduser 3.113
ii initscripts 2.88dsf-13.13
ii libc6 2.13-21
ii libcap2 1:2.22-1
ii libcomerr2 1.42~WIP-2011-11-20-1
ii libdevmapper1.02.1 2:1.02.67-1
ii libevent-1.4-2 1.4.14b-stable-1
ii libgssapi-krb5-2 1.9.1+dfsg-3
ii libgssglue1 0.3-3.1
ii libk5crypto3 1.9.1+dfsg-3
ii libkeyutils1 1.5.2-2
ii libkrb5-3 1.9.1+dfsg-3
ii libnfsidmap2 0.24-1
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-21
ii lsb-base 3.2-28
ii rpcbind 0.2.0-6
ii ucf 3.0025+nmu2
Versions of packages nfs-common recommends:
ii python 2.7.2-9
nfs-common suggests no packages.
Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.19.1-5
ii libc6 2.13-21
ii libcomerr2 1.42~WIP-2011-11-20-1
ii libgssapi-krb5-2 1.9.1+dfsg-3
ii libgssglue1 0.3-3.1
ii libk5crypto3 1.9.1+dfsg-3
ii libkrb5-3 1.9.1+dfsg-3
ii libnfsidmap2 0.24-1
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-21
ii lsb-base 3.2-28
ii ucf 3.0025+nmu2
-- Configuration Files:
/etc/default/nfs-common changed [not included]
/etc/idmapd.conf changed [not included]
-- no debconf information
Reply to: