freebsd-skq/etc/rc.d
Doug Barton 8f1bb3891d Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.
2004-09-28 09:46:00 +00:00
..
abi Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
accounting Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
addswap Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
adjkerntz Catch up with diskless split "diskless" is no longer provided. 2004-04-12 18:11:00 +00:00
altqd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
amd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
apm Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
apmd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
archdep Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
atm1 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
atm2 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
atm3 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
bgfsck Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
bootconf.sh Fix style bugs: 2002-10-12 10:31:31 +00:00
bootparams Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ccd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
cleanvar Overhaul the /etc/rc.d/diskless script by splitting it out into 2004-03-23 23:22:35 +00:00
cleartmp Overhaul the /etc/rc.d/diskless script by splitting it out into 2004-03-23 23:22:35 +00:00
cron Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
DAEMON Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
devd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
devfs Add a way for rc.d/devfs to set more than just the system devfs up. 2004-03-20 07:10:16 +00:00
dhclient The err routine requires two arguments: an exit value and a string. 2004-05-20 14:16:05 +00:00
dhcpd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
dhcrelay Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
dmesg Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
downinterfaces Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
dumpon If $dumpdev is set to AUTO, use the first suitable swap partition listed 2004-09-20 17:48:45 +00:00
early.sh o Add support for running /etc/rc.early 2003-04-24 08:27:29 +00:00
encswap Skip entries for GBDE swap devices if they are commented out in /etc/fstab. 2004-08-18 21:54:40 +00:00
fsck Don't run fsck if there's no /etc/fstab. 2004-03-11 20:00:10 +00:00
gated
gbde For the gbde attach script: 2004-07-18 18:01:48 +00:00
gbde_swap Skip entries for GBDE swap devices if they are commented out in /etc/fstab. 2004-08-18 21:54:40 +00:00
hostname - Use "/bin/hostname" explicitly instead of "hostname". 2004-04-02 12:18:40 +00:00
ifwatchd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
ike We don't have any providers of `beforenetlkm' in FreeBSD. Remove the 2004-09-16 17:04:20 +00:00
inetd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
initdiskless Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
initrandom Take into account hardware-supplied entropy. If the entropy source 2004-04-09 15:56:16 +00:00
ip6addrctl Add ip6addrctl_enable and ip6_addrctl_verbose option. If 2004-06-02 09:39:49 +00:00
ip6fw Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipfilter apply patch so pr can be closed 2004-04-20 13:30:49 +00:00
ipfs Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipfw Protect som cross-script invocations by checks to see that the target 2004-04-28 13:20:15 +00:00
ipmon Restore NetBSD SCM ID. 2004-09-09 16:41:55 +00:00
ipnat Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipsec Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ipxrouted Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
isdnd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
jail Always quote variables in tests, to ensure correct evaluation even when 2004-08-19 08:55:24 +00:00
kadmind Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
kdc Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
kerberos Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
keyserv Clean up the scripts to use the new variables: 2002-08-14 05:44:32 +00:00
kldxref Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
kpasswdd s/kadmind5/kadmin/ 2003-05-06 02:28:03 +00:00
ldconfig Remove scripts we don't use from requirement lines. These were 2004-03-05 07:43:38 +00:00
lkm1 Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
lkm2 Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
lkm3 Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
local Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
localpkg back out the localkg changes until things have settled. 2004-07-28 00:09:19 +00:00
lockd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
LOGIN Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
lomac Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
lpd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:40:45 +00:00
Makefile Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't a 2004-09-15 01:08:33 +00:00
mixer A few small cleanups: 2004-03-27 09:26:22 +00:00
mixerctl Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
mopd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
motd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
mountall Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
mountcritlocal Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mountcritremote Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mountd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
moused Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mroute6d Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
mrouted Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
msgs Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
named Create a named chroot directory structure in /var/named, and use it 2004-09-28 09:46:00 +00:00
natd Add separate script for natd. This fixes race condition with "ipfw restart" 2004-04-05 16:29:45 +00:00
ndbootd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
netif Finish cleanup of rc.d/netif. It's now possible to start/stop more 2004-07-30 17:19:35 +00:00
netoptions Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
network - Use "/bin/hostname" explicitly instead of "hostname". 2004-04-02 12:18:40 +00:00
network_ipv6 Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
NETWORKING Remove scripts we don't use from requirement lines. These were 2004-03-05 07:43:38 +00:00
newsyslog Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
nfsclient Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nfsd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nfslocking Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nfsserver Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
nisdomain Move the task of updating nsswitch.conf / host.conf into a separate 2004-05-24 11:48:58 +00:00
nsswitch Fix requirement of network' to NETWORK' because the former isn't 2004-09-16 17:03:12 +00:00
ntpd Stop using ntpdate(1) in our startup proceedure. Replace ntpdate(1) with 2004-09-14 03:01:38 +00:00
ntpdate Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't a 2004-09-15 01:08:33 +00:00
othermta Make the othermta script DTRT when an mta startup script is not specified. 2002-08-09 17:45:04 +00:00
pccard Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
pcvt Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
pf We don't have any providers of `beforenetlkm' in FreeBSD. Remove the 2004-09-16 17:04:20 +00:00
pflog We don't have any providers of `beforenetlkm' in FreeBSD. Remove the 2004-09-16 17:04:20 +00:00
poffd Merge in all the changes that Mike Makonnen has been maintaining for a 2002-06-13 22:14:37 +00:00
postfix Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
power_profile Change hw.acpi.cpu.cx_lowest to accept values in the form of C1, 2004-05-07 05:22:38 +00:00
ppp Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
ppp-user Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
pppoed Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
preseedrandom Back out rev 1.3. 2004-06-08 19:53:25 +00:00
pwcheck Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
quota Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
racoon Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
raidframe Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
ramdisk Style fixes, as suggested by Jens Schweikhardt <schweikh@schweikhardt.net> 2004-04-06 23:15:48 +00:00
ramdisk-own Style fixes, as suggested by Jens Schweikhardt <schweikh@schweikhardt.net> 2004-04-06 23:15:48 +00:00
random Catch up with diskless split "diskless" is no longer provided. 2004-04-12 18:11:00 +00:00
rarpd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
rbootd Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
rcconf.sh Read /etc/rc.subr. 2003-01-25 20:02:35 +00:00
resolv Replace shell's positional parameters safely. 2004-04-28 09:09:27 +00:00
root Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
route6d Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
routed Protect the command flags set in the rc.conf files in case they're 2004-08-29 15:02:43 +00:00
routing Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
rpcbind Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't a 2004-09-15 01:08:33 +00:00
rtadvd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
rtsold Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
rwho Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
savecore Echo and pass dumpdev as the device argument to savecore. 2004-03-18 15:18:20 +00:00
screenblank Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
securelevel Simplify setting of securelevel. 2004-01-17 11:11:18 +00:00
sendmail Fix the startup logic for sendmail. If sendmail_enable=yes, don't start 2004-08-05 03:09:54 +00:00
serial Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
SERVERS Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:16:38 +00:00
sppp Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
sshd Give sshd a secure startup, but with a tweakable timeout so that 2004-08-04 08:10:37 +00:00
statd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
swap1 Teach swap1 script how to remove added swap devices on system shutdown. 2004-09-17 17:58:19 +00:00
swap2 Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
syscons Allow setting the system console keyboard via the ${keyboard} rc.conf 2004-06-18 20:09:30 +00:00
sysctl o Rename the start command to conform to rc.d style. 2004-01-17 11:15:04 +00:00
sysdb Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
syslogd The syslogd script should require that /var is cleaned before it runs. 2004-03-05 07:55:04 +00:00
timed Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
tmp A power failure left the temporary /var/.diskless directory 2004-09-13 17:40:14 +00:00
usbd Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
var A power failure left the temporary /var/.diskless directory 2004-09-13 17:40:14 +00:00
vinum Mark scripts as not usable inside a jail by adding keyword 'nojail'. 2004-03-08 12:25:05 +00:00
virecover From the PR: 2004-03-03 15:21:01 +00:00
watchdogd Removes the check for the existence of the sysctl variable 2004-04-26 19:41:37 +00:00
wscons Fix style bugs: 2002-10-12 10:31:31 +00:00
xdm
xfs Sync with NetBSD's mainline. 2002-06-21 19:07:21 +00:00
ypbind Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:59:43 +00:00
yppasswdd Luke Mewburn has indicated that they (NetBSD) are not interested 2004-01-17 10:59:43 +00:00
ypserv Make conform to general rc.d style. 2004-01-17 11:19:01 +00:00
ypset Be specific about which domainname is not set. It seems the man page 2003-07-09 03:21:03 +00:00
ypupdated Be specific about which domainname is not set. It seems the man page 2003-07-09 03:21:03 +00:00
ypxfrd Be specific about which domainname is not set. It seems the man page 2003-07-09 03:21:03 +00:00