History log of /netbsd-current/etc/rc.conf
Revision Date Author Comments
# 1.97 14-Jul-2014 mbalmer

Consistency changes only. Start sentences with a capital letter and end
them with a full stop.


# 1.96 14-Oct-2000 wiz

branches: 1.96.64; 1.96.78;
fix typo in comment


# 1.95 30-Sep-2000 lukem

move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.


# 1.94 21-Aug-2000 lukem

migrate guts of these /etc/foo.conf config files into /etc/default/foo.conf,
and source the latter in the former. this makes it easier for a sysadmin to
upgrade the default files without affecting local config, and retains the
semantics that the /etc/foo.conf files are the actual files that are edited
(as opposed to /etc/foo.local.conf or /etc/foo.conf.local or whatever, which
isn't as intuitive).


# 1.93 21-Aug-2000 abs

Move options into ntp_flags, to make it possible to add '-u' without
modifying rc.d/ntpdate


# 1.92 06-Aug-2000 thorpej

Add kdc/kdc_flags variables.


# 1.91 31-Jul-2000 jwise

Add $sshd and $sshd_flags for use by both usr.bin/sshd and pkgsrc/security/{open,}ssh

As a precedent, note the presence of $gated, even though we do not distribute
gated outside of pkgsrc.


# 1.90 21-Jul-2000 lukem

clarify the difference between $critical_filesystems_beforenet and
$critical_filesystems, and why `/var' should be in the former (or
implied as part of `/' which is already mounted).


# 1.89 20-Jul-2000 lukem

- be consistent in formatting sentences
- note that xdm might need wscons for local X servers (c.f. [install/9967])


# 1.88 02-Jul-2000 tsarna

Fix typo (enable -> enabled)


# 1.87 01-Jul-2000 hubertf

Clarify comment that inetd only starts up IP-based services *that are
enabled in /etc/inetd.conf* (someone asked me last week why NetBSD doesn't
come with a telnet server...)


# 1.86 19-Jun-2000 itojun

remove ip6defaultif configuration. because:
- ndp is in /usr/sbin, chokes on NFS-mounted /usr installation
- the option is just for IPv6 specification geek, not for normal users


# 1.85 12-Jun-2000 itojun

branches: 1.85.2;
add rc.d/ipsec for ipsec configuration. when enabled, it will inject
/etc/ipsec.conf into "setkey -f". PR 9609.


# 1.84 08-Jun-2000 fvdl

Enable -6 flag to nfsd.


# 1.83 03-Jun-2000 veego

Rename a remaing comment about portmap to rpcbind.


# 1.82 02-Jun-2000 fvdl

s/portmap/rpcbind/


# 1.81 02-May-2000 simonb

branches: 1.81.2;
Change xntpd to ntpd.


# 1.80 25-Apr-2000 thorpej

Provide rc.d support for the Postfix mail system. Committed to the
base because there is no support for packages in rc.d, and Postfix
is supposed to become part of the base system anyhow.


# 1.79 15-Apr-2000 tsarna

Death to nfsiod!

It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.


# 1.78 09-Apr-2000 tsarna

Improve backwards compatability and leave securelevel the old way.


# 1.77 08-Apr-2000 tsarna

The file /etc/sysctl.conf is now run with sysctl -f at boot time.
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.

The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.


# 1.76 12-Mar-2000 lukem

ssh script removed, so remove sshd=NO line


# 1.75 11-Mar-2000 thorpej

Since we have an "sshd" script in rc.d, we should have an "sshd" knob
in rc.conf.


# 1.74 07-Mar-2000 jdolecek

make clearing of /tmp after reboot configurable (default on), as per recent
discussion on current-users


# 1.73 13-Feb-2000 itojun

add ip6defaultif configuration variable in rc.conf, for configuring
default outgoing interface for IPv6 host when default router list is empty.

the configuration is just for very rare case. it is safe to leave it empty.


# 1.72 04-Feb-2000 itojun

change IPv6 configuration syntax to avoid ambiguity.
ip6mode=host: IPv6 host
ip6mode=autohost: IPv6 host, with autoconfig
ip6mode=router: IPv6 router

backward compatibility to "ip6forwading" is provided.


# 1.71 27-Jan-2000 fair

remove extraneous flags for xntpd startup, since there is now a
default ntp.conf file, per PR 4312


# 1.70 18-Jan-2000 augustss

Change the name rc.conf.local to rc.local.conf. This makes *.conf match all
config files. Thanks to Greg Oster for the suggestion.


# 1.69 18-Jan-2000 augustss

While we're waiting for the new all singing, all dancing rc system, add
a way to configure local stuff; if the file rc.conf.local exists it
is sourced at the end of rc.conf.


# 1.68 30-Dec-1999 windsor

We need to put /usr in critical_filesystems_beforenet since rc.subr
("mount_critical_filesystems local") makes no assumptions about /usr.

Under certain (semi-normal) conditions, /usr is never mounted until
"mount -a" late in rc(8), and This Is Bad.


# 1.67 23-Dec-1999 windsor

nit-picking spaces at EOL


# 1.66 23-Dec-1999 abs

Consistency nit - use X11 in all comments not sometimes x11


# 1.65 22-Dec-1999 augustss

Add a comment about the ifconfig_xxN variables.


# 1.64 20-Dec-1999 itojun

check for IPv6 kernel by exit status of "ifconfig lo0 inet6".
now IPv6 portion of netstart does not require /usr mount, it will mount it
as necessary (like pppd configuration do).

thanks goes to christos for the tip.


# 1.63 06-Dec-1999 abs

Default to -z in savecore_flags


# 1.62 23-Nov-1999 lukem

accounting should be controllable via $accounting=YES in rc.conf...


# 1.61 15-Nov-1999 fvdl

Remove update, it's no longer used.


# 1.60 05-Nov-1999 mycroft

branches: 1.60.2;
Disable portmap by default, and add some more comments in that section.


# 1.59 09-Oct-1999 sommerfeld

Add -f /var/db/ntp.drift to default xntpd parameters.


# 1.58 28-Sep-1999 bouyer

Add support for $defcorename


# 1.57 03-Sep-1999 itojun

branches: 1.57.2;
add sanity check on rtadvd invocation (allowed on IPv6 routers only).
add rc.conf entry for rtsold.


# 1.56 16-Aug-1999 is

Screenblank has supported more than sun3 and sparc for a long, long time.


# 1.55 07-Jul-1999 drochner

repair diskless startup: "netstart" needs "sysctl" and "awk" now, thus
"/usr" must be mounted. mount_critical_filesystems() didn't mount it,
even if listed in "critical_filesystems", if it is nfs.
Solution: introduce another rc.conf variable
"critical_filesystems_beforenet" which contains filesystems to be mounted
before "netstart".
Perhaps "netstart" should be split up, but this would make things even
more complex...


# 1.54 02-Jul-1999 itojun

add IPv6 configuration (ip6forwarding, rtsol, route6d and rtadvd).
Right now netsetart does not bother you even if you do not have
"options INET6" in the kernel.


# 1.53 30-Jun-1999 augustss

usbd is dead.


# 1.52 17-May-1999 jwise

Minor wording change in a comment (also formerly known as -> formerly known as)


# 1.51 29-Apr-1999 perry

make -s flags for syslogd and lpd the default


# 1.50 28-Apr-1999 nathanw

Move the knowledge that /usr and /var should be mounted early from
rc.subr to the default rc.conf.
While this is no longer necessary to supress noise,
it increases the clarity of the situation and removes
one more bit of what should be adjustable configuration
from scripts that site admins shouldn't have to edit.

Addresses PRs misc/7406 and (partially) bin/7491.


# 1.49 21-Apr-1999 jwise

Remove comment about critfs_requires_network, which has gone away


# 1.48 09-Apr-1999 mellon

Add a note about critfs_requires_network on dhclient line.


# 1.47 31-Mar-1999 cjs

branches: 1.47.2;
Change mount_critical_filesystems() so that if given an argument
of "local" it will not mount filesystem types it identifies as
network file systems (currently just nfs). Call the function twice,
before networking starts with arg "local", after networking starts
with arg "network". Remove critfs_require_network as is now redundant.


# 1.46 26-Mar-1999 sommerfe

Add dhcrelay startup (allow only if dhcpd isn't started)


# 1.45 24-Mar-1999 mellon

Add critfs_require_network, dhclient and dhclient_flags variables.


# 1.44 17-Mar-1999 drochner

rc.wscons can take arguments, so we shouldn't simply source it but exec in
a subshell. Being here, add a prototype wscons_flags variable.


# 1.43 14-Mar-1999 drochner

introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set


# 1.42 31-Jan-1999 mrg

oops, do not set a default securelevel.


# 1.41 31-Jan-1999 mrg

increase the securelevel (using the same rules as before) much earlier in the
boot process. before cron, sendmail, inetd, etc, are run, but after lkms are
loaded. this avoids the chances of `@reboot', mail .forwards, remote logins,
etc., happening before the securelevel has been raised.


# 1.40 12-Jan-1999 mrg

support dmesg=NO and dmesg_flags, and do not cut the old boot messages..they might be useful. fix a typo (rbootd is not rarpd)


# 1.39 11-Jan-1999 jwise

Enable cron to be turned on and off from rc.conf, like other daemons.
From Soren S. Jorvang <soren@t.dk>, closes his PR bin/5250.


# 1.38 11-Jan-1999 jwise

Add $portmap_flags variable, now that portmap has optional flags, and
by default, pass '-l' flag (libwrap logging) by analogy with inetd


# 1.37 22-Dec-1998 cjs

Separate hardware daemons and add comments.


# 1.36 06-Dec-1998 mrg

do not start usbd by default.


# 1.35 29-Oct-1998 bad

A basic /etc/rc.shutdown. Bails out if do_rcshutdown!=YES in /etc/rc.conf
(default is YES). Kills xdm and waits for it to terminate if it was enabled
in rc.conf (based on a code snippet from Ignatios).


# 1.34 14-Sep-1998 tv

Disable rc.lkm by default. This has the nontrivial, hidden effect that if
rc.lkm is run, and BIND is used to resolve names, the BEFORENET stage of
rc-calling-rc.lkm will hang trying to mount a nfs /usr.


# 1.33 03-Aug-1998 lukem

add /usr/pkg/sbin:/usr/pkg/bin to (commented out) PATH entry


# 1.32 01-Aug-1998 augustss

Turn on the usbd daemon per default. It's harmless since it just
exits if there are no USB controller.


# 1.31 12-Jul-1998 augustss

Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers


# 1.30 11-May-1998 fair

no changes in previous rev, as documented; goof! (sorry). Once again - document that "domainname" is about YP/NIS, not Internet, per PR#5442


# 1.29 06-Apr-1998 mrg

add "screenblank" support.


# 1.28 26-Jan-1998 lukem

fix indentation


# 1.27 20-Dec-1997 christos

PR/3638: David Brownlee: Add /etc/ipnat.conf functionality.


# 1.26 03-Dec-1997 chuck

fix formatting


# 1.25 22-Nov-1997 mrg

print a warning if no swap devices are configured and "no_swap" is not YES.


# 1.24 16-Nov-1997 mrg

- remove additional `adding interface aliases:' message.
- add `ppp_peers' support, which will run `pppd call <peer>' for each
peer listed in the ppp_peers file that also has a /etc/ppp/peers/<peer>
configuration file.


# 1.23 10-Nov-1997 jonathan

Add options to rc.conf and rc to start xfs (x font server) and xdm.
Add entries to rc.conf.5.
While we're here, note that the domestic kerberos damons are still
Kerberos IV, not kerberos version 5.


# 1.22 10-Oct-1997 drochner

branches: 1.22.2;
Replace the (slightly broken) check to avoid double mounting of
filesystems by a correct one. (too bad that there was no agreement
about a mount option doing the same...)
Introduce a new rc.conf variable to mount user-defined filesystems
early in startup (eg for syslog, crashdumps, ...).


# 1.21 07-Oct-1997 lukem

add $ipmon and $ipmon_flags, to control startup of ipmon(8)


# 1.20 06-Oct-1997 mrg

turn off lpd by default.


# 1.19 15-Sep-1997 bouyer

Typo in comments: netstart uses /etc/defaultdomain, not /etc/domainname.


# 1.18 07-Sep-1997 cjs

Add -l option to inetd.


# 1.17 29-Aug-1997 veego

Only start programms which we started in the previous version (1.15)
and also don't use the PATH with /usr/local/sbin:/usr/local/bin .


# 1.16 28-Aug-1997 cjs

Split rc.conf variables for starting programs into two: an on/off
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.


# 1.15 03-Aug-1997 perry

add apmd to /etc/rc and /etc/rc.conf per Lennart Augstsson in pr 3313


# 1.14 22-Jul-1997 phil

Allow routes to be flushed in netstart (rc.conf option, default YES).
PR 3228.


# 1.13 12-May-1997 lukem

provide empty settings for $hostname, $domainname and $defaultroute,
with comments indicating alternation locations for info


# 1.12 11-May-1997 mikel

ntpdate is not a daemon, and add comment for kerberos_server


# 1.11 10-May-1997 cjs

Make xntpd put its pid in /var/run/xntpd.pid.


# 1.10 27-Apr-1997 perry

Add support for an ntpdate_hosts variable.
settings:
NO: don't run ntpdate on boot
DEFAULT:extract a list of hosts from /etc/ntp.conf
otherwise, a list of hosts to poll with ntpdate


# 1.9 22-Apr-1997 perry

make motd update conditional on an rc.conf variable (update_motd), and
move it before interactive logins are possible (just in case).


# 1.8 01-Apr-1997 cjs

Move network interface config after programs run on boot-up, to match
the order this actually happens in at boot time.


# 1.7 01-Apr-1997 perry

Change the way interfaces are configured on startup.
We no longer do /etc/hostname.* files, we do /etc/ifconfig.* files
instead, which contain lines each of which is fed to
ifconfig in turn. A new variable, net_interfaces, controls which
interfaces get brought up, by default, ifconfig -l is used to find a list.


# 1.6 23-Mar-1997 cjs

Re-ordered and added comments to match new rc.conf.5.


# 1.5 16-Mar-1997 cjs

Added mopd.


# 1.4 12-Mar-1997 mycroft

Add . GC , which isn't used.


# 1.3 10-Mar-1997 mycroft

If foo_flags is DEFAULT, run the program with a default set of flags. Most
users will use this, and therefore will never have to worry about flags
changing between releases. It's also a bit less error-prone.


# 1.2 09-Mar-1997 scottr

Add configuration flags for lockd/statd, and start them if an
NFS server or client is configured and the flags are not NO.


# 1.1 05-Jan-1997 mrg

move start-time configuration from netstart, rc, rc.local into
the new /etc/rc.conf. this also includes the following changes:

netstart: ifaliases now includes a netmask, to ensure
aliases work.

rc/rc.local: make _everything_ based on configuration
in rc.conf. also move things around such that DNS and
YP are started early enough that other daemons needing
their services also exist. move ldconfig from rc.local
here, and also make it use /etc/ld.so.conf if it exists.
run /etc/rc.lkm if it exists, a boot time.


# 1.22.2.3 28-Nov-1997 mellon

Pull rev 1.25 up from trunk (mrg)


# 1.22.2.2 17-Nov-1997 mellon

Pull rev 1.24 up from trunk (mrg)


# 1.22.2.1 12-Nov-1997 mellon

Pull rev 1.23 up from trunk (jonathan)


# 1.47.2.3 17-Oct-1999 cgd

pull up rev 1.59 from trunk (requested by sommerfeld):
Add "-f /var/db/ntp.drift" to default xntpd parameters to make it
more likely the clock frequency error learned by NTP will be
retained across reboots.


# 1.47.2.2 21-Apr-1999 perry

pullup 1.48->1.49 (jwise): remove vestigial critfs_requires_network comment


# 1.47.2.1 08-Apr-1999 mellon

Pull up revision 1.48 (addresses PR#7347).


# 1.57.2.1 27-Dec-1999 wrstuden

Pull up to last week's -current.


# 1.60.2.2 05-Nov-1999 mycroft

Disable portmap by default, and add some more comments in that section.


# 1.60.2.1 05-Nov-1999 mycroft

file rc.conf was added on branch comdex-fall-1999 on 1999-11-05 11:19:50 +0000


# 1.81.2.1 23-Jun-2000 minoura

Sync w/ netbsd-1-5-base.


# 1.85.2.9 24-Apr-2001 he

Pull up revision 1.96 (requested by lukem):
Fix a typo.


# 1.85.2.8 01-Oct-2000 lukem

pull up rev 1.95 (approved by thorpej):
move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.


# 1.85.2.7 23-Aug-2000 lukem

pull up the following revs:
daily.conf 1.3
monthly.conf 1.2
rc.conf 1.94
security.conf 1.7
weekly.conf 1.2
reason:
migrate default installation config files from /etc to /etc/default
approved:
thorpej


# 1.85.2.6 21-Aug-2000 abs

Move options into 'ntp_flags', to make it possible to add '-u'
without having to modify rc.d/ntpdate
Pullup, approved by thorpej:
etc/rc.conf 1.93
etc/rc.d/ntpdate 1.5


# 1.85.2.5 09-Aug-2000 lukem

pull up revs 1.89 - 1.92:
approved by: thorpej

1.89:
- be consistent in formatting sentences
- note that xdm might need wscons for local X servers (c.f.
[install/9967])

1.90:
clarify the difference between $critical_filesystems_beforenet and
$critical_filesystems, and why `/var' should be in the former (or
implied as part of `/' which is already mounted).

1.91:
Add $sshd and $sshd_flags for use by both usr.bin/sshd and
pkgsrc/security/{open,}ssh. As a precedent, note the presence of
$gated, even though we do not distribute gated outside of pkgsrc.

1.92:
Add kdc/kdc_flags variables.
[this had already been done by thorpej in 1.85.2.4, but kdc was YES
on the branch but NO on the trunk, so I turned it off again]


# 1.85.2.4 06-Aug-2000 thorpej

Pull up rev. 1.92:
Add kdc/kdc_flags variables.


# 1.85.2.3 03-Jul-2000 thorpej

Pull up rev. 1.88:
Fix typo (enable -> enabled)


# 1.85.2.2 01-Jul-2000 hubertf

Pullup rev. 1.87, ok'd by thorpej:

Clarify comment that inetd only starts up IP-based services *that are
enabled in /etc/inetd.conf* (someone asked me last week why NetBSD doesn't
come with a telnet server...)


# 1.85.2.1 20-Jun-2000 itojun

remove ip6defaultif configuration, which is not for common installation.
approved by: releng-1-5


# 1.96.78.1 10-Aug-2014 tls

Rebase.


# 1.96.64.1 19-Aug-2014 tls

Rebase to HEAD as of a few days ago.