Re: git: fbbdfa2b8a42 - main - nfsv4(4): mention the nfsv4_server_only setting
- In reply to: Alan Somers : "Re: git: fbbdfa2b8a42 - main - nfsv4(4): mention the nfsv4_server_only setting"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 13:21:14 UTC
On Sat, Jan 06, 2024 at 02:34:41PM -0700, Alan Somers wrote: >On Sat, Jan 6, 2024 at 11:22 AM Daniel Ebdrup Jensen ><debdrup@freebsd.org> wrote: >> >> The branch main has been updated by debdrup: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=fbbdfa2b8a42444c2c4de00e43f14499adad8a70 >> >> commit fbbdfa2b8a42444c2c4de00e43f14499adad8a70 >> Author: Lexi Winter <lexi@le-fay.org> >> AuthorDate: 2024-01-06 18:12:02 +0000 >> Commit: Daniel Ebdrup Jensen <debdrup@FreeBSD.org> >> CommitDate: 2024-01-06 18:21:25 +0000 >> >> nfsv4(4): mention the nfsv4_server_only setting >> >> Add note about configuring the NFSv4-only option. >> >> It is already mentioned in rc.conf(5), but documenting it here makes it >> more likely that people see it when they need it. >> >> MFC after: 2 weeks >> Pull Request: https://github.com/freebsd/freebsd-src/pull/1008 >> --- >> usr.sbin/nfsd/nfsv4.4 | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/usr.sbin/nfsd/nfsv4.4 b/usr.sbin/nfsd/nfsv4.4 >> index 1377461c1348..aacb85c78ca2 100644 >> --- a/usr.sbin/nfsd/nfsv4.4 >> +++ b/usr.sbin/nfsd/nfsv4.4 >> @@ -208,6 +208,14 @@ if the server is using the ``<user>@<domain>'' form of user/group strings or >> is using the ``-manage-gids'' option for >> .Xr nfsuserd 8 . >> .Pp >> +In addition, you can set: >> +.sp >> +.Bd -literal -offset indent -compact >> +nfsv4_server_only="YES" >> +.Ed >> +.sp >> +to disable support for NFSv2 and NFSv3. >> +.Pp >> You will also need to add at least one ``V4:'' line to the >> .Xr exports 5 >> file for > >Shouldn't you bump the .Dd date? Hi Alan, Yes, yes I should. I plain forgot to run igor and mandoc. I'll also take the time to fix a few overrun lines that mandoc -Tlint helpfully pointed out. Thanks for the reminder. :) Yours appreciatively, Daniel Ebdrup Jensen