Skip to content

RFC nfsd: Set v4 version when only a minor version is set

Steve Dickson linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1nfsd: Set v4 version when only a minor version is setutils/nfsd/nfsd.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/1] nfsd: Set v4 version when only a minor version is set

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(+)
Signature · 1 line
2.37.3