Index: libexec/rc/rc.d/auditdistd =================================================================== --- libexec/rc/rc.d/auditdistd +++ libexec/rc/rc.d/auditdistd @@ -19,4 +19,7 @@ extra_commands="reload" load_rc_config $name + +: ${auditdistd_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/ftpd =================================================================== --- libexec/rc/rc.d/ftpd +++ libexec/rc/rc.d/ftpd @@ -23,4 +23,7 @@ } load_rc_config $name + +: ${ftpd_svcj_options:="net_all"} + run_rc_command "$1" Index: libexec/rc/rc.d/inetd =================================================================== --- libexec/rc/rc.d/inetd +++ libexec/rc/rc.d/inetd @@ -18,4 +18,7 @@ extra_commands="reload" load_rc_config $name + +: ${inetd_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/kadmind =================================================================== --- libexec/rc/rc.d/kadmind +++ libexec/rc/rc.d/kadmind @@ -26,4 +26,7 @@ } load_rc_config $name + +: ${kadmind_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/kdc =================================================================== --- libexec/rc/rc.d/kdc +++ libexec/rc/rc.d/kdc @@ -26,4 +26,7 @@ } load_rc_config $name + +: ${kdc_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/kpasswdd =================================================================== --- libexec/rc/rc.d/kpasswdd +++ libexec/rc/rc.d/kpasswdd @@ -26,4 +26,7 @@ } load_rc_config $name + +: ${kapsswd_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/local_unbound =================================================================== --- libexec/rc/rc.d/local_unbound +++ libexec/rc/rc.d/local_unbound @@ -36,6 +36,7 @@ : ${local_unbound_tls:=} : ${local_unbound_pidfile:=${pidfile}} pidfile=${local_unbound_pidfile} +: ${local_unbound_svcj_options:="net_basic"} do_as_unbound() { Index: libexec/rc/rc.d/lpd =================================================================== --- libexec/rc/rc.d/lpd +++ libexec/rc/rc.d/lpd @@ -25,4 +25,7 @@ } load_rc_config $name + +: ${lpd_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/sshd =================================================================== --- libexec/rc/rc.d/sshd +++ libexec/rc/rc.d/sshd @@ -81,4 +81,11 @@ } load_rc_config $name + +# sshd in a jail would not see other jails. As such exclude it from +# svcj_all_enable="YES" by setting sshd_svcj to NO. This allows to +# enable it in rc.conf. +: ${sshd_svcj:="NO"} +: ${sshd_svcj_options:="net_basic"} + run_rc_command "$1" Index: libexec/rc/rc.d/syslogd =================================================================== --- libexec/rc/rc.d/syslogd +++ libexec/rc/rc.d/syslogd @@ -71,4 +71,7 @@ echo $_socketargs } load_rc_config $name + +: ${syslogd_svcj_options:="net_basic"} + run_rc_command "$1"