Bug 1004104

Summary: rpc.nfsd: Setting version failed: errno 22 (Invalid argument)
Product: [Fedora] Fedora Reporter: H.J. Lu <hongjiu.lu>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bfields, jlayton, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-04 19:32:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description H.J. Lu 2013-09-04 00:13:55 UTC
nfs-utils-1.2.8-4.0.fc19.x86_64 gave

rpc.nfsd: Setting version failed: errno 22 (Invalid argument)

Comment 1 H.J. Lu 2013-09-04 16:26:23 UTC
[root@gnu-3 hjl]#  /usr/sbin/rpc.nfsd -d
rpc.nfsd: Checking netconfig for visible protocols.
rpc.nfsd: Enabling inet udp.
rpc.nfsd: Enabling inet tcp.
rpc.nfsd: Enabling inet6 udp.
rpc.nfsd: Enabling inet6 tcp.
rpc.nfsd: knfsd is currently down
rpc.nfsd: Writing version string to kernel: +4.1 -4.2 -2 +3 +4 
rpc.nfsd: Setting version failed: errno 22 (Invalid argument)
rpc.nfsd: Creating inet TCP socket.
rpc.nfsd: Creating inet UDP socket.
rpc.nfsd: Creating inet6 TCP socket.
rpc.nfsd: Creating inet6 UDP socket.

Comment 2 H.J. Lu 2013-09-04 16:48:51 UTC
kernel 3.10.10 has

#define NFSD_SUPPORTED_MINOR_VERSION    1

and returns -EINVAL on "-4.2".

Comment 3 J. Bruce Fields 2013-09-04 19:32:00 UTC
There is no support for 4.2 until 3.11, so this is expected.