freebsd-dev/libexec/rc
Rick Macklem 0bb08f21cc rc.d: Fix NFS server startup scripts to enable vnet prison use
Now that commit cbbb22031f is in main,
it is possible to run nfsd(8), nfsuserd(8), mountd(8),
gssd(8) and rpc.tlsservd(8) in an appropriately configured vnet
prison if the "allow.nfsd" option is specified in jail.conf.

This patch fixes the rc scripts for this.
Mostly just replaces the "nojail" KEYWORD with "nojailvnet",
but also avoids setting vfs.nfsd.srvmaxio in a prison, since it
must be set outside of the prisons and applies to all
nfsd(8) instances.

Reviewed by:	jamie
MFC after:	3 months
Differential Revision:	https://reviews.freebsd.org/D38809
2023-03-12 14:34:25 -07:00
..
rc.d rc.d: Fix NFS server startup scripts to enable vnet prison use 2023-03-12 14:34:25 -07:00
tests rc: Start testing the rc(8) framework (beginning with *_oomprotect) 2022-07-26 15:39:39 +02:00
Makefile rc.sendmail: remove unused script 2022-11-09 16:55:18 +01:00
netstart Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
network.subr network.subr: Fix infinite loop 2023-01-02 10:20:05 -08:00
pccard_ether
rc rc: Allow the removal of firstboot_sentinel on read-only file systems 2022-02-10 12:43:19 -07:00
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf rc.conf: update comment referring to /etc/motd 2023-03-09 21:28:30 +00:00
rc.firewall rc.firewall: Merge two identical conditions into one. 2020-07-23 15:03:28 +00:00
rc.initdiskless rc.initdiskless: Fix a typo in a comment 2023-01-19 14:17:37 +01:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.shutdown rc.shutdown: kill shutdown process after logging message 2019-12-07 00:33:08 +00:00
rc.subr rc.subr: Minor formatting fix for ac102a2a6 2022-12-28 16:00:56 -08:00
rc.suspend