Bug#733658: nfs-kernel-server: no nfs3 exports due to wrong path for rpcinfo
Package: nfs-kernel-server
Version: 1:1.2.6-4
Severity: normal
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
The init script looks for rpcinfo in two different places:
/usr/sbin/rpcinfo -p >/dev/null 2>&1
$PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
Unfortunately, the second path is wrong, leading to nfs3 permanently
disabled without being able to override.
*** End of the template - remove these lines ***
-- Package-specific info:
-- rpcinfo --
program vers proto port service
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 52795 status
100024 1 tcp 37531 status
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
100021 1 udp 35428 nlockmgr
100021 3 udp 35428 nlockmgr
100021 4 udp 35428 nlockmgr
100021 1 tcp 56721 nlockmgr
100021 3 tcp 56721 nlockmgr
100021 4 tcp 56721 nlockmgr
100005 1 udp 37902 mountd
100005 1 tcp 40794 mountd
100005 2 udp 43412 mountd
100005 2 tcp 48352 mountd
100005 3 udp 41010 mountd
100005 3 tcp 41969 mountd
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=--manage-gids
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
-- /etc/exports --
/dummy_entry_for_broken_debian_initscript 0.0.0.0(ro,subtree_check)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.20.1-5.3
ii libc6 2.17-93
ii libtirpc1 0.2.2-5
ii libwrap0 7.6.q-24
ii lsb-base 4.1+Debian12
ii nfs-common 1:1.2.6-4
ii ucf 3.0025+nmu3
nfs-kernel-server recommends no packages.
nfs-kernel-server suggests no packages.
-- Configuration Files:
/etc/default/nfs-kernel-server changed [not included]
/etc/exports changed [not included]
-- debconf information excluded
Reply to: