[Bug 1284210] Re: nfs-kernel-server mountd check only checks for nfsv3 via UDP, not TCP
Christian Reis
kiko at async.com.br
Mon Feb 24 16:49:25 UTC 2014
See also https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/897644
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1284210
Title:
nfs-kernel-server mountd check only checks for nfsv3 via UDP, not TCP
Status in “nfs-utils” package in Ubuntu:
New
Bug description:
I recently disabled UDP on our NFS server by setting --no-udp (or -U)
and all of a sudden I could no longer get nfsv3 mounts to work. It
turns out that this happens because of the check in /etc/init.d/nfs-
kernel-server:
rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
That line only uses rpcinfo -u, so disabling UDP breaks the check. It
should probably be something like:
rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
rpcinfo -t localhost nfs 3 >/dev/null 2>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1284210/+subscriptions
More information about the foundations-bugs
mailing list