[Bug 1072230] Re: rpcinfo is in /sbin, not /bin => NFS v3 is disabled
Dave Gilbert
ubuntu at treblig.org
Sat Oct 27 23:38:27 UTC 2012
Hi Alan,
I'm a bit confused by this since it looks like it was fixed in 2.6-3ubuntu2 back in April, as a fix for bug 945651.
Certainly when I just tried doing an install of nfs-kernel-server the init script just uses rpcinfo with no path.
Did you modify the init script sometime in the past, and did it ask you during upgrade which version you wanted to keep?
If you can confirm that uninstalling it, (preferably taking a copy of any config files you care about and then doing a dpkg --purge nfs-kernel-server I think!) and then reinstalling it should get you the fixed version.
Dave
** Changed in: nfs-utils (Ubuntu)
Status: New => Incomplete
--
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/1072230
Title:
rpcinfo is in /sbin, not /bin => NFS v3 is disabled
Status in “nfs-utils” package in Ubuntu:
Incomplete
Bug description:
The init script for nfs-kernel-server looks to see if NFS v3 is
enabled by running rpcinfo.
This is nice and all, but it will only work if the pathname to rpcinfo
is correct.
The original code said this:
$PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
The correct code is this:
$PREFIX/sbin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
Either that or rpcinfo is misplaced.
In any case, this keeps nfs v3 from working - because it ALWAYS turns
on the --no-nfs-version-3 flag.
Perhaps this should be checked for at the beginning of the script like
some of the other commands?
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: nfs-kernel-server 1:1.2.5-3ubuntu3.1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 27 16:48:01 2012
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: nfs-utils
UpgradeStatus: Upgraded to quantal on 2012-10-23 (3 days ago)
mtime.conffile..etc.init.d.nfs.kernel.server: 2012-10-27T16:34:08.070671
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1072230/+subscriptions
More information about the foundations-bugs
mailing list