History log of /src/share/man/man5/rc.conf.5
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.194 02-Oct-2024 roy

rc.conf(5): dhcpcd has not started wpa_supplicant in ages


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.193 30-Jun-2023 riastradh

branches: 1.193.2;
rc.conf(5): Set entropy=wait by default.

We no longer block indefinitely -- if nothing else, the hardclock
timer should yield enough samples to unblock /dev/random on all but
the most severely deterministic machines -- so it should be generally
safe for availability to set entropy=wait.

This doesn't guarantee that HWRNG/seed has been provided before you
run ssh-keygen or call getentropy(3) in a user application, but it
does raise the security above netbsd<=9.

PR security/55659
PR lib/56905

XXX pullup-10


Revision tags: netbsd-10-base
# 1.192 20-Feb-2022 alnsn

branches: 1.192.2;
Document critical_filesystems_zfs.


# 1.191 20-Feb-2022 alnsn

Document zfs variable.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.190 15-Jan-2021 riastradh

Tweak wording for consistency: `if empty or not set', not `if unset'.


# 1.189 15-Jan-2021 riastradh

Clarify that `entropy' may be left unset in rc.conf.


# 1.188 10-Jan-2021 riastradh

Various entropy integration improvements.

- New /etc/security check for entropy in daily security report.

- New /etc/rc.d/entropy script runs (after random_seed and rndctl) to
check for entropy at boot -- in rc.conf, you can:

. set `entropy=check' to halt multiuser boot and enter single-user
mode if not enough entropy

. set `entropy=wait' to make multiuser boot wait until enough entropy

Default is to always boot without waiting -- and rely on other
channels like security report to alert the operator if there's a
problem.

- New man page entropy(7) discussing the higher-level concepts and
system integration with cross-references.

- New paragraph in afterboot(8) about entropy citing entropy(7) for
more details.

This change addresses many of the issues discussed in security/55659.
This is a first draft; happy to take improvements to the man pages and
scripted messages to improve clarity.

I considered changing motd to include an entropy warning with a
reference to the entropy(7) man page, but it's a little trickier:
- Not sure it's appropriate for all users to see at login rather than
users who have power to affect the entropy estimate (maybe it is,
just haven't decided).
- We only have a mechanism for changing once at boot; the message would
remain until next boot even if an operator adds enough entropy.
- The mechanism isn't really conducive to making a message appear
conditionally from boot to boot.


# 1.187 11-Sep-2020 wiz

New sentence, new line.


# 1.186 11-Sep-2020 kim

Document update_motd_release and motd_release_tag


# 1.185 15-Jul-2020 leot

Document unbound and unbound_chrootdir.


# 1.184 15-Jul-2020 jruoho

's/blacklistd/blocklistd/'. Note also blocklistd_flags.


# 1.183 15-Jul-2020 jruoho

Note modules.


# 1.182 24-Jun-2020 jruoho

As bin/55344 was fixed, note the flags also in rc.conf(5).


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.181 03-Jun-2019 msaitoh

branches: 1.181.2;
Fix typo in comment (s/seperate/separate/).


# 1.180 11-May-2019 maxv

Add smtoff, an rc.d script that disables Simultaneous Multi-Threading. It
parses the output of cpuctl, and executes "cpuctl offline" for each CPU
that has SmtID!=0.

The default is "smtoff=NO", which means that SMT remains enabled.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.179 20-Oct-2018 wiz

Remove trailing whitespace. Fix a macro.


Revision tags: pgoyette-compat-1020
# 1.178 19-Oct-2018 martin

Apply patch from Ian D. Leroux in PR bin/51019:
when unmounting tmpfs file systems at shutdown time, avoid unmounting
a tmpfs created by init on /dev - behaviour overridable from rc.conf.
By default all tmpfs that have device nodes are not mounted.


# 1.177 01-Oct-2018 uwe

Use more .Ql (quoted literal) for variable values.
Misc markup fixes.


# 1.176 01-Oct-2018 wiz

Use more markup.


# 1.175 30-Sep-2018 martin

Discussed some years ago but never commited: add an option to have a
single tmpfs (on /tmp) and use that for /var/shm as well (via a symlink
created after the tmpfs on /tmp has been mounted)


Revision tags: pgoyette-compat-0930
# 1.174 23-Sep-2018 maxv

Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.


# 1.173 23-Sep-2018 maxv

Remove the userland part of ISDN. The kernel part is untouched for now.
ipppctl was actually an exact copy of pppoectl; there is no functional
change in pppoectl in this commit.


Revision tags: pgoyette-compat-0906 pgoyette-compat-0728
# 1.172 27-Jul-2018 roy

Allow rc.conf to setup resolv.conf via resolvconf(8).
This allows all static network config to be in rc.conf rather than
spread across files.


# 1.171 13-Jul-2018 maya

Remove dhclient references.


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.170 22-Jun-2018 maya

branches: 1.170.2;
Describe something for npf, npfd, blacklistd.


# 1.169 22-Jun-2018 maya

Remove documentation references to rtsol.


Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.168 09-Jan-2018 wiz

branches: 1.168.2;
Stop using Tn.


# 1.167 09-Jan-2018 christos

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet


Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107
# 1.166 17-Dec-2016 maya

branches: 1.166.6;
Change one more "generic DHCP client" reference to say dhcpcd rather
than dhclient


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.165 27-Dec-2015 wiz

branches: 1.165.2;
Fix typo. Remove trailing whitespace.


# 1.164 27-Dec-2015 christos

describe the ip6addrctl variables.


# 1.163 12-Oct-2015 wiz

Bump date for previous.


# 1.162 09-Oct-2015 plunky

attaching controllers to serial ports is configured using btattach.conf
and not btdevctl.conf, so say that


# 1.161 09-Jul-2015 wiz

Spelling.


# 1.160 09-Jul-2015 roy

Note that dhcpcd will ignore the wpa_supplicant variable in rc.conf


# 1.159 30-Mar-2015 wiz

Bump date for previous.
it's -> its


# 1.158 30-Mar-2015 chopps

Add resize_root boot operation. If resize_root=YES in rc.conf then
the system attempts to resize the root file system to fill it's
partition prior to mounting read-write. Useful for things like AMI
file system images. May eventually be used by arm images after
coming up with similar solution for increasing the parition size.


Revision tags: netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.157 15-Jan-2014 apb

branches: 1.157.4;
Document random_seed and random_file.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.156 13-Jan-2013 wiz

New sentence, new line.


# 1.155 13-Jan-2013 prlw1

Add ppp=YES variable. Currently pppd(8) starts automatically if ppp_peers
is not empty. Adding a ppp variable allows the default peer to be set,
and ppp set to NO so that dialing can happen with /etc/rc.d/ppp onestart.
Default set to YES so that old behaviour is preserved.
http://mail-index.netbsd.org/tech-userlevel/2012/08/21/msg006656.html


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.154 02-Oct-2012 roy

Discourage the use of ifconfig_bge0=dhcp and prefer setting dhcpcd=YES
in rc.conf(5) instead.


# 1.153 04-Jul-2012 jdf

branches: 1.153.2;
* add entry for lvm(8)
* add subsection for block device subsystem setup
* s/OPTIONAL:/"OPTIONAL:" to make mdoclint happier
* add missing type specifications of variables


# 1.152 03-Jun-2012 joerg

Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base
# 1.151 08-Jan-2012 dholland

branches: 1.151.2;
Sentences should verbs. From Snader_LB


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.150 01-Jun-2011 jruoho

branches: 1.150.4;
Remove the previous, as it was already there. Instead, split one long
paragraph and fix a typo.


# 1.149 01-Jun-2011 jruoho

Note bluetooth.


# 1.148 27-May-2011 wiz

Bump date for previous.


# 1.147 27-May-2011 plunky

provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any configuration settings
other than "bluetooth=YES", though the full range of configurations is
still possible.


# 1.146 18-Mar-2011 jruoho

Fix xref; security(8) -> security(7).


# 1.145 08-Mar-2011 snj

bah! it's 2011 already?


# 1.144 08-Mar-2011 snj

mention mdnsd(8), and fix a typo while here


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.143 20-Apr-2010 wiz

Fix xref.


# 1.142 19-Apr-2010 jruoho

Mention security(8) in rc.conf(5) and symlink(7) in security(8).


# 1.141 20-Mar-2010 wiz

New sentence, new line.


# 1.140 19-Mar-2010 jruoho

Bump date for the previous commit.


# 1.139 19-Mar-2010 jruoho

Document some missing options. Fixes my own PR # 41913.


Revision tags: matt-premerge-20091211
# 1.138 24-Oct-2009 reed

For the rpc* references use the full rpc.* names.
These match what is really installed.
I know the man links are there too. But this helps in the
case where someone has printed man pages but only has one
man page printed per inode -- so best to refer to the known Dt name.


# 1.137 30-Sep-2009 apb

Document the fact that wpa_supplicant won't start properly unless
/usr is mounted by mountcritlocal.


# 1.136 14-Sep-2009 wiz

Punctuation nits.


# 1.135 14-Sep-2009 apb

Add the ability for file systems mounted via mount_critical_filesystems()
in rc.subr to be marked as optional. This means that it's not an
error if the file system is not mentioned in /etc/fstab. It is
still an error if something else goes wrong.

Change the defaults for these two variables in /etc/defaults/rc.conf:
critical_filesystems_local="OPTIONAL:/var"
critical_filesystems_remote="OPTIONAL:/usr"


# 1.134 11-Sep-2009 wiz

Bump date for previous.


# 1.133 11-Sep-2009 apb

Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode. Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.


# 1.132 03-Sep-2009 apb

* Boolean values may be specified with any of YES/TRUE/ON/1 or
NO/FALSE/OFF/0, so explain that.
* Change all "Foo: YES or NO. If not set to YES then ..." to
"Foo: Boolean value. If false then ...".
* Some rewording for clarity.


# 1.131 25-Jul-2009 wiz

Bump date for previous.


# 1.130 25-Jul-2009 mbalmer

Document recent gpio(4) changes and introduce a new config file for GPIO.
Integrate with the startup scripts in /etc/rc.d. Introduce new variable
"gpio" for /etc/rc.conf.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.129 10-Apr-2009 joerg

Add rc_directories to specify where to look for rc scripts.
For the moment all scripts must be in /root and non-existent directories
are skipped.


# 1.128 27-Mar-2009 hannken

Document ipfilter_flags.


# 1.127 04-Jan-2009 apb

branches: 1.127.2;
* Add etc/rc.d/rndctl script, based on work by Brian A. Seklecki. This
allows you to invoke rndctl(8) during the boot.
* Add rndctl=NO and rndctl_flags="" to /etc/defaults/rc.conf.
* Document rndctl and rndctl_flags variables in rc.conf(5).


# 1.126 20-Dec-2008 wiz

Drop trailing whitespace. Bump date for poffd.


# 1.125 20-Dec-2008 isaki

x68k pow(4) now uses MI sysmon_pswitch framework. suggested by tsutsui@.
- Make MD poffd(8) retire, and use MI powerd(8) instead of it.
- Make /dev/pow1 retire, because nobody holds /dev/pow0 any longer.
Use /dev/pow0 for pow(4) ioctl.
- POWIOCSSIGNAL ioctl which is for poffd(8) is also obsoleted.


# 1.124 11-Dec-2008 wiz

Bump date for previous, improve wording a bit.


# 1.123 11-Dec-2008 mishka

Import rc.d/httpd script for httpd(8) daemon control.
See rc.conf(5) for options explanation.


# 1.122 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


# 1.121 11-Nov-2008 reed

Reference secmodel_securelevel(9) manual page.


Revision tags: netbsd-5-base matt-mips64-base2 mjf-devfs2-base
# 1.120 20-Sep-2008 apb

branches: 1.120.2;
* Allow multiple commands in $ifconfig_xxN variables in rc.conf(5).
This may be done either by embedding newlines in the value,
or by using semicolons to represent line breaks (but not both at once).
* Allow shell quoting insode $ifconfig_xxN variables or /etc/ifconfig.xxN
files. This allows something like ifconfig_wi0="ssid 'my network'; dhcp"


Revision tags: wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 wrstuden-revivesa-base
# 1.119 18-Jun-2008 yamt

merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@


Revision tags: yamt-pf42-base4 yamt-pf42-base3
# 1.118 30-May-2008 wiz

Fix xref. End sentence with a dot.


# 1.117 30-May-2008 mrg

convert the rest of my licenses to 2-clause, extracting myself out
from a group as necessary.

bozohttpd remains, but it will get fixed next time i update it.


# 1.116 29-May-2008 joerg

Allow per-interface DHCP configuration using dhcpcd via
ifconfig_xxN=dhcp or a dhcp line in /etc/ifconfig.xxN.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base
# 1.115 15-Apr-2008 plunky

branches: 1.115.2; 1.115.4;
some changes to serial bluetooth host controller interfaces

btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland


Revision tags: keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 1.114 15-May-2007 elad

branches: 1.114.10;
Some Veriexec stuff that's been rotting in my tree for months.

Bug fixes:
- Fix crash reported by Scott Ellis on current-users@.

- Fix race conditions in enforcing the Veriexec rename and remove
policies. These are NOT security issues.

- Fix memory leak in rename handling when overwriting a monitored
file.

- Fix table deletion logic.

- Don't prevent query requests if not in learning mode.


KPI updates:
- fileassoc_table_run() now takes a cookie to pass to the callback.

- veriexec_table_add() was removed, it is now done internally. As a
result, there's no longer a need for VERIEXEC_TABLESIZE.

- veriexec_report() was removed, it is now internal.

- Perform sanity checks on the entry type, and enforce default type
in veriexec_file_add() rather than in veriexecctl.

- Add veriexec_flush(), used to delete all Veriexec tables, and
veriexec_dump(), used to fill an array with all Veriexec entries.


New features:
- Add a '-k' flag to veriexecctl, to keep the filenames in the kernel
database. This allows Veriexec to produce slightly more accurate
logs under certain circumstances. In the future, this can be either
replaced by vnode->pathname translation, or combined with it.

- Add a VERIEXEC_DUMP ioctl, to dump the entire Veriexec database.
This can be used to recover a database if the file was lost.
Example usage:

# veriexecctl dump > /etc/signatures

Note that only entries with the filename kept (that is, were loaded
with the '-k' flag) will be dumped.

Idea from Brett Lymn.

- Add a VERIEXEC_FLUSH ioctl, to delete all Veriexec entries. Sample
usage:

# veriexecctl flush

- Add a 'veriexec_flags' rc(8) variable, and make its default have
the '-k' flag. On systems using the default signatures file
(generaetd from running 'veriexecgen' with no arguments), this will
use additional 32kb of kernel memory on average.

- Add a '-e' flag to veriexecctl, to evaluate the fingerprint during
load. This is done automatically for files marked as 'untrusted'.


Misc. stuff:
- The code for veriexecctl was massively simplified as a result of
eliminating the need for VERIEXEC_TABLESIZE, and now uses a single
pass of the signatures file, making the loading somewhat faster.

- Lots of minor fixes found using the (still under development)
Veriexec regression testsuite.

- Some of the messages Veriexec prints were improved.

- Various documentation fixes.


All relevant man-pages were updated to reflect the above changes.

Binary compatibility with existing veriexecctl binaries is maintained.


# 1.113 18-Mar-2007 plunky

For sdpd(8), change default user/group from nobody/nobody to _sdpd/_sdpd


# 1.112 04-Feb-2007 elad

Add support for per-user /tmp.

Enabled via per_user_tmp in /etc/rc.conf (default off).

See security(8) and rc.conf(5) for more details.

Lots of input from thorpej@ & christos@, thanks!


# 1.111 23-Dec-2006 wiz

Undo accidental change in 1.109.


# 1.110 04-Dec-2006 rpaulo

Mention wpa_supplicant rc script.
Noted by hubertf@


Revision tags: netbsd-4-0-RC2 netbsd-4-0-RC1 netbsd-4-base
# 1.109 13-Oct-2006 wiz

branches: 1.109.2; 1.109.4;
Bump date for previous.


# 1.108 10-Oct-2006 reed

Instead of pointing to vi man page, refer to new virecover
man page for the virecover details.


# 1.107 10-Sep-2006 plunky

update to bluetooth device attachment:

remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf


# 1.106 22-Aug-2006 christos

sendmail is no more. from our anonymous admirer.


# 1.105 13-Aug-2006 plunky

rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming
scheme for control programs. This fixes pr 34051.


Revision tags: abandoned-netbsd-4-base
# 1.104 30-Jul-2006 wiz

branches: 1.104.2;
Bump date for previous. New sentence, new line.


# 1.103 26-Jul-2006 tron

Bluetooth fixes by Iain Hibbert:
Create "/etc/rc.d/btcontrol" to attach bluetooth devices at boot.


# 1.102 19-Jun-2006 gdamore

Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.


Revision tags: chap-midi-nbase chap-midi-base
# 1.101 30-Apr-2006 wiz

Remove trailing space.


# 1.100 30-Apr-2006 rpaulo

Add irdaattach and hostapd.


# 1.99 27-Mar-2006 ghen

Document the defaultroute6 rc.conf variable and the /etc/mygate6 file in
/etc/defaults/rc.conf, /etc/mtree/special, and rc.conf(5). Ok with wiz.


# 1.98 09-Feb-2006 wiz

New sentence, new line.


# 1.97 24-Nov-2005 wiz

Drop trailing whitespace.


# 1.96 24-Nov-2005 rpaulo

RFC 3879 deprecated the IPv6 site-local prefix (fec0::/10):
* remove all references to $ip6sitelocal and output a warning
message if the variable is defined.
* introduce $ip6uniquelocal (defaults to 'NO') that will control the
behaviour of the system when $ip6mode is ``router'' (i.e. fc00::/7
will not be routed if the variable is ``NO'') as per RFC 4193.

Thanks to Jonathan A. Kollasch for pointing this out in PR 32152.


# 1.95 19-Nov-2005 elad

Add information about recently added veriexec_strict and veriexec_verbose
rc.conf variables.


# 1.94 17-Sep-2005 wiz

Fix typo.


# 1.93 17-Sep-2005 elad

Document permit_nonalpha.
PR/20497.


Revision tags: netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.92 22-Jul-2004 atatat

branches: 1.92.2;
More better description of current state of sendmail stuff in more
places. This is intended to make some people a tad happier.


# 1.91 15-Jul-2004 wiz

Bump date for previous; mark up path with Pa.


# 1.90 15-Jul-2004 atatat

Change the default settings for sendmail.

(1) The stock sendmail.cf will only listen on the loopback interface.
(2) The stock submit.cf specifally connects to "localhost." which
should be less susceptible to being confused or looking confused.
(3) The smtp listener starts by default, if needed. The setting in
/etc/default/rc.conf is still "no", but rc.d/sendmail detects the
default setting and will change it to yes if need is determined.

Need is defined as "nothing else seems to have been changed about the
mail configuration but we'd like locally originated and locally
destined mail to be delivered". If you change, eg, mailer.conf to
point to postfix or some other MTA, sendmail will not start.


# 1.89 15-Jul-2004 atatat

Make the directory into which crash dumps are saved into something
that can be controlled via rc.conf. The default is, of course,
/var/crash.


Revision tags: netbsd-2-0-base
# 1.88 15-Jan-2004 jmmv

branches: 1.88.2;
Sort lists of variables alphabetically. Also adjust "see also" entries to
refer to manpages related to the rc.d infrastructure.


# 1.87 14-Jan-2004 jmmv

Document the veriexec variable.


# 1.86 12-Jan-2004 uebayasi

Refine English. From Luke.


# 1.85 12-Jan-2004 uebayasi

Now /etc/rc.d/virecover can be configurable by rc.conf(5). Reflect
it. Bump date.


# 1.84 02-Dec-2003 wiz

Fix typo. Closes PR 23622 by James Whitwell.


# 1.83 26-Oct-2003 wiz

Bump date for previous.
Do not turn off hyphenation (no reason).


# 1.82 26-Oct-2003 martti

Added descripton about fsck_flags


# 1.81 27-Jun-2003 wiz

Pa Sy -> Sy.


# 1.80 06-Apr-2003 wiz

Document mixerctl behaviour during startup better.
Based on PR 21023 by Quentin Garnier.


# 1.79 02-Apr-2003 wiz

Bump date.


# 1.78 02-Apr-2003 atatat

Documentation for the new sendmail related rc.conf variables, and the
interactions between them.


# 1.77 10-Mar-2003 wiz

x68k, not x86k. PR 20650 by Josh Glover.


# 1.76 25-Feb-2003 wiz

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.


Revision tags: fvdl_fs64_base
# 1.75 18-Dec-2002 wiz

Grammar fix, and drop a trailing space.


# 1.74 04-Dec-2002 martin

Document the force_down_interfaces variable.


# 1.73 29-Nov-2002 wiz

New sentence, new line.


# 1.72 26-Nov-2002 grant

Improve ipmon_flags.

From Jason Lingohr <jason at lucid dot net dot au>.


# 1.71 25-Nov-2002 grant

New sentence, new line.


# 1.70 25-Nov-2002 grant

add ipmon_flags. from freebsd.


# 1.69 25-Oct-2002 wiz

Mention wsmoused(8) in some places (based on patch from PR 18801 by
Julio Merino).


# 1.68 02-Oct-2002 wiz

file systems, not filesystems.


# 1.67 29-Aug-2002 wiz

Drop trailing space.


# 1.66 27-Aug-2002 takemura

Added touch panel calibration utility.


# 1.65 26-Aug-2002 abs

Append ' - see rc.conf(5)' to unset variable warning:
/etc/rc.d/fu: WARNING: $fu is not set properly - see rc.conf(5).
Add a note to rc.conf that third party packages may test for additional
variables.


# 1.64 08-Jul-2002 atatat

Cross reference rc.subr(8) from rc.conf(5).


# 1.63 17-Jun-2002 lukem

ntpd_chrootdir needs /dev/clockctl as well


# 1.62 15-Jun-2002 lukem

$ntpd_chroot requires "pseudo-device clockctl" in the kernel


Revision tags: netbsd-1-6-base
# 1.61 19-May-2002 lukem

branches: 1.61.2;
Add two new rc.conf(5) variables:
rc_rcorder_flags extra flags to rcorder(8) in /etc/rc
rcshutdown_rcorder_flags extra flags to rcorder(8) in /etc/rc.shutdown

This can be used to specify extra directories to search for rc.d scripts in.
For example, adding the following to rc.conf(5):
rc_rcorder_flags="/usr/pkg/etc/rc.d/*"
rcshutdown_rcorder_flags="/usr/pkg/etc/rc.d/*"
will add the files in /usr/pkg/etc/rc.d to the list of files that rcorder(8)
uses to build the list of scripts to start or stop.

I proposed this functionality on tech-userlevel@ over one month ago.
Closes the recent [misc/16888], which asked for a similar feature.


# 1.60 29-Apr-2002 lukem

- deprecate ip6forwarding in favour of ip6mode
- various grammar fixes


# 1.59 29-Apr-2002 lukem

deprecate $sshd_conf_dir (and hardcode as "/etc/ssh").
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).


# 1.58 18-Apr-2002 lukem

improve /etc/rc.conf.d/* documentation, as per reminder from matt green.


# 1.57 27-Mar-2002 lukem

Replace $critical_filesystems_beforenet with $critical_filesystems_local .
Replace $critical_filesystems with $critical_filesystems_remote .

The new names are now consistent with the type argument that
mount_critical_filesystems() is called with, and allows for other types to
be easily supported by that function.

For backwards compatibility purposes, if the now obsolete variable is defined
(even empty), it takes precedence over the new form, and you will be warned.
If you want to stop the warnings, update your rc.conf(5) settings!


# 1.56 21-Mar-2002 lukem

swapoff


# 1.55 01-Mar-2002 mrg

note that securelevel=0 ends up -> securelevel=1 (part of PR#13647)


# 1.54 25-Feb-2002 lukem

the rc_fast_and_loose behaviour is enabled if the variable != "", not
if it == "YES", so fix the documentation...


# 1.53 24-Feb-2002 lukem

sshd_conf_dir


# 1.52 11-Feb-2002 martti

ipfs allows state information created for NAT entries and rules using
keep state to be locked (modification prevented) and then saved to disk,
allowing for the system to experience a reboot, followed by the restoration
of that information, resulting in connections not being interrupted.

To activate this feature, set ipfs=YES in /etc/rc.conf


# 1.51 21-Jan-2002 wiz

Punctuation nit, file system separation, and slight formatting improvements.


# 1.50 21-Jan-2002 lukem

- document rc_fast_and_loose, racoon, ifwatchd, altq, named_chrootdir,
ntpd_chrootdir, ndbootd, isdnd, isdn_autoupdown, poffd, moused
- reorder some entries
- add "passes xxxx_flags" for some entries
- clarify the types of a few variables
- fix typos


# 1.49 08-Sep-2001 wiz

Whitespace/punctuation fixes.


# 1.48 18-Aug-2001 ad

Make newsyslog at boot optional, as it should have been.


# 1.47 17-Jun-2001 lukem

document $rcshutdown_timeout.
document $mountd. (this one fixes [misc/13135])
remove $amd_master. (this one fixes [misc/11971])


# 1.46 25-Apr-2001 mjl

Fix typo and missing word. PR/12744 by Gael Queri.


# 1.45 09-Apr-2001 wiz

Remove paragraph about gated(8). Noted by Hubert Feyrer.


# 1.44 04-Apr-2001 wiz

dhclient(8), not (1), but postfix(1), not (8).


# 1.43 24-Feb-2001 mrg

sshd is part of NetBSD these days.... this should have been updated when
ssh was integrated into netbsd, so as not to confuse people who think they
need to (and do) install some other ssh package on 1.5 or later machines.


# 1.42 11-Jan-2001 itojun

extend /etc/ifconfig.xxN, for comment lines (#) and shell script
fragment (!). inspired by openbsd /etc/hostname.xxN.


# 1.41 03-Jan-2001 itojun

add $ip6sitelocal, to control installation of reject route for fec0::/10.


# 1.40 17-Nov-2000 lukem

use Dq as appropriate


# 1.39 01-Oct-2000 lukem

also note /etc/defaults/rc.conf


# 1.38 11-Aug-2000 thorpej

Clarify kdc section.


# 1.37 11-Aug-2000 itojun

kdc superseded kerberos. not sure if the description is 100% right.


# 1.36 08-Aug-2000 lukem

document sshd. add note that whilst sshd & gated are not part of the base
system they are available in the optional package collection.


# 1.35 26-Jul-2000 lukem

* update to match etc/rc.conf
* clean up formatting


# 1.34 03-Jul-2000 enami

Sync with reality:
- Remove update and defcorename.
- portmap is replaced with rpcbind.
- xntpd is replaced with ntpd.
- Add clear_tmp and postfix.
- Remove description about nfsiod and describe that the number of
asynchronous i/o server is controlled via sysctl.
Cosmetic changes:
- Remove an empty line in the source.
- Break line at the end of statement.


# 1.33 20-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


Revision tags: netbsd-1-5-base
# 1.32 13-Jun-2000 itojun

branches: 1.32.2;
add ipsec configuration.


Revision tags: minoura-xpg4dl-base
# 1.31 13-Feb-2000 itojun

branches: 1.31.2;
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.30 11-Feb-2000 itojun

recommend ifconfig_ifN over ifaliases_ifN, for non-IPv4 cases as well.
ifaliases_ifN does not cover p2p case.


# 1.29 05-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.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
# 1.28 29-Nov-1999 itojun

recommend use of multi-line /etc/ifconfig.xxN than /etc/ifaliases, or
$ifaliases_xxN in /etc/rc.conf.
(no behavior change in /etc/netstart, comments only)

see recent tech-userlevel for discussions.


# 1.27 23-Nov-1999 lukem

- document $accounting, $dmesg (and $dmesg_flags)
- cull copyright.


Revision tags: comdex-fall-1999-base
# 1.26 28-Sep-1999 bouyer

Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).


# 1.25 03-Sep-1999 itojun

branches: 1.25.2;
document rtsold.
improve rtsol section.


# 1.24 03-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.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.23 24-Mar-1999 mellon

Document new variables required to automate DHCP client startup.


# 1.22 18-Mar-1999 is

domestic'' is a relative specification


# 1.21 17-Mar-1999 garbled

More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.


# 1.20 15-Feb-1999 lukem

use .Ss to separate subsections, add TNF copyright for bits i've added


# 1.19 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.18 16-Jan-1999 lukem

reference nsswitch.conf(5) as necessary
change references from YP to NIS.


# 1.17 29-Apr-1998 fair

fix bad .Xr references


# 1.16 07-Apr-1998 mrg

document "screenblank."


# 1.15 23-Nov-1997 mrg

document critical_filesystems and no_swap


# 1.14 17-Nov-1997 mrg

document ppp_peers


# 1.13 11-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.


Revision tags: netbsd-1-3-base
# 1.12 10-Oct-1997 mrg

branches: 1.12.2;
remove advertising clause from all my licenses.


# 1.11 02-Sep-1997 mikel

make some changes, from Enami Tsugutomo in PR misc/4066.
I also made some changes of my own.


# 1.10 29-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.9 12-May-1997 lukem

document $hostname, $domainname, $defaultroute and $ifaliases_XXX


# 1.8 12-May-1997 mikel

update to match reality. changes include:
- add missing update_motd and ntpdate_hosts variables
- fix incorrect variable names (syslogd_flags and kerberos_server)
- xntpd(8) has been integrated
- kerberos_server is no longer used by rc.local
- add some xrefs
plus some misc. cleanup.


# 1.7 02-Apr-1997 cjs

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


# 1.6 01-Apr-1997 perry

document net_interfaces, ifconfig_*


# 1.5 23-Mar-1997 cjs

Re-write.


# 1.4 17-Mar-1997 cjs

Rewrote second paragraph, and added mopd in a new format. All the other
entries will be converted soon after feedback is received.


# 1.3 10-Mar-1997 scottr

Document statd_flags and lockd_flags


# 1.2 07-Jan-1997 tls

change rc.conf.5 to reflect change to Kerberos stuff in rc.local, as per mrg


# 1.1 05-Jan-1997 mrg

add man pages for mostly new and some old configuration files.