Page MenuHomeFreeBSD

Update nfsd.8 for the daemon being run in a jail
ClosedPublic

Authored by rmacklem on Mar 22 2023, 8:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 8 2025, 1:16 AM
Unknown Object (File)
Oct 28 2025, 3:42 AM
Unknown Object (File)
Oct 13 2025, 6:59 AM
Unknown Object (File)
Oct 13 2025, 6:59 AM
Unknown Object (File)
Oct 13 2025, 6:59 AM
Unknown Object (File)
Oct 12 2025, 6:49 PM
Unknown Object (File)
Sep 26 2025, 11:25 PM
Unknown Object (File)
Aug 19 2025, 5:25 AM

Details

Summary

nfsd(8) can now run in an appropriately configured
vnet jail, with certain restrictions.

This man page update explains the restrictions.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM, but I'd wait for manpages to weigh in too.

This revision is now accepted and ready to land.Mar 22 2023, 11:32 PM
markj added inline comments.
usr.sbin/nfsd/nfsd.8
70

Would it be worth clarifying that nfsd can only run in a vnet jail, and not in a classic jail?

Yes, clarifying that it needs to be a vnet jail is a good idea.

usr.sbin/nfsd/nfsd.8
70

Well, it says vnet jail on line 61, just above.

usr.sbin/nfsd/nfsd.8
70

Yes, but to my reading it's not clear that a vnet jail is the only option.

rmacklem added inline comments.
usr.sbin/nfsd/nfsd.8
70

I'll add the word "vnet" in front of "jail" on this line.

This revision was automatically updated to reflect the committed changes.
rmacklem marked an inline comment as done.