From: Steve Langasek Date: Mon, 24 Feb 2014 18:05:13 +0000 (-0800) Subject: debian/nfs-kernel-server.init: don't try to check for nfsv3 configuration in nfsd... X-Git-Tag: debian/1%1.2.8-6~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=776d413c2b988d291cde2c1b1ac74b59718692be debian/nfs-kernel-server.init: don't try to check for nfsv3 configuration in nfsd and pass --no-nfs-version 3 to mountd if absent; the check is buggy and impossible to make reliable, and there's no reason to single out NFSv3 here (and the original rationale for this behavior is lost). Closes LP: #897644, LP: #1284210. --- diff --git a/debian/changelog b/debian/changelog index e243a7a..fb13057 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,11 @@ nfs-utils (1:1.2.8-6) UNRELEASED; urgency=medium * Tweak nfs-common preinst to not remove nfs state files except on package removal (i.e., these should not be removed when the package is deconfigured temporarily). + * debian/nfs-kernel-server.init: don't try to check for nfsv3 configuration + in nfsd and pass --no-nfs-version 3 to mountd if absent; the check is + buggy and impossible to make reliable, and there's no reason to single + out NFSv3 here (and the original rationale for this behavior is lost). + Closes LP: #897644, LP: #1284210. -- Steve Langasek Mon, 13 Jan 2014 22:19:43 +0000 diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init index 7ce79f5..e0c51d6 100644 --- a/debian/nfs-kernel-server.init +++ b/debian/nfs-kernel-server.init @@ -117,9 +117,6 @@ case "$1" in } fi - $PREFIX/sbin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 || - RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3" - [ -z "$ClearAddr" ] || echo "nfsd 127.0.0.1 1" >/proc/net/rpc/auth.unix.ip/channel if [ "$NEED_SVCGSSD" = "yes" ]; then