Since mountd(8) will not be able to do exports
when running in a vnet prison if enforce_statfs is
set to 0, add a check for this to prison_check_nfsd().
Discussed over on D38144.
Differential D38189
Add a check for enforce_statfs != 0 to prison_check_nfsd() rmacklem on Jan 24 2023, 10:54 PM. Authored by Tags None Referenced Files
Subscribers
Details Since mountd(8) will not be able to do exports Discussed over on D38144. Tested in a system patched to allow mountd to
Diff Detail
Event TimelineComment Actions It looks like one can change enforce_statfs in an existing jail, so this doesn't seem quite sufficient? It might be useful to allow changing enforce_statfs after mountd starts though, so perhaps this is fine? It'd be worth documenting this in jail(8) IMHO. |