From: Steve Dickson <steved@redhat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [RFC PATCH 0/1] nfsd: Set v4 version when only a minor version is set
Date: Thu, 27 Oct 2022 14:51:20 -0400 [thread overview]
Message-ID: <20221027185121.15044-1-steved@redhat.com> (raw)
Make sure the v4 version is set when only a minor
version is set in /etc/nfs.conf
Set v4 version if only minor version are specified
When vers4 in /etc/nfs.conf is set to 'n', all minor
version are disabled as well. But when vers4 is set
'y' all minor version are settable. Meaning
vers4=n
vers4.2=y
does not work. rpc.nfsd complains there are no
version set.
vers4=y
vers4=y
does work.
Now the rpc.nfsd(8) man page does say
vers4 Enable or disable a major NFS version.
It could be changed to
vers4 Enable or disable all major NFS versions.
Or the two line patch attached could be applied.
Steve Dickson (1):
nfsd: Set v4 version when only a minor version is set
utils/nfsd/nfsd.c | 3 +++
1 file changed, 3 insertions(+)
--
2.37.3
next reply other threads:[~2022-10-27 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 18:51 Steve Dickson [this message]
2022-10-27 18:51 ` [PATCH 1/1] nfsd: Set v4 version when only a minor version is set Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221027185121.15044-1-steved@redhat.com \
--to=steved@redhat.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox