"REQUIRE: cleanvar" for all RC's writing into /var/run.

This commit is contained in:
David E. O'Brien 2005-01-16 03:12:03 +00:00
parent 7c804097a4
commit 835e0fa318
18 changed files with 20 additions and 18 deletions

View File

@ -5,7 +5,7 @@
#
# PROVIDE: amd
# REQUIRE: rpcbind ypbind nfsclient
# REQUIRE: rpcbind ypbind nfsclient cleanvar
# BEFORE: DAEMON
# KEYWORD: nojail

View File

@ -5,7 +5,7 @@
#
# PROVIDE: cron
# REQUIRE: LOGIN
# REQUIRE: LOGIN cleanvar
# BEFORE: securelevel
# KEYWORD: shutdown

View File

@ -5,7 +5,7 @@
#
# PROVIDE: dhclient
# REQUIRE: netif ipfw ipfilter mountcritlocal
# REQUIRE: netif ipfw ipfilter mountcritlocal cleanvar
# BEFORE: NETWORKING
# KEYWORD: nojail
#

View File

@ -5,7 +5,7 @@
#
# PROVIDE: dmesg
# REQUIRE: mountcritremote
# REQUIRE: mountcritremote cleanvar
# BEFORE: DAEMON
# KEYWORD: Daemon nojail

View File

@ -5,7 +5,7 @@
#
# PROVIDE: inetd
# REQUIRE: DAEMON LOGIN
# REQUIRE: DAEMON LOGIN cleanvar
# KEYWORD: shutdown
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
#
# PROVIDE: isdnd
# REQUIRE: netif mountcritlocal
# REQUIRE: netif mountcritlocal cleanvar
# KEYWORD: nojail
. /etc/rc.subr

View File

@ -4,7 +4,7 @@
#
# PROVIDE: jail
# REQUIRE: LOGIN
# REQUIRE: LOGIN cleanvar
# BEFORE: securelevel
# KEYWORD: nojail shutdown

View File

@ -5,7 +5,7 @@
#
# PROVIDE: ldconfig
# REQUIRE: mountcritremote
# REQUIRE: mountcritremote cleanvar
# BEFORE: DAEMON
. /etc/rc.subr
@ -28,7 +28,9 @@ ldconfig_start()
fi
done
echo 'ELF ldconfig path:' ${_LDC}
ldconfig -r >/tmp/ldcon.`basename $0`.0before
${ldconfig} -elf ${_ins} ${_LDC}
ldconfig -r >/tmp/ldcon.`basename $0`.1after
# Legacy aout support for i386 only
case `sysctl -n hw.machine_arch` in

View File

@ -5,7 +5,7 @@
#
# PROVIDE: mountcritremote
# REQUIRE: NETWORKING root mountcritlocal
# REQUIRE: NETWORKING root mountcritlocal cleanvar
# KEYWORD: nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
#
# PROVIDE: moused
# REQUIRE: DAEMON
# REQUIRE: DAEMON cleanvar
# KEYWORD: nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
#
# PROVIDE: mrouted
# REQUIRE: netif routing
# REQUIRE: netif routing cleanvar
# KEYWORD: nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
#
# PROVIDE: named
# REQUIRE: SERVERS
# REQUIRE: SERVERS cleanvar
# BEFORE: DAEMON
# KEYWORD: shutdown

View File

@ -5,7 +5,7 @@
#
# PROVIDE: ntpd
# REQUIRE: DAEMON
# REQUIRE: DAEMON cleanvar
# BEFORE: LOGIN
# KEYWORD: nojail

View File

@ -4,7 +4,7 @@
#
# PROVIDE: pflog
# REQUIRE: root mountcritlocal netif
# REQUIRE: root mountcritlocal netif cleanvar
# BEFORE: DAEMON LOGIN
# KEYWORD: nojail

View File

@ -5,7 +5,7 @@
#
# PROVIDE: rarpd
# REQUIRE: DAEMON
# REQUIRE: DAEMON cleanvar
# BEFORE: LOGIN
# KEYWORD: nojail

View File

@ -5,7 +5,7 @@
#
# PROVIDE: mail
# REQUIRE: LOGIN
# REQUIRE: LOGIN cleanvar
# we make mail start late, so that things like .forward's are not
# processed until the system is fully operational

View File

@ -5,7 +5,7 @@
#
# PROVIDE: sshd
# REQUIRE: LOGIN
# REQUIRE: LOGIN cleanvar
. /etc/rc.subr

View File

@ -28,7 +28,7 @@
#
# PROVIDE: watchdogd
# REQUIRE: DAEMON
# REQUIRE: DAEMON cleanvar
# KEYWORD: nojail
. /etc/rc.subr