Project

General

Profile

Bug #118 » jailed-etc.patch

belczyk, 03/19/2006 09:23 PM

View differences:

rc 19 Mar 2006 20:35:24 -0000
_boot="start"
fi
files=`rcorder -s nostart /etc/rc.d/* 2>/dev/null`
skip="-s nostart"
[ `/sbin/sysctl -n jail.jailed` -eq 1 ] && skip="$skip -s nojail"
files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null`
for _rc_elem in ${files}; do
run_rc_script ${_rc_elem} ${_boot}
rc.d/abi 13 Mar 2006 18:30:58 -0000
# PROVIDE: abi
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: nojail
. /etc/rc.subr
rc.d/accounting 13 Mar 2006 18:31:06 -0000
# PROVIDE: accounting
# REQUIRE: mountcritremote
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/addswap 13 Mar 2006 18:31:12 -0000
# PROVIDE: addswap
# REQUIRE: mountcritlocal
# BEFORE: sysctl
# KEYWORD: nojail
. /etc/rc.subr
rc.d/adjkerntz 13 Mar 2006 18:31:18 -0000
# PROVIDE: adjkerntz
# REQUIRE: diskless mountcritlocal random
# BEFORE: netif
# KEYWORD: nojail
. /etc/rc.subr
rc.d/amd 13 Mar 2006 18:31:23 -0000
# PROVIDE: amd
# REQUIRE: rpcbind mountcritremote ypbind nfsclient
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/apm 13 Mar 2006 18:31:29 -0000
# PROVIDE: apm
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/apmd 13 Mar 2006 18:31:34 -0000
# PROVIDE: apmd
# REQUIRE: DAEMON apm
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/archdep 13 Mar 2006 18:31:39 -0000
# PROVIDE: archdep
# REQUIRE: LOGIN
# BEFORE: abi
# KEYWORD: nojail
. /etc/rc.subr
rc.d/atm1 13 Mar 2006 18:31:48 -0000
# PROVIDE: atm1
# REQUIRE: root
# BEFORE: netif
# KEYWORD: nojail
. /etc/rc.subr
rc.d/battd 13 Mar 2006 18:31:52 -0000
# PROVIDE: battd
# REQUIRE: DAEMON apm
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/bootparams 13 Mar 2006 18:31:59 -0000
# PROVIDE: bootparams
# REQUIRE: rpcbind DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ccd 13 Mar 2006 18:32:03 -0000
#
# PROVIDE: disks
# KEYWORD: nojail
. /etc/rc.subr
rc.d/dhclient 13 Mar 2006 18:32:12 -0000
# PROVIDE: dhclient
# REQUIRE: netif mountcritlocal
# BEFORE: NETWORKING
# KEYWORD: nojail
#
# Note that there no syslog logging of dhclient messages at boot because
# dhclient needs to start before services that syslog depends upon do.
rc.d/dmesg 13 Mar 2006 18:32:24 -0000
# PROVIDE: dmesg
# REQUIRE: mountcritremote
# BEFORE: DAEMON
# KEYWORD: Daemon
# KEYWORD: Daemon nojail
. /etc/rc.subr
rc.d/dumpon 13 Mar 2006 18:32:33 -0000
# PROVIDE: dumpon
# REQUIRE: initrandom
# BEFORE: disks savecore
# KEYWORD: nojail
. /etc/rc.subr
rc.d/fsck 13 Mar 2006 18:32:38 -0000
# PROVIDE: fsck
# REQUIRE: localswap
# KEYWORD: nojail
. /etc/rc.subr
rc.d/initdiskless 13 Mar 2006 18:32:57 -0000
# $DragonFly: src/etc/rc.d/initdiskless,v 1.7 2005/11/19 21:47:32 swildner Exp $
#
# PROVIDE: initdiskless
# KEYWORD: nojail
. /etc/rc.subr
dummy_rc_command "$1"
rc.d/initrandom 13 Mar 2006 18:33:02 -0000
# PROVIDE: initrandom
# REQUIRE: initdiskless
# BEFORE: disks
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ip6fw 13 Mar 2006 18:33:08 -0000
# PROVIDE: ip6fw
# REQUIRE: routing
# BEFORE: network_ipv6
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ipfs 13 Mar 2006 18:33:23 -0000
# PROVIDE: ipfs
# REQUIRE: ipnat
# BEFORE: netif
# KEYWORD: shutdown
# KEYWORD: shutdown nojail
. /etc/rc.subr
rc.d/ipfw 13 Mar 2006 18:33:28 -0000
# PROVIDE: ipfw
# REQUIRE: ppp-user
# BEFORE: NETWORKING
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ipmon 13 Mar 2006 18:33:33 -0000
# PROVIDE: ipmon
# REQUIRE: mountcritlocal hostname sysctl cleanvar
# BEFORE: SERVERS
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ipnat 13 Mar 2006 18:33:38 -0000
# PROVIDE: ipnat
# REQUIRE: ipfilter
# BEFORE: DAEMON netif
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ipsec 13 Mar 2006 18:33:43 -0000
# PROVIDE: ipsec
# REQUIRE: root mountcritlocal tty
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ipxrouted 13 Mar 2006 18:33:48 -0000
# PROVIDE: ipxrouted
# REQUIRE: SERVERS
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/isdnd 13 Mar 2006 18:33:55 -0000
# PROVIDE: isdnd
# REQUIRE: netif mountcritlocal
# KEYWORD: nojail
. /etc/rc.subr
rc.d/jail 13 Mar 2006 18:34:08 -0000
# PROVIDE: jail
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: nojail
. /etc/rc.subr
rc.d/kldxref 13 Mar 2006 18:34:13 -0000
# PROVIDE: kldxref
# REQUIRE: root mountcritlocal
# BEFORE: netif
# KEYWORD: nojail
. /etc/rc.subr
rc.d/mountcritlocal 13 Mar 2006 18:34:18 -0000
# PROVIDE: mountcritlocal
# REQUIRE: root
# KEYWORD: nojail
. /etc/rc.subr
rc.d/mountcritremote 13 Mar 2006 18:34:24 -0000
# PROVIDE: mountcritremote
# REQUIRE: NETWORKING root mountcritlocal
# KEYWORD: nojail
. /etc/rc.subr
rc.d/mountd 13 Mar 2006 18:34:28 -0000
# PROVIDE: mountd
# REQUIRE: NETWORKING mountcritremote nfsserver rpcbind quota
# KEYWORD: nojail
. /etc/rc.subr
rc.d/moused 13 Mar 2006 18:34:33 -0000
# PROVIDE: moused
# REQUIRE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/mroute6d 13 Mar 2006 18:34:38 -0000
# PROVIDE: mroute6d
# REQUIRE: network_ipv6
# KEYWORD: nojail
. /etc/rc.subr
rc.d/mrouted 13 Mar 2006 18:34:43 -0000
# PROVIDE: mrouted
# REQUIRE: netif routing
# KEYWORD: nojail
. /etc/rc.subr
rc.d/netif 13 Mar 2006 18:34:49 -0000
# PROVIDE: netif
# REQUIRE: atm1 ipfilter mountcritlocal serial sppp sysctl tty
# KEYWORD: nojail
. /etc/rc.subr
. /etc/network.subr
rc.d/netoptions 13 Mar 2006 18:34:53 -0000
# PROVIDE: netoptions
# REQUIRE: localdaemons
# BEFORE: securelevel
# KEYWORD: nojail
. /etc/rc.subr
rc.d/network_ipv6 13 Mar 2006 18:34:59 -0000
# PROVIDE: network_ipv6
# REQUIRE: routing
# KEYWORD: nojail
. /etc/rc.subr
. /etc/network.subr
rc.d/nfsclient 13 Mar 2006 18:35:06 -0000
# PROVIDE: nfsclient
# REQUIRE: NETWORKING mountcritremote rpcbind
# KEYWORD: shutdown
# KEYWORD: nojail
. /etc/rc.subr
rc.d/nfsd 13 Mar 2006 18:35:11 -0000
# PROVIDE: nfsd
# REQUIRE: mountd
# KEYWORD: nojail
. /etc/rc.subr
rc.d/nfslocking 13 Mar 2006 18:35:16 -0000
# PROVIDE: nfslocking
# REQUIRE: nfsserver nfsclient nfsd
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/nfsserver 13 Mar 2006 18:35:21 -0000
# PROVIDE: nfsserver
# REQUIRE: NETWORKING mountcritremote
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ntpd 13 Mar 2006 18:35:25 -0000
# PROVIDE: ntpd
# REQUIRE: NETWORKING
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/ppp-user 13 Mar 2006 18:35:38 -0000
# PROVIDE: ppp-user
# REQUIRE: netif isdnd
# KEYWORD: nojail
. /etc/rc.subr
rc.d/pppoed 13 Mar 2006 18:35:43 -0000
# PROVIDE: pppoed
# REQUIRE: NETWORKING
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/quota 13 Mar 2006 18:35:47 -0000
# PROVIDE: quota
# REQUIRE: mountcritremote
# BEFORE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
rc.d/random 13 Mar 2006 18:35:52 -0000
# REQUIRE: diskless mountcritlocal initrandom
# BEFORE: netif
# KEYWORD: shutdown
# KEYWORD: nojail
. /etc/rc.subr
rc.d/rarpd 13 Mar 2006 18:35:56 -0000
# PROVIDE: rarpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/rndcontrol 13 Mar 2006 18:36:01 -0000
# PROVIDE: rndcontrol
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/root 13 Mar 2006 18:36:06 -0000
# PROVIDE: root
# REQUIRE: fsck
# KEYWORD: nojail
. /etc/rc.subr
rc.d/route6d 13 Mar 2006 18:36:19 -0000
# PROVIDE: route6d
# REQUIRE: network_ipv6
# KEYWORD: nojail
. /etc/rc.subr
rc.d/routed 13 Mar 2006 18:36:24 -0000
# PROVIDE: routed
# REQUIRE: netif routing
# KEYWORD: nojail
. /etc/rc.subr
rc.d/routing 13 Mar 2006 18:36:28 -0000
# PROVIDE: routing
# REQUIRE: netif ppp-user
# KEYWORD: nojail
. /etc/rc.subr
rc.d/rtadvd 13 Mar 2006 18:36:33 -0000
# PROVIDE: rtadvd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/savecore 13 Mar 2006 18:36:38 -0000
# PROVIDE: savecore
# REQUIRE: syslogd
# BEFORE: SERVERS
# KEYWORD: nojail
. /etc/rc.subr
rc.d/serial 13 Mar 2006 18:36:43 -0000
# PROVIDE: serial
# REQUIRE: root
# KEYWORD: nojail
. /etc/rc.subr
dummy_rc_command "$1"
rc.d/sppp 13 Mar 2006 18:36:48 -0000
# PROVIDE: sppp
# REQUIRE: root
# BEFORE: netif
# KEYWORD: nojail
. /etc/rc.subr
rc.d/swap1 13 Mar 2006 18:36:52 -0000
# PROVIDE: localswap
# REQUIRE: disks
# KEYWORD: shutdown
# KEYWORD: nojail
. /etc/rc.subr
rc.d/syscons 13 Mar 2006 18:36:58 -0000
# PROVIDE: syscons
# REQUIRE: LOGIN usbd
# KEYWORD: nojail
. /etc/rc.subr
rc.d/timed 13 Mar 2006 18:37:02 -0000
# PROVIDE: timed
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/usbd 13 Mar 2006 18:37:06 -0000
# PROVIDE: usbd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
rc.d/vinum 13 Mar 2006 18:37:10 -0000
#
# PROVIDE: disks
# KEYWORD: nojail
. /etc/rc.subr
rc.d/watchdogd 13 Mar 2006 18:37:15 -0000
# PROVIDE: watchdogd
# REQUIRE: DAEMON
# KEYWORD: nojail
. /etc/rc.subr
(1-1/2)