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)
Sun, Sep 15, 12:40 AM
Unknown Object (File)
Sun, Sep 15, 12:40 AM
Unknown Object (File)
Sat, Sep 7, 5:57 AM
Unknown Object (File)
Sun, Sep 1, 2:19 AM
Unknown Object (File)
Aug 30 2024, 12:55 PM
Unknown Object (File)
Aug 30 2024, 12:55 PM
Unknown Object (File)
Aug 30 2024, 12:55 PM
Unknown Object (File)
Aug 30 2024, 12:40 PM

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.