Page MenuHomeFreeBSD

Modify nfsd so that it doesn't register with rpcbind for NFSv4 only servers.
ClosedPublic

Authored by rmacklem on Dec 2 2016, 11:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 23 2024, 11:58 AM
Unknown Object (File)
May 1 2024, 9:02 PM
Unknown Object (File)
May 1 2024, 9:02 PM
Unknown Object (File)
May 1 2024, 1:18 PM
Unknown Object (File)
Mar 23 2024, 1:26 AM
Unknown Object (File)
Feb 5 2024, 8:20 AM
Unknown Object (File)
Jan 18 2024, 5:42 PM
Unknown Object (File)
Jan 4 2024, 8:40 PM
Subscribers
None

Details

Summary

Checks the vfs.nfsd.server_min_nfsvers sysctl and if it set to 4, don't register with rpcbind.
It also doesn't register NFSv2 when the value is set to 3.
This patch is basically what was submitted by jmader2@gmu.edu.

Test Plan

Test client mounts with vfs.nfsd.server_min_nfsvers == 4 and see if the NFSv3 mount attempt
reports that it is not registered with rpcbind.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rmacklem retitled this revision from to Modify nfsd so that it doesn't register with rpcbind for NFSv4 only servers..
rmacklem updated this object.
rmacklem edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.