mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 22:27:47 -04:00
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
18 lines
273 B
Bash
Executable file
18 lines
273 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: gssd
|
|
# REQUIRE: root mountcritlocal NETWORKING kdc
|
|
# BEFORE: mountcritremote
|
|
# KEYWORD: nojailvnet shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=gssd
|
|
desc="Generic Security Services Daemon"
|
|
rcvar=gssd_enable
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|