Hide Forgot
nfs-utils-1.2.8-4.0.fc19.x86_64 gave rpc.nfsd: Setting version failed: errno 22 (Invalid argument)
[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.
kernel 3.10.10 has #define NFSD_SUPPORTED_MINOR_VERSION 1 and returns -EINVAL on "-4.2".
There is no support for 4.2 until 3.11, so this is expected.