History log of /freebsd-current/share/man/man5/rc.conf.5
Revision Date Author Comments
# 2efbd480 22-May-2024 Alexander Leidinger <netchild@FreeBSD.org>

rc: add service jails framework

This takes a rc.d-service and starts it in a jail which shares the same
root-path as the host (or parent jail) and may inherit the network from
the host (or parent jail). Per service there is the possibility to
specify some arguments which give more permissions (e.g. netv4, netv6,
sysvipc...).
Reviewed by: bcr (man page)
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D40370


# 3bb5428a 18-May-2024 Alan Somers <asomers@FreeBSD.org>

rc.conf.5: remove obsolete advice about kld_list

Loading modules via kld_list is no longer substantially faster than via
loader.conf.

[skip ci]

MFC after: 2 weeks
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D45242


# bbc36ba9 07-May-2024 Poul-Henning Kamp <phk@FreeBSD.org>

Remove documentation of GBDE rc support


# 4fc5f321 04-May-2024 Warner Losh <imp@FreeBSD.org>

rc.conf.5: Fix translation from netmask to cdir

These two should have been 30 bit masks, not 32, as the original
netmasks were 255.255.255.252.

Fixes: cb808de400c7
Noticed by: Kelly Hays


# cb808de4 04-May-2024 Lexi Winter <lexi@le-Fay.ORG>

rc.conf.5: modernise network_interfaces

It's not 1996 anymore, and we use CIDR nowadays. Update the various
ifconfig_ examples to use CIDR notation instead of netmasks, and also
add an example of a basic ifconfig_ entry that most users will be
interested in.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1217


# cb57f50e 13-Nov-2023 Alexander Leidinger <netchild@FreeBSD.org>

defaults: oomprotect sshd and local_unbound

Add sshd and local_unbound to the oom protected services.
syslogd is protected by default already, document it.

This was discussed on arch@, see
https://lists.freebsd.org/archives/freebsd-arch/2023-November/000543.html

sshd is protected to be able to investigate and fix oom issues on systems
which don't have out-of-band console access.
local_unbound is protected as it may be enabled for local use and without
DNS a lot grinds to a halt (including sshd).

Relnotes: yes
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D42544


# 5e3a8a4a 18-Sep-2023 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Document <name>_setup

Fixes: c9be47b34dd8 rc: add ${name}_setup script support
MFC after: 3 days


# b7961dba 18-Sep-2023 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Pet mdoc linters

MFC after: 3 days


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 620b5bfa 11-May-2023 Ceri Davies <ceri@FreeBSD.org>

rc.conf.5: document name_cpuset, introduced in rev 0661f93892a2


# 1a791448 11-Mar-2023 Maxim Konovalov <maxim@FreeBSD.org>

rc.conf.5: a stray whitespace removed

PR: 270124


# 682bd8ec 11-Mar-2023 Ceri Davies <ceri@FreeBSD.org>

rc.conf.5: fix typo of route6d that I introduced while nitpicking


# effb0535 11-Mar-2023 Ceri Davies <ceri@FreeBSD.org>

rc.conf.5: dhclient came from OpenBSD, but now isn't the OpenBSD client


# 46517132 09-Mar-2023 Ceri Davies <ceri@FreeBSD.org>

man5/rc.conf.5: finally retire references to pccard_ifconfig variable

It was removed in June 2005.


# 654b1e38 09-Mar-2023 Ceri Davies <ceri@FreeBSD.org>

man5/rc.conf.5: minor nitpicks to formatting, grammar, spelling


# 5b3f1098 09-Mar-2023 Ceri Davies <ceri@FreeBSD.org>

man5/rc.conf.5: document hostid and machine-id related variables


# ce95864f 28-Feb-2023 Warner Losh <imp@FreeBSD.org>

rc.conf(5): Style issues

Fix mandoc -Tlint style issues
* Use Pa instead of Va for .conf element (mdoc warned the Va was unused, and its the
wrong markup anyway)
* Drop useless Va and use Va instead of Ar when referring to variables in the jail file
* One sentence, one line
* drop xr to info(1). That makes no sense, and intro(1) seems unhelpful.

This leaves two warnings: gdb(1) xref not found (but we add a
parenthetical about the package) and a false positive about
a trailing period that is being mistaken for a 'full stop'
when it is really just a character in a filename.

Sponsored by: Netflix


# b8c44def 28-Feb-2023 Tom Hukins <tom@FreeBSD.org>

rc.conf(5): document nscd_enable

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/650


# 0f994a19 28-Feb-2023 Tom Hukins <tom@FreeBSD.org>

rc.conf(5): describe what unbound(8) does

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/650


# 9e0d41c8 15-Feb-2023 Jamie Landeg-Jones <jamie@catflap.org>

rc.conf.5: clarify source directories

In 454adf0fa4d787bf6e6ff7be0aa6c27a91d2be8e some of the issues reported in the
PR where addressed. This commit adds a clarification about how the prefix of the
directories to be sourced actually behave.

PR: 197152
Reported by: jason.mann+freebsd@gmail.com
Approved by: manpages (bcr@)
Differential Revision: https://reviews.freebsd.org/D38627


# 81b99052 12-Feb-2023 Ceri Davies <ceri@FreeBSD.org>

man5/rc.conf.5: document utx_enable variable.


# 616f32ea 14-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

othermta: remove leftover from 20 years ago

othermta (along with mta_start_script configuration entry in rc.conf)
was a mechanism used to be able to run another mta than sendmail(8) before
"rcng" time 20 years ago.

othermta has not been used since.


# d8882814 09-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

rc.conf: document the sendmail options

While here remove the deprecation of the sendmail_enable="NONE" as
it has been deprecated for 20 years and never removed


# 6a2d6a56 09-Nov-2022 Baptiste Daroussin <bapt@FreeBSD.org>

rc.conf(5): fix the description of mta_start_script

mta_start_script is used by /etc/rc.d/othermta which only execute
something if this variable is set to something else than
/etc/rc.sendmail

MFC after: 1 week


# 61273a28 07-Nov-2022 Li-Wen Hsu <lwhsu@FreeBSD.org>

rc.conf(5): Add mssing definite article

Reported by: rpokala


# 72a1cb05 06-Nov-2022 Li-Wen Hsu <lwhsu@FreeBSD.org>

rc(8): Add a zpoolupgrade rc.d script

If a zpool is created by makefs(8), its version is 5000, i.e., all
feature flags are off. Introduce an rc script to run `zpool upgrade`
over the assigned zpools on the first boot. This is useful to the
ZFS based VM images built from release(7).

Reviewed by: imp, markj, mav
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37282


# 27b9777c 28-Aug-2022 Cy Schubert <cy@FreeBSD.org>

libexec/rc: Add var_run rc script

Users with a tmpfs /var/run will lose the directory tree state of
/var/run at reboot. This rc script will optionally (by default)
capture the state of the directory structure in /var/run prior to
shutdown and recreate it at system boot.

Alternatively a user can save the state of the /var/run directories
manually using service var_run save and disable the autosaving of
/var/run state using the var_run_autosave variable, for those
paranoid SSD users.

PR: 259585, 259699
Reported by: freebsd@walstatt-de.de,
Reviewed by: philip, gbe (previous version)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36386


# 160a2f2c 27-Aug-2022 Eugene Grosbein <eugen@FreeBSD.org>

rc.conf(5): add <service>_umask to run the service using this value

None of tools working with login classes change umask(1)
and we had no ways to specify non-default umask for a service
not touching its startup script. This change makes in possible.

Some file-sharing services that create new files may benefit from it.

Differential: https://reviews.freebsd.org/D36309
MFC-after: 3 days


# 3c405c7e 17-Aug-2022 Jens Schweikhardt <schweikh@FreeBSD.org>

Indicate which port gdb.1 and kgdb.1 come from.


# a6e734d7 07-Jul-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Add /etc/rc.conf.d/ to FILES

While here, fix the -width argument.

MFC after: 3 days


# df1817a8 07-Jul-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Improve documentation of <name>_oomprotect

Apart from improving readability, this commit mentions that
<name>_oomprotect is ignored in a jail environment. Also, replace
${name}_cmd with the correct ${argument}_cmd and point the reader to
rc.subr(8).

MFC after: 1 week


# 454adf0f 28-Jun-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Fix example of how rc.conf.d works

While here, fix a typo.

MFC after: 1 week


# 356913f5 24-Jun-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Add missing Ns macros

MFC after: 3 days


# 227caacc 30-May-2022 Mark Johnston <markj@FreeBSD.org>

rc: Add a zpoolreguid rc.d script

If one boots up multiple copies of a template VM image containing a
zpool, the pool GUIDs will be identical, making it impossible to, e.g.,
share datasets between them.

This diff introduces a simple workaround for the problem: one can use
the script to, upon first boot, assign a new GUID to one or more zpools.
This will be useful when building ZFS-based VM images from release(7).

Reviewed by: mav, allanjude, asomers
Reviewed by: Pau Amma (docs)
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35336


# 9062598e 04-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf: Fix a typo

Reported by: Pau Amma <pauamma@gundo.com>
MFC after: 3 days
MFC with: 8719e8a951b78


# 8719e8a9 03-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf: Document zfskeys

Fixes: 33ff39796ffe Add zfskeys rc.d script for auto-loading encryption keys
MFC after: 3 days
Reviewed by: allanjude
Sponsored by: Modirum
Sponsored by: Klara, Inc
Differential Revision: https://reviews.freebsd.org/D34427


# 16ee5cd1 25-Feb-2022 Christian Brueffer <brueffer@FreeBSD.org>

Fix mdoc issues found by mandoc -Tlint.


# 479ea5cf 10-Dec-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

rc.conf.5: Fix a typo


# bd6dce97 18-May-2021 Daniel Ebdrup Jensen <debdrup@FreeBSD.org>

rc.conf(5): Add _limits, _login_class, and _oomprotect

Add a few very useful variables that might easily be overlooked, since
they're only documented in rc.subr(8) which might not be the first place
that people look.

At least _oomprotect has existed since 11.0-RELEASE, and doesn't appear
to be very well-known. While the others aren't as new, in my estimation,
a lot more people would use them if they knew about them.

While here, also add a reference to rc.subr(8) and login.conf(5), and
sort the variables alphabetically.

Reported by: Daniel Dettlaff <dmilith at gmail.com>
Reviewed by: ceri, gbe, 0mp, ygy, a.wolk, pauamma


# a8935083 21-Nov-2021 Warner Losh <imp@FreeBSD.org>

devmatch: Allow devmatch_blocklist to be set in kenv too

Add in all the variables set in the kenv variable devmatch_blocklist
too. This allows blocking autoloading from the boot loader.

Sponsored by: Netflix
Reviewed by: 0mp
Differential Revision: https://reviews.freebsd.org/D32171


# 9dae2d03 18-Nov-2021 Rick Macklem <rmacklem@FreeBSD.org>

rc.conf.5: Add entries for NFS

Entries for a few recently defined rc variables
were missing from rc.conf.5. This patch adds
those.

It was not obvious to me what the ordering is,
so I added them to the area where other nfsd
related variables are. I can easily move them.

I also replaced "are" with "is", since it seems to
read better.

This is a content change.

Reviewed by: debdrup
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33043


# 6aae3517 20-Oct-2021 Gleb Smirnoff <glebius@FreeBSD.org>

Retire synchronous PPP kernel driver sppp(4).

The last two drivers that required sppp are cp(4) and ce(4).

These devices are still produced and can be purchased
at Cronyx <http://cronyx.ru/hardware/wan.html>.

Since Roman Kurakin <rik@FreeBSD.org> has quit them, they no
longer support FreeBSD officially. Later they have dropped
support for Linux drivers to. As of mid-2020 they don't even
have a developer to maintain their Windows driver. However,
their support verbally told me that they could provide aid to
a FreeBSD developer with documentaion in case if there appears
a new customer for their devices.

These drivers have a feature to not use sppp(4) and create an
interface, but instead expose the device as netgraph(4) node.
Then, you can attach ng_ppp(4) with help of ports/net/mpd5 on
top of the node and get your synchronous PPP. Alternatively
you can attach ng_frame_relay(4) or ng_cisco(4) for HDLC.
Actually, last time I used cp(4) back in 2004, using netgraph(4)
instead of sppp(4) was already the right way to do.

Thus, remove the sppp(4) related part of the drivers and enable
by default the negraph(4) part. Further maintenance of these
drivers in the tree shouldn't be a big deal.

While doing that, remove some cruft and enable cp(4) compilation
on amd64. The ce(4) for some unknown reason marks its internal
DDK functions with __attribute__ fastcall, which most likely is
safe to remove, but without hardware I'm not going to do that, so
ce(4) remains i386-only.

Reviewed by: emaste, imp, donner
Differential Revision: https://reviews.freebsd.org/D32590
See also: https://reviews.freebsd.org/D23928


# 70ffa69e 05-Oct-2021 Tom Hukins <tom@FreeBSD.org>

Remove obsolete amd(8) rc.conf configuration

The script that used these was removed in 13f7dbe822d5f along with amd
itself.

Fixes: 13f7dbe822d5 ("retire amd(8)")
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/548


# 7955efd5 08-Sep-2021 Antranig Vartanian <antranigv@freebsd.am>

Add support for jail.conf.d

Using /etc/jail.{jailname}.conf is nice, however it makes /etc/ very
messy if you have many jails. This patch allows one to move these
config files out of the way into /etc/jail.conf.d/{jailname}.conf.

Note that the same caveat as /etc/jail.*.conf applies: the jail service
will not autodiscover all of these for starting 'all' jails. This is
considered future work, since the behavior matches.

Reviewed by: kevans
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D24570


# 28f47a19 16-Jun-2021 Thomas Steen Rasmussen <thomas@gibfest.dk>

pf: fallback if $pf_rules fails to load

Support loading a default pf ruleset in case of invalid pf.conf.

If no pf rules are loaded pf will pass/allow all traffic, assuming the
kernel is compiled without PF_DEFAULT_TO_DROP, as is the case in
GENERIC.

In other words: if there's a typo in the main pf_rules we would allow
all traffic. The new default rules minimise the impact of this.

If $pf_program (i.e. pfctl) fails to set $pf_fules and
$pf_fallback_rules_enable is YES we will load $pf_fallback_rules_file if
set, or $pf_fallback_rules.

$pf_fallback_rules can include multiple rules, for example to permit
traffic on a management interface.

$pf_fallback_rules_enable defaults to "NO", preserving historic behaviour.

man page changes by ceri@.

PR: 256410
Reviewed by: donner, kp
Sponsored by: semaphor.dk
Differential Revision: https://reviews.freebsd.org/D30791


# 2ce58512 01-Jul-2021 Ceri Davies <ceri@FreeBSD.org>

rc.conf.5: -Tlint fixes.


# 40944510 01-Jul-2021 Ceri Davies <ceri@FreeBSD.org>

rc.conf.5: add .Xr to firewall(7), growfs(7), and tuning(7)


# c43b0081 18-Jun-2021 Ceri Davies <ceri@FreeBSD.org>

devmatch: improve naming of devmatch config variable

Accept the old rc.conf variable if the new one is not present for
compatability.

Approved by: imp
Differential Revision: https://reviews.freebsd.org/D30806


# 1760799b 13-May-2021 Ceri Davies <ceri@FreeBSD.org>

Remove references to timed(8)

There are still references to timed(8) and timedc(8) in the base system,
which were removed in 2018.

PR: 255425
Reported by: Ceri Davies <ceri at submonkey dot net>
Reviewed by: ygy, gbe
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30232


# 30659d1d 11-May-2021 Andrew Fengler <andrew.fengler@scaleengine.com>

Add support for adding default routes for other FIBs

Make rc.d/routing read defaultrouter_fibN and ipv6_defaultrouter_fibN, and
set it as the default gateway for FIB N, where N is from 1 to (net.fibs - 1)
This allows adding gateways for multiple FIBs in the same format as the main
gateway. (FIB 0)

Reviewed by: olivier, rgrimes, bcr (man page)
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D22706


# 81520992 20-Mar-2021 Tobias Rehbein <tobias.rehbein@web.de>

rc.conf(5): Remove left-over variables

ipv6_ipfilter_rules was obsoleted because of ipfilter was updated, and
rc_parallel_start was reverted to undergo further refinement.

PR: 254398
Fixes: e2ad10e84792, f61831d2e8bd


# 794f9f43 18-Mar-2021 Daniel Ebdrup Jensen <debdrup@FreeBSD.org>

rc.conf(5): Bump date on .Dd

Pointy hat to: me
Reported by: lwhsu


# c39dda81 18-Mar-2021 Tobias Rehbein <tobias.rehbein@web.de>

rc.conf(5): Document the 'workstation' firewall_type

Document the workstation ACL ruleset, which uses stateful rules.

While here, add a note about where some of the undocumented variables
can be found. This is not a perfect solution for bug 127359, but it at
at least gives a place to go look, and can be used as a reference for
when bug 127359 gets fixed properly.

PR: 254358, 127359


# 408edcca 23-Feb-2021 Daniel Ebdrup Jensen <debdrup@FreeBSD.org>

rc.conf(5): Add note about parallel startup variable

The commit below added parallel service startup, and it needs to be
documented, so people know about it.

PR: 249192
MFC with: 77e1ccbee3ed

Reviewed by: yuripv
Differential Revision: https://reviews.freebsd.org/D28898


# ef757da4 10-Jan-2021 Mitchell Horne <mhorne@FreeBSD.org>

rc.conf(5): describe devmatch rc variables

Reviewed by: imp, gbe (manpages)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D28048


# e307eb94 21-Sep-2020 Toomas Soome <tsoome@FreeBSD.org>

loader: zfs should support bootonce an nextboot

bootonce feature is temporary, one time boot, activated by
"bectl activate -t BE", "bectl activate -T BE" will reset the bootonce flag.

By default, the bootonce setting is reset on attempt to boot and the next
boot will use previously active BE.

By setting zfs_bootonce_activate="YES" in rc.conf, the bootonce BE will
be set permanently active.

bootonce dataset name is recorded in boot pool labels, bootenv area.

in case of nextboot, the nextboot_enable boolean variable is recorded in
freebsd:nvstore nvlist, also stored in boot pool label bootenv area.
On boot, the loader will process /boot/nextboot.conf if nextboot_enable
is "YES", and will set nextboot_enable to "NO", preventing /boot/nextboot.conf
processing on next boot.

bootonce and nextboot features are usable in both UEFI and BIOS boot.

To use bootonce/nextboot features, the boot loader needs to be updated on disk;
if loader.efi is stored on ESP, then ESP needs to be updated and
for BIOS boot, stage2 (zfsboot or gptzfsboot) needs to be updated
(gpart or other tools).

At this time, only lua loader is updated.

Sponsored by: Netflix, Klara Inc.
Differential Revision: https://reviews.freebsd.org/D25512


# d36485a5 11-Jul-2020 Allan Jude <allanjude@FreeBSD.org>

defaults/rc.conf: note that the default is ppp_nat="YES"

PR: 243062
Submitted by: Evilham <contact@evilham.com>
MFC after: 2 weeks
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D25621


# 81884a24 29-Jun-2020 Alan Somers <asomers@FreeBSD.org>

savecore: accept device names without the /dev/ prefix

dumpon has accepted device names without the prefix ever since r291207.
Since dumpon and savecore are always paired, they ought to accept the same
arguments. Prior to this change, specifying 'dumpdev="da3"' in
/etc/rc.conf, for example, would result in dumpon working just fine but
savecore complaining that "Dump device does not exist".

PR: 247618
Reviewed by: cem, bcr
MFC after: 2 weeks
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D25500


# 4287cc44 23-Jun-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Update documentation after dropping support for i386 aout from ldconfig

The i386 aout invocation was removed from rc.d/ldconfig in r362543.


# 8e47856b 22-Jun-2020 Eugene Grosbein <eugen@FreeBSD.org>

Followup to r362502: rc.conf(5): unobsolete gif_interfaces

There are cases when gif_interfaces cannot be replaced
with cloned_interfaces, such as tunnels with external IPv6 addresses
and internal IPv4 or vice versa. Such configuration requires
extra invocation of ifconfig(8) and supported with gif_interfaces only.

Fix manual page and provide some examples.

MFC after: 1 week
X-MFC-With: 362502


# 7465a290 08-Jun-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Document that /lib is always in the list of shared library paths

/lib was added to the list in r119011.

MFC after: 1 week


# 8fe3c393 09-May-2020 Benedict Reuschling <bcr@FreeBSD.org>

Mention the existence of /etc/defaults/vendor.conf
for custom vendor-specific changes to FreeBSD's
default settings.

While here, fix a typo: perfomance -> performance

PR: 245404
Submitted by: Jose Luis Duran


# efc7180b 25-Mar-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Fix formatting

Previously, the whole "jail_* variables" string would be stylized
as a variable. This is incorrect.

MFC after: 3 days


# 69b77fc0 23-Mar-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Start sentences from new lines

Also, bump date after 359244.


# 7119cdc2 23-Mar-2020 Alexander V. Chernikov <melifaro@FreeBSD.org>

Make ICMP redirect processing depend on routing daemon.

Submitted by: lutz at donnerhacke.de
Reviewed by: melifaro,rgrimes
Differential Revision: https://reviews.freebsd.org/D23329


# 676ff51e 09-Feb-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Add a missing word in rc.conf.5

PR: 243972
Submitted by: PauAmma <pauamma@gundo.com>
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D23584


# ac12771c 06-Feb-2020 Warner Losh <imp@FreeBSD.org>

Avoid the phrase 'now deprecated'

Reword this construct to be more consistent with normal man page language.


# 5fda0d60 03-Oct-2019 Andriy Gapon <avg@FreeBSD.org>

add ability to set watchdog timeout for a shutdown

This change allows to specify a watchdog(9) timeout for a system
shutdown. The timeout is activated when the watchdogd daemon is
stopped. The idea is to a prevent any indefinite hang during late
stages of the shutdown. The feature is implemented in rc.d/watchdogd,
it builds upon watchdogd -x option.

Note that the shutdown timeout is not actiavted when the watchdogd
service is individually stopped by an operator. It is also not
activated for the 'shutdown' to the single-user mode. In those cases it
is assumed that the operator knows what they are doing and they have
means to recover the system should it hang.

Significant subchanges and implementation details:
- the argument to rc.shutdown, completely unused before, is assigned to
rc_shutdown variable that can be inspected by rc scripts
- init(8) passes "single" or "reboot" as the argument, this is not
changed
- the argument is not mandatory and if it is not set then rc_shutdown is
set to "unspecified"
- however, the default jail management scripts and jail configuration
examples have been updated to pass "jail" to rc.shutdown, just in case
- the new timeout can be set via watchdogd_shutdown_timeout rc option
- for consistency, the regular timeout can now be set via
watchdogd_timeout rc option
- watchdogd_shutdown_timeout and watchdogd_timeout override timeout
specifications in watchdogd_flags
- existing configurations, where the new rc options are not set, should
keep working as before

I am not particularly wed to any of the implementation specifics.
I am open to changing or removing any of them as long as the provided
functionality is the same (or very close) to the proposed one.
For example, I think it can be implemented without using watchdogd -x,
by means of watchdog(1) alone. In that case there would be a small
window between stopping watchdogd and running watchdog, but I think that
that is acceptable.

Reviewed by: bcr (man page changes)
MFC after: 5 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D21221


# 58a11be1 09-Sep-2019 Chris Rees <crees@FreeBSD.org>

Reverse the referenced tables.

If ipv4_prefer is specified, Section 10.3 is relevant.
If ipv6_prefer is specified, Section 2.1 is relevant.

This change makes the corresponding options/sections 'respective'

PR: docs/234249
Submitted by: David Fiander <david@fiander.info>


# ffda6790 18-May-2019 Brooks Davis <brooks@FreeBSD.org>

Change ed(4), ep(4), and fxp(4) examples to em(4).

ed(4) and ep(4) have been removed. fxp(4) remains popular in older
systems, but isn't as future proof as em(4).

Reviewed by: bz, jhb
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D20311


# b11974c2 10-Apr-2019 Chris Rees <crees@FreeBSD.org>

Revert r346017 pending compiled-in zfs fix

PR: 237172
Approved by: jilles
Differential Revision: https://reviews.freebsd.org/D18670


# f5dfe75d 07-Apr-2019 Chris Rees <crees@FreeBSD.org>

Remove now unnecessary kldstat check before attempting to load modules.

Since r233109, kldload has the -n option, which silently ignores options
that are already loaded.

https://lists.freebsd.org/pipermail/freebsd-rc/2018-December/003899.html

Note that this script no longer reports if the module is already loaded,
but it could be argued this wasn't particularly useful information.

PR: docs/234248
Reviewed by: bcr (docs), kib, rgrimes (visual)
Approved by: jilles
Differential Revision: https://reviews.freebsd.org/D18670


# 0bd4858e 23-Mar-2019 Andrey V. Elsukov <ae@FreeBSD.org>

Add ability to automatically load ipfw_nat64, ipfw_nptv6 and ipfw_pmod
modules by declaring corresponding variables in rc.conf. Also document
them in rc.conf(5).

Submitted by: Dries Michiels
Differential Revision: https://reviews.freebsd.org/D19673


# 261e62db 24-Dec-2018 Chris Rees <crees@FreeBSD.org>

Clarify kld_list format

PR: docs/234248
Submitted by: David Fiander
Submitted by: Miroslav Lachman


# 405c3050 19-Dec-2018 Mateusz Guzik <mjg@FreeBSD.org>

Remove iBCS2, part1: userspace

iBCS2 was disconnected from the build in 2015 (see r291419)

bsdconfig parts submitted by dteske.

Reviewed by: kib (previous version)
Sponsored by: The FreeBSD Foundation


# da45b4da 31-Oct-2018 Devin Teske <dteske@FreeBSD.org>

Add new rc keywords: enable, disable, delete

This adds new keywords to rc/service to enable/disable a service's
rc.conf(5) variable and "delete" to remove the variable.

When the "service_delete_empty" variable in rc.conf(5) is set to "YES"
(default is "NO") an rc.conf.d file (in /etc/ or /usr/local/etc) is
deleted if empty after modification using "service $foo delete".

Submitted by: lme (modified)
Reviewed by: 0mp (previous version), lme, bcr
Relnotes: yes
Sponsored by: Smule, Inc.
Differential Revision: https://reviews.freebsd.org/D17113


# c1cdf6a4 21-Oct-2018 Warner Losh <imp@FreeBSD.org>

Remove mse(4) from tree

Remove mse and all support for bus and inport devices from the tree.
Data from nycbug's dmesg database shows the last sighting of this
driver was in 4.10 on only one machine.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D17628


# 4d8f5c69 22-Aug-2018 Mateusz Piotrowski <0mp@FreeBSD.org>

Note that ntpd_sync_on_start is a preferred alternative to ntpdate_enable.

A similar note is already present in the description of the
ntpd_sync_on_start variable.

This patch adds a note to the description of the ntpdate_enable variable.
This way it would be easier to spot. Otherwise a user might skip the part
of the manual describing ntpd_sync_on_start if they stop reading after
learning about ntpdate_enable.

Reviewed by: bcr
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D16519


# 217df2da 26-Jun-2018 Ben Woods <woodsb02@FreeBSD.org>

geli attach multiple providers

Allow attaching of multiple geli providers at once if they use same
passphrase and keyfiles.

This is helpful when the providers being attached are not used for boot,
and therefore the existing code to first try the cached password when
tasting the providers during boot does not apply.

Multiple providers with the same passphrase and keyfiles can be attached
at the same time during system start-up by adding the following to
rc.conf:
geli_groups="storage backup"
geli_storage_flags="-k /etc/geli/storage.keys"
geli_storage_devices="ada0 ada1"
geli_backup_flags="-j /etc/geli/backup.passfile -k /etc/geli/backup.keys"
geli_backup_devices="ada2 ada3"

Reviewed by: wblock, delphij, jilles
Approved by: sobomax (src), bcr (doc)
Differential Revision: https://reviews.freebsd.org/D12644


# e73154c1 21-Apr-2018 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add cfumass rc script, to create a LUN for cfumass(4).

MFC after: 2 weeks
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14844


# d0aee33d 10-Mar-2018 Jamie Gritton <jamie@FreeBSD.org>

Don't warn when the "hostname" rc variable is unset, but the hostname
is already non-empty (common in jails).


# 6f4a4761 15-Feb-2018 Conrad Meyer <cem@FreeBSD.org>

rc.conf.5: Flip default background_fsck language to match defaults

Reviewed by: Daniel O'Connor <darius AT dons.net.au>
Sponsored by: Dell EMC Isilon


# 6b35d82c 28-Dec-2017 Eitan Adler <eadler@FreeBSD.org>

Fix a few speelling errors

- man pages
- bin/sh

Reviewed by: jilles


# 294dfb25 09-Dec-2017 Mike Karels <karels@FreeBSD.org>

gifconfig_gif0 no longer works, document replacement

rc.conf(5) documents the gifconfig_<interface> keyword, which is
no longer implemented. Document the replacement, which works with
cloned_interfaces as well.

Reviewed by: dab
Group Reviwers: manpages
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D13130


# cedc7c58 08-Nov-2017 Eugene Grosbein <eugen@FreeBSD.org>

Add suitable knob ifconfig_<interface>_descr for static interface description.
Document availability of interface descriptions within rc.conf(5).

Approved by: avg (mentor), mav (mentor)
MFC after: 3 days


# 64a16434 24-Oct-2017 Mark Johnston <markj@FreeBSD.org>

Add support for compressed kernel dumps.

When using a kernel built with the GZIO config option, dumpon -z can be
used to configure gzip compression using the in-kernel copy of zlib.
This is useful on systems with large amounts of RAM, which require a
correspondingly large dump device. Recovery of compressed dumps is also
faster since fewer bytes need to be copied from the dump device.

Because we have no way of knowing the final size of a compressed dump
until it is written, the kernel will always attempt to dump when
compression is configured, regardless of the dump device size. If the
dump is aborted because we run out of space, an error is reported on
the console.

savecore(8) is modified to handle compressed dumps and save them to
vmcore.<index>.gz, as it does when given the -z option.

A new rc.conf variable, dumpon_flags, is added. Its value is added to
the boot-time dumpon(8) invocation that occurs when a dump device is
configured in rc.conf.

Reviewed by: cem (earlier version)
Discussed with: def, rgrimes
Relnotes: yes
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D11723


# 09fdf1f8 21-Oct-2017 Stefan Eßer <se@FreeBSD.org>

Mention sysrc(8) as scripting interface for the modification of config
files. This is a follow up commit to r324721, which added sysrc(8) to
the SEE ALSO list.

Submitted by: Kurt Jaeger (lists at opsec.eu)
MFC after: 1 week


# e5accd3c 18-Oct-2017 Stefan Eßer <se@FreeBSD.org>

Add references to sysrc(8).

Reported by: Kurt Jaeger (lists at opsec.eu)


# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317


# 2a4727a4 18-Jul-2017 Emmanuel Vadot <manu@FreeBSD.org>

ipfw_netflow: Add support for FIB

If ipfw_netflow_fib, the ipfw rule will only match packets in that FIB.

While here correct some value in rc.conf(5) to be int and not str.

Sponsored by: Gandi.net


# fd75b64d 17-Jul-2017 Emmanuel Vadot <manu@FreeBSD.org>

ipfw_netflow: add +ipfw_netflow_enable="NO" to defaults/rc.conf and document
usage in rc.conf(5)

Reported by: markj
Sponsored by: Gandi.net


# b4e2ab78 25-Apr-2017 Brooks Davis <brooks@FreeBSD.org>

Remove NATM configuration bits and assorted NATM and ATM remnants.

Reported by: ak
Reviewed by: ngie (first version)
Differential Revision: https://reviews.freebsd.org/D10497


# b6db9b84 22-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

rc.conf(5): fix a .Xr call for chroot(8)

Add the missing section number to the .Xr call.

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# efe3b0de 27-Feb-2017 Gleb Smirnoff <glebius@FreeBSD.org>

Remove SVR4 (System V Release 4) binary compatibility support.

UNIX System V Release 4 is operating system released in 1988. It ceased
to exist in early 2000-s.


# 480f31c2 10-Dec-2016 Konrad Witaszczyk <def@FreeBSD.org>

Add support for encrypted kernel crash dumps.

Changes include modifications in kernel crash dump routines, dumpon(8) and
savecore(8). A new tool called decryptcore(8) was added.

A new DIOCSKERNELDUMP I/O control was added to send a kernel crash dump
configuration in the diocskerneldump_arg structure to the kernel.
The old DIOCSKERNELDUMP I/O control was renamed to DIOCSKERNELDUMP_FREEBSD11 for
backward ABI compatibility.

dumpon(8) generates an one-time random symmetric key and encrypts it using
an RSA public key in capability mode. Currently only AES-256-CBC is supported
but EKCD was designed to implement support for other algorithms in the future.
The public key is chosen using the -k flag. The dumpon rc(8) script can do this
automatically during startup using the dumppubkey rc.conf(5) variable. Once the
keys are calculated dumpon sends them to the kernel via DIOCSKERNELDUMP I/O
control.

When the kernel receives the DIOCSKERNELDUMP I/O control it generates a random
IV and sets up the key schedule for the specified algorithm. Each time the
kernel tries to write a crash dump to the dump device, the IV is replaced by
a SHA-256 hash of the previous value. This is intended to make a possible
differential cryptanalysis harder since it is possible to write multiple crash
dumps without reboot by repeating the following commands:
# sysctl debug.kdb.enter=1
db> call doadump(0)
db> continue
# savecore

A kernel dump key consists of an algorithm identifier, an IV and an encrypted
symmetric key. The kernel dump key size is included in a kernel dump header.
The size is an unsigned 32-bit integer and it is aligned to a block size.
The header structure has 512 bytes to match the block size so it was required to
make a panic string 4 bytes shorter to add a new field to the header structure.
If the kernel dump key size in the header is nonzero it is assumed that the
kernel dump key is placed after the first header on the dump device and the core
dump is encrypted.

Separate functions were implemented to write the kernel dump header and the
kernel dump key as they need to be unencrypted. The dump_write function encrypts
data if the kernel was compiled with the EKCD option. Encrypted kernel textdumps
are not supported due to the way they are constructed which makes it impossible
to use the CBC mode for encryption. It should be also noted that textdumps don't
contain sensitive data by design as a user decides what information should be
dumped.

savecore(8) writes the kernel dump key to a key.# file if its size in the header
is nonzero. # is the number of the current core dump.

decryptcore(8) decrypts the core dump using a private RSA key and the kernel
dump key. This is performed by a child process in capability mode.
If the decryption was not successful the parent process removes a partially
decrypted core dump.

Description on how to encrypt crash dumps was added to the decryptcore(8),
dumpon(8), rc.conf(5) and savecore(8) manual pages.

EKCD was tested on amd64 using bhyve and i386, mipsel and sparc64 using QEMU.
The feature still has to be tested on arm and arm64 as it wasn't possible to run
FreeBSD due to the problems with QEMU emulation and lack of hardware.

Designed by: def, pjd
Reviewed by: cem, oshogbo, pjd
Partial review: delphij, emaste, jhb, kib
Approved by: pjd (mentor)
Differential Revision: https://reviews.freebsd.org/D4712


# ba3c9fc4 13-Jul-2016 Mark Johnston <markj@FreeBSD.org>

Remove more references to mroute6d, which was removed in r298512.


# 16e36754 09-Jun-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix a bunch of "xref refers to *this* page" igor(1) warnings.

MFC after: 1 month


# eb49a6d3 08-Jun-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Last few instances of "sentence not on new line".

MFC after: 1 month


# 1830617e 07-Jun-2016 Marcelo Araujo <araujo@FreeBSD.org>

Bump date in both manpages.

Reported by: rodrigc


# 3db8326d 06-Jun-2016 Marcelo Araujo <araujo@FreeBSD.org>

Add an entry on rc.conf(5) explaining the new options
nis_ypldap_enable and nis_ypldap_flags.

Also add an entry on ypldap(8) that it is a feature ready and
appears on FreeBSD 11.0.

Requested by: rodrigc
Relnotes: Yes


# ab9604e1 30-Apr-2016 Jamie Gritton <jamie@FreeBSD.org>

Clarify when happens when there is a "depend" parameter in jail.conf,
and how this affects the "jail_list" option in rc.conf.


# 7f5ddefe 28-Apr-2016 Baptiste Daroussin <bapt@FreeBSD.org>

Add a savecore_enable variable support for the savecore rc script

By default set to 'YES' so it does not change the current behaviour for users,
this variable allows to decide to not extract crach dumps from the dump
device at boot time by setting it to "NO" in rc.conf.

Sponsored by: Gandi.net


# 6cf621e0 28-Feb-2016 Jason Helfman <jgh@FreeBSD.org>

- address obsolete Kerberos options

PR: 205168
Submitted by: kevin@bostoncrypto.com
Reviewed by: bjk
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D5430


# 02686fb8 12-Feb-2016 Mark Felder <feld@FreeBSD.org>

Document the new jail_reverse_stop parameter

While here clean up the documentation for jail_list

PR: 196152
Approved by: jamie, wblock
MFC after: 1 week, with r295471
Differential Revision: https://reviews.freebsd.org/D5243


# e2d3a487 09-Oct-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Document iSCSI and autofs(5) variables in rc.conf(5).

PR: 203119
Reviewed by: bjk@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3671


# fbefacfc 23-Aug-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Tweak the "rctl_enable" description to not give the impression
of being disabled by default.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# c4f9c760 30-Jun-2015 Mark Murray <markm@FreeBSD.org>

Updated random(4) boot/shutdown scripting.
Fix the man pages as well.

Differential Revision: https://reviews.freebsd.org/D2924
Approved by: so (delphij)


# 4e25c86f 18-Apr-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

Remove some oldnfs remnants.

Differential Revision: https://reviews.freebsd.org/D2287
Reviewed by: rmacklem@
Sponsored by: The FreeBSD Foundation


# 6888132b 28-Feb-2015 Ryan Stone <rstone@FreeBSD.org>

Add an rc.d script to invoke iovctl(8) during boot

Differential Revision: https://reviews.freebsd.org/D88
Reviewed by: wblock, emaste, allanjude
MFC after: 1 month
Relnotes: yes
Sponsored by: Sandvine Inc.


# 0f8bd5df 20-Feb-2015 Mark Johnston <markj@FreeBSD.org>

Purge references to the mrouted rc script, which was removed in r275299.

PR: 195785


# 67304db7 20-Dec-2014 Christian Brueffer <brueffer@FreeBSD.org>

Various mdoc fixes.

Found with: mandoc -Tlint


# 603eaf79 09-Nov-2014 Alexander V. Chernikov <melifaro@FreeBSD.org>

Renove faith(4) and faithd(8) from base. It looks like industry
have chosen different (and more traditional) stateless/statuful
NAT64 as translation mechanism. Last non-trivial commits to both
faith(4) and faithd(8) happened more than 12 years ago, so I assume
it is time to drop RFC3142 in FreeBSD.

No objections from: net@


# 1769d465 05-Oct-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Bump .Dd missed in r271424


# 15c7266a 10-Sep-2014 Hiroki Sato <hrs@FreeBSD.org>

- Add $netif_ipexpand_max to specify the upper limit for the number of
addresses generated by an address range specification. The default
value is 2048. This can be increased by setting $netif_ipexpand_max
in rc.conf.

- Fix warning messages when an address range spec exceeds the upper limit.

PR: 186841


# 8eac8076 27-Aug-2014 Hiroki Sato <hrs@FreeBSD.org>

- Use $local_startup to load rc.conf.d/* scripts.
- Document support of rc.conf.d/<dir>/* introduced in r270392.

Discussed with: bapt


# 33b6cf55 26-Aug-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Document the new ${LOCALBASE}/etc/rc.conf.d in rc.conf(5)

MFC after: 1 week


# 651045d6 26-Aug-2014 Stefan Eßer <se@FreeBSD.org>

Add references to vt(4) and the configuration files in /usr7share/vt where
appropriate (i.e. where syscons was already mentioned and vt supports the
feature). Comments in defaults/rc.conf are updated to match the contents
of the modified man-page rc.conf(5).

Reviewed by: pluknet, emaste
MFC after: 3 days


# 3d9eb664 15-Jun-2014 Joel Dahl <joel@FreeBSD.org>

mdoc: remove superfluous paragraph macros.


# 2c284d93 13-Mar-2014 Gleb Smirnoff <glebius@FreeBSD.org>

Remove IPX support.

IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.


# 4360b89b 15-Feb-2014 Bryan Drewery <bdrewery@FreeBSD.org>

Add forgotten rc.conf(5) update with r261931

Reviewed by: trasz
Approved by: bapt (mentor)
MFC after: 1 week


# d4f5f000 13-Feb-2014 Niclas Zeising <zeising@FreeBSD.org>

Bump .Dd forgotten in r261832.

MFC after: 2 weeks


# a074a227 12-Feb-2014 Niclas Zeising <zeising@FreeBSD.org>

Add cross references between rc.conf(5) and jail.conf(5).

MFC after: 2 weeks


# 54c22eea 25-Dec-2013 Sergey Kandaurov <pluknet@FreeBSD.org>

Clean up manual pages after BIND removal.

MFC after: 1 week


# 13f9e7fd 21-Nov-2013 Joel Dahl <joel@FreeBSD.org>

mdoc: remove EOL whitespace.


# e2838b31 12-Nov-2013 Josh Paetzel <jpaetzel@FreeBSD.org>

Add support for multiple instances of ftp-proxy
and pflog devices.

PR: conf/158171
Submitted by: Thomas Johnson <tom@claimlynx.com>


# a7a36fea 28-Oct-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Remove more remnants of ng_fec(4).

The ng_create_one() and ng_mkpeer() functions in network.subr are
now not used anywhere, but I left them, since they can be useful
in future in netgraph scripting.

Submitted by: pluknet


# cabad264 19-Oct-2013 Colin Percival <cperciva@FreeBSD.org>

Add support for "first boot" rc.d scripts. [1]

These scripts, containing
# KEYWORD: firstboot
will only be run if a sentinel file (default: /firstboot, configurable
via the rc.conf ${firstboot_sentinel} variable) exists; this sentinel
file will be deleted at the end of the boot process.

Scripts can request that the system reboot after the first boot by
creating the file ${firstboot_sentinel}-reboot.

This functionality is expected to be useful for embedded systems and
virtual machine images, where it may be desirable to
(a) download and install updates which became available between when
the image was created and when it was "turned on";
(b) download and install packages which may be newer than those
which were available when the image was created;
(c) install packages which run binaries during their install process,
bypassing the problem of cross-architecture installs;
(d) resize filesystems to match the disk onto which a VM image was
installed;
(e) perform initialization tasks relevant to cloud systems (e.g.,
Amazon's Elastic Compute Cloud);
and likely to perform many other one-time initialization functions.

Document this new functionality in rc.conf(5) and rc(8). [2]

Reviewed by: freebsd-current, freebsd-rc [1]
Reviewed by: Warren Block [2]
MFC after: 3 days


# fbd868c9 12-Oct-2013 Hiroki Sato <hrs@FreeBSD.org>

- Add mount.fdescfs parameter to jail(8). This is similar to
mount.devfs but mounts fdescfs. The mount happens just after
mount.devfs.

- rc.d/jail now displays whole error message from jail(8) when a jail
fails to start.

Approved by: re (gjb)


# 84b354cb 10-Oct-2013 Hiroki Sato <hrs@FreeBSD.org>

- Update rc.d/jail to use a jail(8) configuration file instead of
command line options. The "jail_<jname>_*" rc.conf(5) variables for
per-jail configuration are automatically converted to
/var/run/jail.<jname>.conf before the jail(8) utility is invoked.
This is transparently backward compatible.

- Fix a minor bug in jail(8) which prevented it from returning false
when jail -r failed.

Approved by: re (glebius)


# 49cede74 22-Sep-2013 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a setup script for unbound(8) called local-unbound-setup. It
generates a configuration suitable for running unbound as a caching
forwarding resolver, and configures resolvconf(8) to update unbound's
list of forwarders in addition to /etc/resolv.conf. The initial list
is taken from the existing resolv.conf, which is rewritten to point to
localhost. Alternatively, a list of forwarders can be provided on the
command line.

To assist this script, add an rc.subr command called "enabled" which
does nothing except return 0 if the service is enabled and 1 if it is
not, without going through the usual checks. We should consider doing
the same for "status", which is currently pointless.

Add an rc script for unbound, called local_unbound. If there is no
configuration file, the rc script runs local-unbound-setup to generate
one.

Note that these scripts place the unbound configuration files in
/var/unbound rather than /etc/unbound. This is necessary so that
unbound can reload its configuration while chrooted. We should
probably provide symlinks in /etc.

Approved by: re (blanket)


# 4e62a144 17-Sep-2013 Hiroki Sato <hrs@FreeBSD.org>

Remove description "ifconfig_IF_aliasN is deprecated". While this
sentence was added in 2005, many users still need it.

Approved by: re (gjb)
PR: docs/162354


# 7dce7544 04-Aug-2013 Hiroki Sato <hrs@FreeBSD.org>

- Reimplement $gif_interfaces as a variant of $cloned_interfaces.
Newly-configured systems should use $cloned_interfaces.

- Call clone_{up,down}() and ifnet_rename() in rc.d/netif {start,stop}.
ifnet_rename() now accepts an interface name list as its argument.

- Add rc.d/netif clear. The "clear" subcommand is basically equivalent to
"stop" but it does not call clone_down().

- Add "ifname:sticky" keyword into $cloned_interfaces. If :sticky is
specified, the interface will not be destroyed in rc.d/netif stop.

- Add cloned_interfaces_sticky={YES,NO}. This variable globally sets
:sticky keyword above for all interfaces. The default value is NO.
When cloned_interfaces_sticky=YES, :nosticky keyword can be used to
override it on per interface basis.


# d87953e4 12-Jul-2013 Glen Barber <gjb@FreeBSD.org>

Document that a literal jail name of 0 (zero) is not allowed.

PR: 174436
Submitted by: Robert Schulze
Reviewed by: mjg
MFC after: 3 days


# 6b577129 09-Jul-2013 Hiroki Sato <hrs@FreeBSD.org>

Remove $swapfile and $geli_swap_flags.


# 82fbf0f6 02-Jul-2013 Niclas Zeising <zeising@FreeBSD.org>

Revert previous revision, local change that accidentally snuck in.


# 5b694ac5 02-Jul-2013 Niclas Zeising <zeising@FreeBSD.org>

Regenerate after r252561

PR: docs/180025
Submitted by: Garrett Cooper <yaneurabeya@gmail.com>


# 47ccafd2 25-Jun-2013 Rui Paulo <rpaulo@FreeBSD.org>

Document ifconfig_wlanX="HOSTAP"


# 740b7139 19-Jun-2013 Hiroki Sato <hrs@FreeBSD.org>

- Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN.
This is an extended version of ipv4_addr_IF which supports both IPv4 and
IPv6, and multiple range specifications. To avoid to generate too many
addresses, the maximum number of the generated addresses is currently
limited to 31.

- Add $ifconfig_IF_aliases, which accepts multiple IP aliases in a variable.

- ipv6_prefix_IF now supports !/64 prefix length. In addition to the old
64-bit format (2001:db8:1:1), a full 128-bit format like 2001:db8:1:1::/64
is supported.

- Replace ifconfig command with $IFCONFIG_CMD variable to support
a dry-run mode in the future.

- Remove IP aliases before removing all of IPv4 addresses when doing
"rc.d/netif down".

- Add a DAD wait to network6_getladdr() because it is possible to fail to
configure an EUI64 address when ipv6_prefix_IF is specified.

A summary of the supported ifconfig_* variables is as follows:

# IPv4 configuration.
ifconfig_em0="inet 192.168.0.1"
# IPv6 configuration.
ifconfig_em0_ipv6="inet6 2001:db8::1/64"
# IPv4 address range spec. Now deprecated.
ipv4_addr_em0="10.2.1.1-10"
# IPv6 alias.
ifconfig_em0_alias0="inet6 2001:db8:5::1 prefixlen 70"
# IPv4 alias.
ifconfig_em0_alias1="inet 10.2.2.1/24"
# IPv4 alias with range spec w/o AF keyword (backward compat).
ifconfig_em0_alias2="10.3.1.1-10/32"
# IPv6 alias with range spec.
ifconfig_em0_alias3="inet6 2001:db8:20-2f::1/64"
# ifconfig_IF_aliases is just like ifconfig_IF_aliasN.
ifconfig_em0_aliases="inet 10.3.3.201-204/24 inet6 2001:db8:210-213::1/64 inet 10.1.1.1/24"
# IPv6 alias (backward compat)
ipv6_ifconfig_em0_alias0="inet6 2001:db8:f::1/64"
# IPv6 alias w/o AF keyword (backward compat)
ipv6_ifconfig_em0_alias1="2001:db8:f:1::1/64"
# IPv6 prefix.
ipv6_prefix_em0="2001:db8::/64"

Tested by: Kimmo Paasiala


# ed45ea12 09-Jun-2013 Hiroki Sato <hrs@FreeBSD.org>

Add :ifname modifier to specify interface-specific routes into
{,ipv6_}static_routes and rc.d/routing. For example:

static_routes="foo bar:em0"
route_foo="-net 10.0.0.0/24 -gateway 192.168.2.1"
route_bar="-net 192.168.1.0/24 -gateway 192.168.0.2"

At boot time, all of the static routes are installed as before.
The differences are:

- "/etc/rc.d/netif start/stop <if>" now configures static routes
with :<if> if any.
- "/etc/rc.d/routing start/stop <af> <if>" works as well. <af> cannot be
omitted when <if> is specified, but a keyword "any" or "all" can be used
for <af> and <if>.


# 706d4085 18-Apr-2013 Joel Dahl <joel@FreeBSD.org>

Remove EOL whitespace.


# 6272779b 17-Apr-2013 Jeremie Le Hen <jlh@FreeBSD.org>

Document jail_<jname>_parameters option.

The description explains why we should not configure "path",
"host.hostname", "command", "ip4.addr" and ip6.addr" parameters with
this, but rather use the historical rc.conf(5) options.

MFC after: 3 days


# 0b94c3f7 01-Apr-2013 Eitan Adler <eadler@FreeBSD.org>

Remove obsolete references to sysinstall.

This change is not intended for MFC.

PR: docs/177570
Submitted by: Garrett Cooper <yaneurabeya@gmail.com> (partial)
Approved by: bcr (mentor)


# 839f11a4 08-Dec-2012 Eitan Adler <eadler@FreeBSD.org>

A number of places in the source tree still reference cuad.* after
sio(4) was deprecated by uart(4).

s/cuad/cuau/g/

PR: docs/171533
Reviewed by: imp
Approved by: cperciva (implicit)
MFC after: 3 weeks


# c58c2dc7 27-Oct-2012 Hiroki Sato <hrs@FreeBSD.org>

Add setfib(1) support for services as <name>_fib in rc.conf.


# 09c024e1 13-Sep-2012 Joel Dahl <joel@FreeBSD.org>

Minor mdoc fix.


# ab013dbb 13-Sep-2012 Ivan Voras <ivoras@FreeBSD.org>

Document the *_chroot, *_user, *_group and *_nice knobs for services started
by rcng.

Reviewed by: wblock, dougb


# 9a44104f 07-Sep-2012 Eitan Adler <eadler@FreeBSD.org>

Revert r239049:
This is the way to assign a range, but not
a single IPv4 address.

PR: conf/167648
Approved by: cperciva (implicit)


# fc1596e6 05-Aug-2012 Eitan Adler <eadler@FreeBSD.org>

Use new method of assigning IPv4 addresses

PR: conf/167648
Submitted by: Jeff Kletsky <freebsd@wagsky.com>
Approved by: bcr
MFC after: 3 days


# f443a919 22-Jul-2012 Glen Barber <gjb@FreeBSD.org>

Document the following in rc.conf.5:
- rtsold_enable
- rtsold_flags
- rtsol_flags

MFC after: 1 week


# 8efbd296 09-Jul-2012 Hiroki Sato <hrs@FreeBSD.org>

Make ipfw0 logging pseudo-interface clonable. It can be created automatically
by $firewall_logif rc.conf(5) variable at boot time or manually by ifconfig(8)
after a boot.

Discussed on: freebsd-ipfw@


# 3e0efd2e 04-Jun-2012 Eitan Adler <eadler@FreeBSD.org>

Fix style nit: don't use leading zero for dates in .Dd

Prompted by: brueffer
Approved by: brueffer
MFC after: 3 days


# 7b1d17a1 12-May-2012 Glen Barber <gjb@FreeBSD.org>

General mdoc(7) and typo fixes.

PR: 167804
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


# 821a8779 06-May-2012 Stanislav Sedov <stas@FreeBSD.org>

- Bump the manpage date after kfd addition.

Reported by: gjb


# 1f3c4035 06-May-2012 Stanislav Sedov <stas@FreeBSD.org>

- Document kfd(8) rc.conf variables in the manpage.


# 27e50fcc 27-Feb-2012 Glen Barber <gjb@FreeBSD.org>

Fix a few rendering nits in rc.conf(5) with regards to mentioning
jail_parallel_enable.


# 9d496f5a 25-Feb-2012 Glen Barber <gjb@FreeBSD.org>

Whitespace cleanup:
o Wrap sentences on to new lines
o Cleanup trailing whitespace

Found with: textproc/igor
MFC after: 1 week
X-MFC-With: r232157


# 3102cfe2 25-Feb-2012 Glen Barber <gjb@FreeBSD.org>

Fix various typos in manual pages.

Submitted by: amdmi3
PR: 165431
MFC after: 1 week


# 20ceedfb 14-Feb-2012 Doug Barton <dougb@FreeBSD.org>

Fix various issues with the NFS and RPC related scripts:

1. Add new functionality to the force_depend method to incorporate the
tests for whether the service is enabled and/or already running.
2. Add a new option to bypass checking only that the service is enabled
at boot time, and always check if it is running.
3. Use this new functionality to greatly simplify the rc.d scripts that
use force_depend.
4. Add a force_depend for statd in lockd
5. Remove the check that either nfs_server or nfs_client is _enable'd
from statd and lockd. This was always overkill, and prevented using
the {one|force}start options, as well as stop'ing on the command line.
6. The yp* scripts had some of their arguments in various weird orders.
Bring them into line with the model.
7. If mountd fails to create /var/db/mountdtab, err out.

Ideas, suggestions, and/or review from delphij and jilles.
Pointy hats are completely my responsibility however.


# 95208e20 08-Feb-2012 Doug Barton <dougb@FreeBSD.org>

As it stands right now, the default devfs rulesets are only loaded as a
side effect of something else using them. If they haven't been loaded
already but you want to use them, say for configuring a jail, you're out
of luck.

So add a knob to always load the default rulesets. While I'm here document
the other devfs_ knobs in rc.conf.5.


# 23812e6a 13-Dec-2011 Ruslan Ermilov <ru@FreeBSD.org>

The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory for
IPv4 aliases to work since network.subr@197139.

MFC after: 3 days


# 72be4c6f 23-Oct-2011 Martin Matuska <mm@FreeBSD.org>

Add information about static_ndp_pairs to rc.conf(5) manual page

Submitted by: Sergey Kandaurov <pluknet@FreeBSD.org>
MFC after: 3 days


# 319b4405 23-Oct-2011 Hiroki Sato <hrs@FreeBSD.org>

Fix typos.


# 74ea0500 23-Oct-2011 Hiroki Sato <hrs@FreeBSD.org>

- Add description that IPv6 configuration will be ignored if $ifconfig_IF_ipv6
is empty.
- Move a configuration example "inet6 accept_rtadv" to just after the manual
GUA configuration.
- Add an example of $ipv6_prefix_IF.


# e71abe65 19-Sep-2011 Hiroki Sato <hrs@FreeBSD.org>

- Document $ipv6_cpe_wanif.
- Emphasize $ipv6_enable and $ipv6_prefer are deprecated.
- Add more detail descriptions about $ipv6_activate_all_interfaces.
- Add some more examples of $ifconfig_IF_ipv6.
- rtsold(8) and rtadvd(8) can be used even when ipv6_gateway_enable=NO now.

Approved by: re (kib)


# 073d4813 15-Sep-2011 Doug Barton <dougb@FreeBSD.org>

Correct the RFC number for the description of IPv6 privacy addressing

Reviewed by: bz
Approved by: re (kib)


# d732b516 19-Jun-2011 Doug Barton <dougb@FreeBSD.org>

Add the netwait rc.d script. It waits for the specified period for the
network to become active.

PR: conf/151063
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>


# aff92fcb 18-Jun-2011 Doug Barton <dougb@FreeBSD.org>

Add rc.d/kld to load kernel modules after local disks are up.
This method is many times faster than doing it in /boot/loader.conf.


# e61b0f4a 17-May-2011 Sergey Kandaurov <pluknet@FreeBSD.org>

Add missing section number for .Xr jail.

MFC after: 3 days


# 25135859 27-Apr-2011 Rick Macklem <rmacklem@FreeBSD.org>

Update man pages related to the change in default NFS client
applied by r221124. I also deleted references to idmapd, since that
daemon no longer exists.
This is a content change.


# 80288326 22-Apr-2011 Doug Barton <dougb@FreeBSD.org>

Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds
like, determines the path to a pid file as it is specified in a conf file.

Use the new feature for rc.d/named and rc.d/devd, the 2 services in the
base that list their pid files in their conf files.

Remove the now-obsolete named_pidfile, and warn users if they have it set.


# be9c09bf 24-Jan-2011 Glen Barber <gjb@FreeBSD.org>

Add missing section number for .Xr rc.

Pointed out by: keramida
Approved by: keramida (mentor)


# c10697f2 08-Jan-2011 Glen Barber <gjb@FreeBSD.org>

Document rc.conf.d in rc.conf(5).

PR: 140495
Submitted by: Tom Judge (tom of tomjudge com)
Approved by: keramida (mentor)
MFC after: 2 weeks


# 46f6a6ed 08-Dec-2010 Hiroki Sato <hrs@FreeBSD.org>

Fix a typo.

Submitted by: Garrett Cooper


# 24b7ca34 24-Nov-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Add gptboot_enable rc variable, which allows to turn gptboot reporting off in
case user wants to implement his own actions and doesn't want the attributes to
vanish.

Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
MFC after: 3 days


# 855c643b 13-Nov-2010 Doug Barton <dougb@FreeBSD.org>

Remove references to the long-gone ramdisk

Submitted by: Garrett Cooper <yanegomi@gmail.com>


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d3a8a8b9 13-Sep-2010 Hiroki Sato <hrs@FreeBSD.org>

Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.

The $ip6addrctl_policy is a variable to choose a pre-defined address
selection policy set by ip6addrctl(8).
The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3,
the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484,
respectively. When "AUTO" is specified, it attempts to read
/etc/ip6addrctl.conf first. If it is found, it reads and installs it as
a policy table. If not, either of the two pre-defined policy tables is
chosen automatically according to $ipv6_activate_all_interfaces.

When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding
$ifconfig_IF_ipv6 is marked as IFDISABLED for security reason.

The default values are ip6addrctl_policy=AUTO and
ipv6_activate_all_interfaces=NO.

Discussed with: ume and bz


# abe3ac57 13-Sep-2010 Hiroki Sato <hrs@FreeBSD.org>

Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that this
will be replaced with a per-IF version later.

Based on: changes in r206408 by dougb


# c5ad71af 13-Sep-2010 Hiroki Sato <hrs@FreeBSD.org>

Revert changes in r206408.

Discussed with: dougb, core.5, and core.6


# d57429e2 05-Sep-2010 Glen Barber <gjb@FreeBSD.org>

Note in rc.conf(5) that jail_list should contain only alphanumeric
characters.

PR: 150098
Submitted by: cc (cpt_complain at yahoo dot com)
Approved by: keramida (mentor)
MFC after: 1 week


# 227405d4 03-Aug-2010 Benedict Reuschling <bcr@FreeBSD.org>

Correctly sort usbconfig(8) within the SEE ALSO section.

Noticed by: dougb
MFC after: 3 days


# b2fdb73b 03-Aug-2010 Benedict Reuschling <bcr@FreeBSD.org>

Update references from nonexistent usbconfig(1) to usbconfig(8).

PR: docs/149221
Submitted by: Lars Hartmann (lars at chaotika dot org)
MFC after: 3 days


# b06cfd40 30-Jul-2010 Joel Dahl <joel@FreeBSD.org>

Fix a bunch of typos and spelling mistakes.


# 2d303411 13-Jul-2010 Simon L. B. Nielsen <simon@FreeBSD.org>

Bump document for content change in r210002.


# b93a33cd 13-Jul-2010 Simon L. B. Nielsen <simon@FreeBSD.org>

In the example for how to create a VLAN, also include an example of
setting the IP address. While it is documented earlier in rc.conf(5)
that the '.' in the VLAN name becomes a '_' in rc.conf, this may not be
easy to find when just using rc.conf(5) as reference documentation.

MFC after: 1 week


# b13cc627 26-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

Better handling of ipv6_default_interface using
net.inet6.ip6.use_defaultzone=1. Now, it works IPv6 link-local
unicast addresses as well as IPv6 link-local multicast addresses.

MFC after: 1 week


# 288a2426 19-Apr-2010 Rui Paulo <rpaulo@FreeBSD.org>

MFC r206427, r206706, r206771:
ubthidhci rc.d script to switch an USB bluetooth dongle from HID to
HCI mode.


# 2b98f840 18-Apr-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

MFC r204076,r204077,r204083,r205279:

r204076:

Please welcome HAST - Highly Avalable Storage.

HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.

HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.

For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.

Sponsored by: FreeBSD Foundation
Sponsored by: OMCnet Internet Service GmbH
Sponsored by: TransIP BV

r204077:

Remove some lines left over by accident.

r204083:

Add missing KEYWORD line.

Pointed out by: dougb

r205279 sys:

Simplify loops.


# 1a587368 17-Apr-2010 Doug Barton <dougb@FreeBSD.org>

In case a user wants to configure only an IPv6 link-local address
add an example that shows how to do it.


# ee3474bf 16-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

MFC r206557: Nuke the descriptions about ipv6_firewall_* as they
were unified into firewall_*.


# 8103e1fa 13-Apr-2010 Hajimu UMEMOTO <ume@FreeBSD.org>

Nuke the descriptions about ipv6_firewall_* as they were unified
into firewall_*.

MFC after: 3 days


# c6c608b3 09-Apr-2010 Rui Paulo <rpaulo@FreeBSD.org>

Add rc.d/ubthidhci. This small script calls usbconfig(1) to change a USB
Bluetooth controller from HID mode to HCI mode.

MFC after: 1 week


# 8aa4c579 08-Apr-2010 Doug Barton <dougb@FreeBSD.org>

Improve the handling of IPv6 configuration in rc.d. The ipv6_enable
and ipv6_ifconfig_<interface> options have already been deprecated,
these changes do not alter that.

With these changes any value set for ipv6_enable will emit a
warning. In order to avoid a POLA violation for the deprecation
of the option ipv6_enable=NO will still disable configuration
for all interfaces other than lo0. ipv6_enable=YES will not have
any effect, but will emit an additional warning. Support and
warnings for this option will be removed in FreeBSD 10.x.

Consistent with the current code, in order for IPv6 to be configured
on an interface (other than lo0) an ifconfig_<interface>_ipv6
option will have to be added to /etc/rc.conf[.local].

1. Clean up and minor optimizations for the following functions:
ifconfig_up (the ipv6 elements)
ipv6if
ipv6_autoconfif
get_if_var
_ifconfig_getargs
The cleanups generally were to move the "easy" tests earlier in the
functions, and consolidate duplicate code.

2. Stop overloading ipv6_prefer with the ability to disable IPv6
configuration.

3. Remove noafif() which was only ever called from ipv6_autoconfif.
Instead, simplify and integrate the tests into that function, and
convert the test to use is_wired_interface() instead of listing
wireless interfaces explicitly.

4. Integrate backwards compatibility for ipv6_ifconfig_<interface>
into _ifconfig_getargs. This dramatically simplifies the code in
all of the callers, and avoids a lot of other code duplication.

5. In rc.d/netoptions, add code for an ipv6_privacy option to use
RFC 4193 style pseudo-random addresses (this is what windows does
by default, FYI).

6. Add support for the [NO]RTADV options in ifconfig_getargs() and
ipv6_autoconfif(). In the latter, include support for the explicit
addition of [-]accept_rtadv in ifconfig_<interface>_ipv6 as is done
in the current code.

7. In rc.d/netif add a warning if $ipv6_enable is set, and remove
the set_rcvar_obsolete for it. Also remove the latter from
rc.d/ip6addrctl.

8. In /etc/defaults/rc.conf:

Add an example for RTADV configuration.

Set ipv6_network_interfaces to AUTO.

Switch ipv6_prefer to YES. If ipv6_enable is not set this will have
no effect.

Add a default for ipv6_privacy (NO).

9. Document all of this in rc.conf.5.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 333fb1c9 05-Mar-2010 Alexander Leidinger <netchild@FreeBSD.org>

Redirect stdin from /dev/null when starting a jail:
At least in RELENG_7 this fixes some start problems for some programs
from the ports. It is also more correct, as a jail shall not expect
input (interactivity) from the jail-host.

Revert the current behavior of starting jails in the background and
make it optional only for the start of jails (jail_parallell_start=YES
in rc.conf):
- The stop can not be done in the background, the system needs to wait
until everything is stopped correctly before it can reboot or power
down.
- The start should not be done in parallel by default, this not only
breaks POLA for people comming from RELENG_x, it may also break a
dependency chain with other scripts in the jail-host, which need to
do some stuff after the jails are up and running (e.g. hardlinking
a mysql socket from one jail into another one).

Discussed on: freebsd-jails@


# 32115b10 18-Feb-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Please welcome HAST - Highly Avalable Storage.

HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.

HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.

For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.

Sponsored by: FreeBSD Foundation
Sponsored by: OMCnet Internet Service GmbH
Sponsored by: TransIP BV


# da9808aa 16-Feb-2010 Maksim Yevmenkin <emax@FreeBSD.org>

MFC: r203676

Introduce new rc.conf variable firewall_coscripts. It can be used to
specify list of executables and/or rc scripts that should be executed
after firewall starts/stops.

Submitted by: Yuri Kurenkov <y dot kurenkov at init dot ru>
Reviewed by: rhodes, rc@


# fafa9c3c 08-Feb-2010 Maksim Yevmenkin <emax@FreeBSD.org>

Introduce new rc.conf variable firewall_coscripts. It can be used to
specify list of executables and/or rc scripts that should be executed
after firewall starts/stops.

Submitted by: Yuri Kurenkov <y dot kurenkov at init dot ru>
Reviewed by: rhodes, rc@
MFC after: 1 week


# d46150d4 12-Jan-2010 John Baldwin <jhb@FreeBSD.org>

MFC 201215:
Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable. If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.


# 9557a450 29-Dec-2009 John Baldwin <jhb@FreeBSD.org>

Add support for configuring vlan(4) interfaces as child devices similar to
wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>'
variable. If a vlan interface is a number, then that number is treated as
the vlan tag for the interface and the interface will be named '<IF>.<tag>'.
Otherwise, the vlan tag must be provided via a vlan parameter in a
'create_args_<vlan>' variable.

While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in
the description of cloned_interfaces.

Reviewed by: brooks
MFC after: 2 weeks


# a1b9e5fa 08-Dec-2009 Xin LI <delphij@FreeBSD.org>

MFC revisions 196550 and 196552:

Add a new rc.d script, static_arp, which enables the administrator to
statically bind IPv4 <-> MAC address at boot time.

In order to use this, the administrator needs to configure the following
rc.conf(5) variable:

- static_arp_pairs: A list of names for static bind pairs, and,
- a series of static_arp_(name): the arguments that is being passed to
``arp -S'' operation.

Example:
static_arp_pairs="gw"
static_arp_gw="192.168.1.1 00:01:02:03:04:05"

See the rc.conf(5) manual page for more details.


# c071b1c6 15-Nov-2009 Doug Barton <dougb@FreeBSD.org>

MFC r199127:
Add a note about no hostname leading to "Amnesiac" on the console

The text is inspired by the PR, but more in line with the existing text

PR: docs/140434
Submitted by: Jason Helfman <jhelfman@e-e.com>

MFC r199152:
s/a default/the default/

Submitted by: remko

MFC r199299:
In r199127/r199152 I forgot to bump .Dd


# 77db28c9 15-Nov-2009 Doug Barton <dougb@FreeBSD.org>

In r199127/r199152 I forgot to bump .Dd


# 127de774 10-Nov-2009 Doug Barton <dougb@FreeBSD.org>

s/a default/the default/

Submitted by: remko


# b31787ae 09-Nov-2009 Doug Barton <dougb@FreeBSD.org>

Add a note about no hostname leading to "Amnesiac" on the console

The text is inspired by the PR, but more in line with the existing text

PR: docs/140434
Submitted by: Jason Helfman <jhelfman@e-e.com>


# d89eb6fc 29-Sep-2009 Doug Barton <dougb@FreeBSD.org>

MFC r197297

Add a knob to show 'Starting foo:' messages when faststart is used,
such as at boot time.

MFC 197619

By popular acclaim, enable "Starting foo:" messages by default

Approved by: re (bz)


# 66981e7f 28-Sep-2009 Ruslan Ermilov <ru@FreeBSD.org>

Fixed a markup bug.


# 2e77c5ab 26-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Fix several logic bugs in the previous IPv6 variable change and
re-add $ipv6_enable support for backward compatibility. From
UPDATING:

1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF
for IPv4. For aliases, $ifconfig_IF_aliasN should be used.
Note that both variables need the "inet6" keyword at the head.

Do not set $ipv6_network_interfaces manually if you do not
understand what you are doing. It is not needed in most cases.

$ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but
they are obsolete.

2. $ipv6_enable is obsolete. Use $ipv6_prefer and/or
"inet6 accept_rtadv" keyword in ifconfig(8) instead.

If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and
all configured interfaces have "inet6 accept_rtadv" in the
$ifconfig_IF_ipv6. These are for backward compatibility.

3. A new variable $ipv6_prefer has been added. If NO, IPv6
functionality of interfaces with no corresponding
$ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag,
and the default address selection policy of ip6addrctl(8)
is the IPv4-preferred one (see rc.d/ip6addrctl for more details).
Note that if you want to configure IPv6 functionality on the
disabled interfaces after boot, first you need to clear the flag by
using ifconfig(8) like:

ifconfig em0 inet6 -ifdisabled

If YES, the default address selection policy is set as
IPv6-preferred.

The default value of $ipv6_prefer is NO.

4. If your system need to receive Router Advertisement messages,
define "inet6 accept_rtadv" in $ifconfig_IF_ipv6. The rc(8)
scripts automatically invoke rtsol(8) when the interface becomes
UP. The Router Advertisement messages are used for SLAAC
(State-Less Address AutoConfiguration).


# f414327c 17-Sep-2009 Doug Barton <dougb@FreeBSD.org>

Add a knob to show 'Starting foo:' messages when faststart is used,
such as at boot time.


# 00303aec 12-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

The following changes are added because of
network_ipv6->rc.d/netif integration:

- $ipv6_enable is now obsolete. Instead, IPv6 is enabled by
default if the kernel supports it, and $ipv6_network_interfaces
is "none" by default. If you want to use IPv6, define
$ipv6_network_interfaces and $ifconfig_xxx_ipv6.

An interface which is in $network_interfaces and not in
$ipv6_network_interfaces will be marked as "inet6
-auto_linklocal ifdisabled" (see ifconfig(8)).

- $ipv6_ifconfig_xxx is renamed to ifconfig_xxx_ipv6 for
consistency with other address families. The old variables
still work but can be removed in the future. Note that
ipv6_ifconfig_xxx="..." should be replaced with
ifconfig_xxx_ipv6="inet6 ...".

- Receiving ICMPv6 Router Advertisement is not automatically
enabled even if there is no manual configuration of IPv6 in
rc.conf. If you want it, define
ifconfig_xxx_ipv6="inet6 ... accept_rtadv".

- The rc.d/ip6addrctl now chooses address selection policy based
on $ipv6_prefer, not $ipv6_enable. The default is
ipv6_prefer=NO.

- $router* and $ipv6_router* are replaced with $routed_* and
$route6d_* for consistency. The old variables still work but
can be removed in the future.

MFC after: 3 days


# 7064977f 25-Aug-2009 Xin LI <delphij@FreeBSD.org>

Add a new rc.d script, static_arp, which enables the administrator to
statically bind IPv4 <-> MAC address at boot time.

In order to use this, the administrator needs to configure the following
rc.conf(5) variable:

- static_arp_pairs: A list of names for static bind pairs, and,
- a series of static_arp_(name): the arguments that is being passed to
``arp -S'' operation.

Example:
static_arp_pairs="gw"
static_arp_gw="192.168.1.1 00:01:02:03:04:05"

See the rc.conf(5) manual page for more details.

Reviewed by: -rc@
MFC after: 2 weeks


# 94d77159 16-May-2009 Doug Barton <dougb@FreeBSD.org>

1. New feature; option to have the script loop until a specified hostname
(localhost by default) can be successfully looked up. Off by default.
2. New feature: option to create a forwarder configuration file based on
the contents of /etc/resolv.conf. This allows you to utilize a local
resolver for better performance, less network traffic, custom zones, etc.
while still relying on the benefits of your local network resolver.
Off by default.
3. Add named-checkconf into the startup routine. This will prevent named
from trying to start in a situation where it would not be possible to do
so.


# f3320e5f 28-Apr-2009 Ruslan Ermilov <ru@FreeBSD.org>

Added (pre|post)(start|stop) jail hooks. These can be used to run
arbitrary commands (outside the jail) associated with said events,
e.g. to bring up/down CARP interfaces representing services run in
jails.

Reviewed by: simon


# ffe65ca9 24-Apr-2009 Maxim Konovalov <maxim@FreeBSD.org>

o Correct geli(8) command line.

PR: docs/133961
Submitted by: Aldis Berjoza
MFC after: 1 week


# 3e5f41cf 13-Mar-2009 Brooks Davis <brooks@FreeBSD.org>

Add support for setting the debug flags on wlan interfaces after the are
created using wlandebug_<ifn> variables.


# 553bf6a4 17-Feb-2009 Mike Makonnen <mtm@FreeBSD.org>

Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to better
reflect its purpose.


# 9bad6e2c 28-Jan-2009 Giorgos Keramidas <keramida@FreeBSD.org>

Backout change 187782. It inhibits ntpd from starting at all
when ntpd_sync_on_start is set.

Noticed by: rafan


# 0f583414 27-Jan-2009 Giorgos Keramidas <keramida@FreeBSD.org>

Bump .Dd for r187782.


# 2ba7d35b 27-Jan-2009 Giorgos Keramidas <keramida@FreeBSD.org>

When synchronizing the clock at system startup time, use both
the -g and -q options. They do a slightly different thing and
both are necessary when the time difference is large.

Noticed by: danger, in the forums
Approved by: roberto
MFC after: 1 week


# 8154af81 25-Jan-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Update jail startup script for multi-IPv4/v6/no-IP jails.

Note: this is only really necessary because of the ifconfig
logic to add/remove the jail IPs upon start/stop.
Consensus among simon and I is that the logic should
really be factored out from the startup script and put
into a proper management solution.

- We now support starting of no-IP jails.
- Remove the global jail_<jname>_netmask option as it is only
helpful to set netmasks/prefixes for the right address
family and per address.
- Implement jail_<jname>_ip options to support both
address familes with regard to ifconfig logic.
- Implement _multi<n> support suffix to the jail_<jname>_ip
option to configure additional addresses to avoid overlong,
unreadbale jail_<jname>_ip lines with lots of addresses.

Submitted by: initial work from Ruben van Staveren
Discussed on: freebsd-jail in Nov 2008.
Reviewed by: simon, ru (partial, older version)
MFC after: 1 week


# 864265e5 24-Jan-2009 Bjoern A. Zeeb <bz@FreeBSD.org>

Change IP addresses/prefixes to be from "Test-Net" (IPv4 documentation
prefix 192.0.2.0/24) rather than from private-use networks.

MFC after: 1 week


# cd79fc03 08-Jan-2009 Giorgos Keramidas <keramida@FreeBSD.org>

The description of the various securelevels has moved to the
security.7 manpage a while ago.

MFC after: 1 week
Noticed by: simon


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# c10a9859 24-Sep-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Undocument dead option.

MFC after: 3 days


# 85e5290d 24-Sep-2008 Ruslan Ermilov <ru@FreeBSD.org>

Allow a jail's IP alias to be created with an arbitrary netmask.

MFC after: 3 days


# 01b10913 19-Sep-2008 Andrew Thompson <thompsa@FreeBSD.org>

Change the wording to prefer 'forwarding' but still retain the word routing for
clarity.

Suggested by: dougb


# 51e14630 16-Sep-2008 Andrew Thompson <thompsa@FreeBSD.org>

Allow a jail to be started with a specific route fib.

Reviewed by: secteam (simon)
Reviewed by: brooks, bz


# 5241279f 19-Aug-2008 David E. O'Brien <obrien@FreeBSD.org>

Rename the RCng 'kernel' script to 'kernel_symlink'.

Requested by: many


# d606fed6 09-Aug-2008 David E. O'Brien <obrien@FreeBSD.org>

Only symlink booted kernel directory to /boot/kernel if user has explicitly
requested it. This is too dangerous to just do behind the admin's back.


# 44c80094 21-Jun-2008 Simon L. B. Nielsen <simon@FreeBSD.org>

To catch up with rev 179872: rename enable_quotas to quota_enable.


# 2e598474 26-May-2008 Bjoern A. Zeeb <bz@FreeBSD.org>

Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re


# ace19032 14-May-2008 Brooks Davis <brooks@FreeBSD.org>

Change the default value of synchronous_dhclient to NO.

To preserve the existing behavior of etc/rc.d/netif, add code to wait
up to if_up_delay seconds (30 seconds by default) for a default route to
be configured if there are any dhcp interfaces. This should be extended
to test that the interface is actually up.

X-MFC after:


# 89b5b33d 25-Apr-2008 Brooks Davis <brooks@FreeBSD.org>

Replace the prototype vaps_<ifn> and vap_create_<ifn> variables with
more wlans_<ifn> and create_args_<ifn>

Add documentation for these variants and generally update the wireless
device example.

There is are very short lived shim from vaps_<ifn> which produces
a warning and vap_create_<ifn> which does not. Misuse the MFC
notification service to remind me to remove them.

MFC after: 3 weeks


# 4c33fe96 09-Apr-2008 Maksim Yevmenkin <emax@FreeBSD.org>

Update .Dd

Pointed out by: Niclas Zeising <niclas-dot-zeising-at-gmail.com>
MFC after: 1 week


# 97078e07 08-Apr-2008 Maksim Yevmenkin <emax@FreeBSD.org>

Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in server
mode at boot time. Multiple profiles can be started at the same time.
The whole idea is very similar to the ppp rc script.

Document Bluetooth knobs in rc.conf(5)

MFC after: 1 week


# 14b0729b 28-Mar-2008 Brooks Davis <brooks@FreeBSD.org>

Add support for hardwiring ppp sessions to particular devices with new
per-profile variables of the form ppp_<profile>_unit. No ppp_unit
variable is supported since tying the same unit to more than one profile
won't work.

PR: conf/122127
MFC after: 1 week


# 6ea3dc37 26-Mar-2008 Brooks Davis <brooks@FreeBSD.org>

Allow the characters .-+/ to appear in ppp profile names by folding them
to _ when evaluating ppp_<profile>_nat and ppp_<profile>_mode. Document
the per-profile variables.

PR: conf/121452, conf/122127 (partial)
MFC after: 1 week


# ae2edb2a 05-Mar-2008 Brooks Davis <brooks@FreeBSD.org>

Use the new command file feature of ddb(8) to support setting ddb(4)
scripts at boot. This is currently disabled by default. /etc/ddb.conf
contains some potentially reasonable default scripts.

PR: conf/119995
Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version)
X-MFC after: textdumps


# 82e9dc59 27-Jan-2008 Mike Makonnen <mtm@FreeBSD.org>

Add a dummynet_enable knob to go with firewall_enable. If this knob
is enabled dummynet(4) is added to the list of required modules.

Discussed on: #freebsd-bugbusters (rwatson, trhodes)
PR: conf/79196
MFC after: 1 week


# 73e9aa89 23-Jan-2008 Chin-San Huang <chinsan@FreeBSD.org>

- Document firewall_nat_enable related settings.

Tested by: AB
MFC after: 1 month


# 2123fbe6 12-Jan-2008 Maxim Konovalov <maxim@FreeBSD.org>

o From the Problem Report: the TCP_DROP_SYNFIN kernel option is now
included in the kernel by default. Remove reference to this option
from defaults/rc.conf and rc.conf(5).

PR: conf/119098
Submitted by: Beat Gaetzi
MFC after: 1 week


# ecfb21ff 28-Oct-2007 Martin Wilke <miwi@FreeBSD.org>

Actually the keyword tells network.subr to launch wpa_supplicant on the
selected interface. wpa_supplicant does not only handle WPA
authentication but also EAP/LEAP as well as WEP encryption or no
encryption at all. The patch clarifies this.

PR: 117046
Submitted by: lme
Reviewed by: bruffer
Approved by: jkois (mentor)


# 9f05d312 15-Oct-2007 Alexander Leidinger <netchild@FreeBSD.org>

Backout sensors framework.

Requested by: phk
Discussed on: cvs-all


# 823b883d 14-Oct-2007 Ruslan Ermilov <ru@FreeBSD.org>

Remove trailing whitespace.


# 99f6b270 14-Oct-2007 Alexander Leidinger <netchild@FreeBSD.org>

Import OpenBSD's sysctl hardware sensors framework.

This commit includes the following core components:

* sample configuration file for sensorsd
* rc(8) script and glue code for sensorsd(8)
* sysctl(3) doc fixes for CTL_HW tree
* sysctl(3) documentation for hardware sensors
* sysctl(8) documentation for hardware sensors
* support for the sensor structure for sysctl(8)
* rc.conf(5) documentation for starting sensorsd(8)
* sensor_attach(9) et al documentation
* /sys/kern/kern_sensors.c
o sensor_attach(9) API for drivers to register ksensors
o sensor_task_register(9) API for the update task
o sysctl(3) glue code
o hw.sensors shadow tree for sysctl(8) internal magic
* <sys/sensors.h>
* HW_SENSORS definition for <sys/sysctl.h>
* sensors display for systat(1), including documentation
* sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by: Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by: syrinx
Tested by: many
OKed by: kensmith
Obtained from: OpenBSD (parts)


# cb3ab5e3 06-Sep-2007 Max Laier <mlaier@FreeBSD.org>

Add a startup script for ftp-proxy(8) now that it is no longer started as
part of inetd(8).

Approved by: re (bmah)
Reviewed by: freebsd-rc (a while back)
Reminded by: kevlo


# 4d7537f3 11-Jun-2007 Giorgos Keramidas <keramida@FreeBSD.org>

Fix what seems to be a copy-paste buglet (`moused_type' is used
in the description of `moused_flags', instead of the later), and
add a description of `moused_XXX_flags' where `XXX' is the port
name of a non-default moused invocation -- including an example
of using "-3" with the default moused(8) instance, but no special
flags for moused(8) invocations handling 3-button USB mice (which
seems a very common scenario these days).

MFC after: 3 days


# 28166017 31-May-2007 Tom Rhodes <trhodes@FreeBSD.org>

Changes to my local build lead to my confusion - revert the last change, but
reword the original text a bit. Sorry for the churn.

Quick jump: thompsa


# 1ecf009e 31-May-2007 Tom Rhodes <trhodes@FreeBSD.org>

There is no pf module yet.


# 671901e9 10-Apr-2007 Giorgos Keramidas <keramida@FreeBSD.org>

Add a pfsync_syncpeer option to /etc/defaults/rc.conf and rc.conf(5),
which can be used to turn off multicast pfsync support, and enable
the transmission of directed PFSYNC (IP protocol: 240) packets to
a specific "sync peer" host.

PR: conf/111225
Submitted by: Bas van Beek <bas@tobin.nl>
Approved by: mtm, mlaier
MFC after: 2 weeks


# 70cb12f2 05-Apr-2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Add ZFS startup script.

Submitted by: des

- When starting mountd(8) and ZFS is enabled, add /etc/zfs/exports file.
- Update rc.conf(5).


# f3636019 04-Apr-2007 Matteo Riondato <matteo@FreeBSD.org>

Add rpc_statd_flags and rpc_lockd_flags options to allow options to be
passed to rpc.statd and rpc.lockd

MFC after: 1 week


# 8165fa21 11-Mar-2007 Brooks Davis <brooks@FreeBSD.org>

Spell .Xr without a '/'.

Pointy hat: brooks


# ce475c41 11-Mar-2007 Brooks Davis <brooks@FreeBSD.org>

Fix a couple markup problems in the previous commit and bump the
document date.

Reported by: ru


# 0b45d130 10-Mar-2007 Brooks Davis <brooks@FreeBSD.org>

Allow background_fsck_delay to be set to a negative value which delays
the background fsck indefinitely. This allows the administrator to run
it at a convenient time. To support running it from cron, the
forcestart argument now causes the fsck to start with no delay and all
output to be suppressed.


# 15240ba8 06-Mar-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

As suggested more than once in the lists, drop -M from flags to mfs
for /tmp and /var. This makes the memory discs swap-backed instead
of malloc-backed. A swap-backed memory disc should not be worse
than a malloc-backed one in any scenario because it will start
touching swap only when needed. OTOH, a malloc-backed disc can
starve limited kernel resources and evenually crash the system.

Reflect the change in the rc.conf(5) manpage. Also stop telling
lies there about softupdates: it does not waste disc space, it
just can delay its freeing.

Suggested by: many
PR: kern/87255
MFC after: 1 week


# aae5ebdc 09-Feb-2007 Christian Brueffer <brueffer@FreeBSD.org>

Nuke pcnfsd(8) reference.

PR: 108980
Submitted by: Yonatan


# 2d69b43e 08-Feb-2007 Florent Thoumie <flz@FreeBSD.org>

Add support for EtherChannel configuration to rc startup scripts.

Note: This also deprecates "NO" as a way to specify an empty list of
interfaces for gif_interfaces.

PR: conf/104884
Submitted by: nork
Harassed by: brd
Discussed with: brooks, dougb


# c4758f8e 24-Jan-2007 Ceri Davies <ceri@FreeBSD.org>

Bump .Dd for r1.313.


# 781cf91b 23-Jan-2007 Mike Pritchard <mpp@FreeBSD.org>

Document new quota knobs.


# 95e8481b 13-Dec-2006 Mike Pritchard <mpp@FreeBSD.org>

Spelling fixes.


# 7ddd9ed1 21-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

Small fixes.


# d7862beb 15-Oct-2006 Ceri Davies <ceri@FreeBSD.org>

Add idmapd_flags to defaults/rc.conf.
Document it and idmapd_enable.


# 5bfeaa38 07-Oct-2006 Florent Thoumie <flz@FreeBSD.org>

Add a missing whitespace.

Reported by: simon
Approved by: cperciva (mentor, implicit)


# 2440a169 06-Oct-2006 Florent Thoumie <flz@FreeBSD.org>

Introduce mixer_enable (default: YES).

PR: conf/101268
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Approved by: cperciva (mentor)
X-MFC after: 6.2-RELEASE
Sponsored by: FreeBSD Test-Bugathon


# 2d20d323 29-Sep-2006 Bruce M Simpson <bms@FreeBSD.org>

Push removal of mrouted down to the rest of the tree.


# 81ae4b8d 18-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# 04e0bd8b 17-Aug-2006 Brian Somers <brian@FreeBSD.org>

Bump the document date.

Suggested by: ru


# 9341e8dd 17-Aug-2006 Brian Somers <brian@FreeBSD.org>

Add a -p switch to dhclient. The switch tells dhclient to persist
despite the interface link status.

Add dhclient_flags_iface and background_dhclient_iface rc.conf options.
(where iface is a specific interface). These can be used to give
interface specific flags to dhclient.

Reviewed by: brooks@


# 52538839 22-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

The month name in .Dd should be spelled in full.

Pointed out by: ru


# 05a7329c 21-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Touch document date (Dd).


# 9f8b57f0 21-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Since Alpha support isn't in HEAD anymore, remove Alpha-specific
rc.conf(5) knobs, too: osf1_enable, unaligned_print.


# ca3a4056 20-Jul-2006 Florent Thoumie <flz@FreeBSD.org>

- Remove hardcoded /etc/ntp.conf configuration file from ntpdate rc.d script
and replace it with a new ntpdate_config variable.
- Document it in defaults/rc.conf and rc.conf.5.
- Document ntpdate_hosts in defaults/rc.conf.

Requested by: Chris Timmons <cwt@networks.cwu.edu>
Approved by: cperciva (mentor, implicit)
MFC after: 1 week


# 55ba40bf 01-Jun-2006 Andrew Thompson <thompsa@FreeBSD.org>

Add rc.d/bridge which is invoked when a new interface arrives and can
automaticly add it to an Ethernet bridge. This is intended for applications
such as qemu, vmware, openvpn, ... which open tap interfaces and need them
bridged with the hosts network adapter, the user can set up a glob for
interfaces to be automatically added (eg tap*).


# ce5c66f0 30-May-2006 Matteo Riondato <matteo@FreeBSD.org>

Add jail_<jname>_exec_afterstart<N> rc.conf variable, where <N> is
1,2 and so on.
It specifies the command to be run as Nth after jail startup.

sh(1)-fu by: Dario Freni
PR: conf/97697
MFC after: 2 weeks
Reviewed by: ru@ (man page)


# 01b19d78 18-May-2006 Florent Thoumie <flz@FreeBSD.org>

Add two new scripts (mdconfig/mdconfig2) to replace old ramdisk{,-own}
scripts. These scripts handle vnode backed md(4) devices.

Old ramdisk{,-own} scripts will stay a bit in CVS to allow some time for
migration since variable names have changed (ramdisk_* -> mdconfig_*).

Two new variables have been introduced to be able to populate the md(4)
device once it has been mounted (mdconfig_*_files and mdconfig_*_cmd).

Use should be as easy as:

mdconfig_md0="-t malloc -s 10m"
mdconfig_md1="-t vnode -f /var/foo.img"

See rc.conf(5) for more information and description of the additional
variables.

Approved by: cperciva


# f6ce2a64 17-May-2006 Poul-Henning Kamp <phk@FreeBSD.org>

Send the pcvt(4) driver off to retirement.


# 9277da52 12-May-2006 Max Laier <mlaier@FreeBSD.org>

Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.
Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw
scripts as well.


# b246e931 11-May-2006 Florent Thoumie <flz@FreeBSD.org>

- Change the "jail_" prefix for internal script variables. This fixes an
issue where some global jail_* variables were overriden in the script. [1]
- Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a
jail id. [1]
- Update examples and comments in defaults/rc.conf to advertise new
variables and the fact that some of the jail-specific variables may be made
jail-global. [2]

Reported by: pjd [1], clsung [2]
Approved by: cperciva
X-MFC after: i got sufficient testing from people using rc.d/jail


# 455c5d38 18-Apr-2006 Florent Thoumie <flz@FreeBSD.org>

- Add new ntpd_config variable so that people can override it in rc.conf.
- Add default value in /etc/defaults/rc.conf.
- Add documentation bits to rc.conf(5).

Approved by: cperciva (mentor)
MFC after: 1 week


# c1ba2105 13-Apr-2006 Brooks Davis <brooks@FreeBSD.org>

Spell synchronous with required silent 'h'.

Reported by: ru, ceri
Pointy hat: brooks


# c4af136d 13-Apr-2006 Brooks Davis <brooks@FreeBSD.org>

Commit the various network interface configutation updates I've been
working on.
1) Make it possible to configure interfaces with certain characters in
their names that aren't valid in shell variables. Currently supported
characters are ".-/+". They are converted into '_' characters.
2) Replace nearly all eval statements in network.subr with a new
function get_if_var which substitues an interface name (after the
translations above) for "IF" in a variable name.
3) Fix list_net_interfaces() in the nodhcp case.
4) Allow the administrator to specify if dhclient should be started
when /etc/rc.d/netif configures the interface or only by devd.
This can be set on both a per interface and system wide basis.

PR: conf/88974 [1,2], conf/92433 [1,2]


# 69beb663 07-Apr-2006 Florent Thoumie <flz@FreeBSD.org>

- Add following global jail options, used if no jail-specific options are
set:
* jail_mount_enable
* jail_devfs_ruleset
* jail_devfs_enable
* jail_fdescfs_enable
* jail_procfs_enable
* jail_fstab
* jail_flags
- Add a jail_interface / jail_<jid>_interface option. An ip alias will be
created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set.
This is not a mandatory option.
- Document all missing jail_* options in rc.conf(5).

Approved by: cperciva (mentor)
MFC after: 2 weeks


# d98c0125 08-Mar-2006 Matteo Riondato <matteo@FreeBSD.org>

Fix spelling error

MFC after: 1 day


# 82d95a96 13-Feb-2006 Matteo Riondato <matteo@FreeBSD.org>

Add a default ldconfig32_paths entry in default/rc.conf for 32-bit compatability shared libraries.
It is used by the ldconfig rc.d scripts.
Document this variable in the man page

PR: amd64/91571
Approved by: philip (mentor)
MFC after: 3


# 3b77fdbf 13-Feb-2006 Warner Losh <imp@FreeBSD.org>

Remove pccard variables which are no longer supported after the move
to NEWCARD.


# 196b6a19 13-Feb-2006 Doug Barton <dougb@FreeBSD.org>

Overhaul the named boot script:

1. Remove a now-spurious NetBSD CVS Id, as we are no longer synching work
2. Remove a now-spurious BEFORE, since ntpdate now REQUIRE's named
3. Replace the call to set rcvar with what that function would output,
and generally reduce indirection ($name -> named) since it's highly
unlikely the name of the named process or service will change any time soon.
4. Resort the order the variables at the top of the file to a more
traditional format, and remove a spurious required_dirs from the top, as it
works better after load_rc_config.
5. We do not want the default reload method with named, so define a simple
but appropriate substitute using rndc. If I were writing this script for
the first time I would not include this at all, since it's preferable to
control a running daemon with rndc to start with, but given that this is
already here, let's do it right. I hope that future generations will
however resist the tempation to add reconfig to extra_commands.
6. By the same token, we want to use rndc to shut down named, but given
that by defining a stop function we lose the "find the process by its
pid file in an emergency" goodness of rc.subr, try to do something useful
in the event that rndc is not available, and keep the user informed.
7. Replace some "test -f" with "test -r" to handle the unlikely event
that the relevant file exists, but is unreadable.
8. Twiddle whitespace in a few areas, remove a spurious blank line,
a bogus double space, and try to do better indenting.
9. Improve generation of the rndc.key file significantly
a. If for some reason a user has an rndc.conf file, assume that they
did that on purpose, and hence know what they are doing, so leave them alone.
b. Introduce a named_uid configuration variable so that the user which owns
the rndc.key file and the user named runs as always match, and is more
easily configurable. This should dramatically reduce problems with rndc.
c. Also test that the rndc.key file size is greater than zero, rather than
simply that the file exists. I have seen at least one user report this exact
problem, and although neither of us is sure where the empty file came from,
the fix is simple, so include it.
d. Rather than try to create an rndc.key file in both /etc/namedb and the
chroot'ed /etc/namedb, assume that they are be the same (which they should
be), and only create the file in the chroot'ed version of the directory.
This partially addresses the problem described in conf/73929, but I have
not yet finished thinking about the PREFIX issue that PR also raises.

As a result of introducing the named_uid knob, the default named_flags
are now empty.

Update defaults/rc.conf and rc.conf(5) to reflect these changes.


# bd81a3a5 10-Feb-2006 Christian Brueffer <brueffer@FreeBSD.org>

Correct references to ipnat(8).

MFC after: 3 days


# b03bfd35 02-Feb-2006 Florent Thoumie <flz@FreeBSD.org>

- Add a startup script for hostapd.
- Document associated variable in rc.conf(5).

Approved by: dougb
MFC after: 1 week


# 44255c55 29-Jan-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add a couple of obviously missing xrefs to SEE ALSO:
ftpd(8), geli(8).


# 3d425b66 26-Jan-2006 Joseph Koshy <jkoshy@FreeBSD.org>

Note that options are set using sh(1) syntax.

MFC after: 3 days


# 24c307ea 21-Jan-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add an rc.d script for stand-alone ftpd.

Document the script's controls on the rc.conf(5)
manpage and touch its Dd.

PR: conf/90893
MFC after: 5 days


# 81adede9 21-Jan-2006 Ceri Davies <ceri@FreeBSD.org>

It's perfectly valid to run rpc_statd and rpc_lockd as an NFS client, so
update the documentation to reflect that.

PR: docs/86090
Submitted by: Lowell Gilbert <freebsd-bugs-local at be-well dot ilk point org>
MFC after: 3 days
MFC to: RELENG_5, RELENG_6


# b0c77a9e 12-Jan-2006 Doug Barton <dougb@FreeBSD.org>

Mention that NETWORKING is probably the right value for
early_late_divider in a jail.

Add an explcit Xr for jail(8)


# a5b2ea4f 08-Jan-2006 Florent Thoumie <flz@FreeBSD.org>

Bump .Dd date after latest changes.

Approved by: simon


# dfdae553 08-Jan-2006 Doug Barton <dougb@FreeBSD.org>

Add a mechanism to include files added by ports which contain
the names of directories to include in the base ldconfig script.
This will eliminate the need for each port to install its own
boot script which does nothing but ldocnfig a given directory.

This code was developed by flz (ports committer), discussed on
freebsd-rc@, and modified slightly by me.

Submitted by: flz
Reviewed by: brooks


# 66c6b326 29-Dec-2005 Ralf S. Engelschall <rse@FreeBSD.org>

Fix semantics in the documentation of the "jail_socket_unixiproute_only"
variable ("YES" vs. "NO") and be more precise and intuitive on what is
actually allowed/restricted by this variable ("UNIX/IP/route sockets"
vs. "TCP/IP protocols").

MFC after: 3 days


# aa5affaf 20-Dec-2005 Doug Barton <dougb@FreeBSD.org>

Brooks pointed out a potential problem with disabling the X cleaning
by default, so add a new knob that is on by default, and check that
knob in start_precmd so that it can run even if cleaning /tmp is
not enabled. This has the advantage of not violating POLA, while
still allowing the user to disable this behavior if they wish (for
example on a server that will never run X).


# ea871df0 19-Dec-2005 Doug Barton <dougb@FreeBSD.org>

Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} brought
to light by the PR. Specifically, convert these three scripts
into good rc.d citizens, making sure that their functionality
is preserved, but the rc.d framework rules are not broken.

Add support for cleanvar as a regular rc.d script in the
default rc.conf, and document this in the man page.

Add a descriptive comment to rc.conf that regarding the
three emulation/compatibility services provided by abi
so users will not be confused by these services not having
their own startup scripts.

PR: conf/84574
Submitted by: Alexander Botero-Lowry


# 2e46a159 14-Dec-2005 Ian Dowse <iedowse@FreeBSD.org>

Remove usbd(8) and all references to it. It is no longer necessary
since devd(8) now provides the same functionality.

Submitted by: Anish Mistry


# 57e561c0 10-Dec-2005 Doug Barton <dougb@FreeBSD.org>

Remove rcconf.sh from /etc/rc.d, and instead load the configuration
as part of rc. Doing this, and the sourcing of rc.subr after we have
determined if we are booting diskless (and correspondingly run
rc.initdiskless if necessary) are safe, and actually allow fewer files
to be needed on the diskless box. This also allows variables from
the configuration to be available to rc itself, such as ...

Add a variable to rc.conf, early_late_divider, which designates the
script which separates the early and late stages of the boot process.
Default this to mountcritlocal, and add text to etc/defaults/rc.conf,
rc.conf(5) and diskless(8) which describes how and why one might want
to change this.

Reviewed by: brooks


# 78ad5421 18-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

-mdoc sweep.


# cda39c01 14-Nov-2005 Brooks Davis <brooks@FreeBSD.org>

Add a new configuration variable, ipv4_addrs_<ifn>, which adds one or
more IPv4 address from a ranged list in CIRD notation:

ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"

In the process move alias processing into new ipv4_up/down functions to
more toward a less IPv4 centric world.

Submitted by: Philipp Wuensche <cryx dash freebsd at h3q dot com>


# 26cd969f 12-Nov-2005 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct a grammo and capitalize a few abbreviations.


# c8a0dfab 02-Oct-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add an rc.d script to start pfsync at the right moment of the
system boot, and hook it up in the system.

The separate script is needed because in the presence of various
interface lists in rc.conf ($network_interfaces, $cloned_interfaces,
$sppp_interfaces, $gif_interfaces, more to come) it is hard to start
them orderly, so that pfsync is brought up after its syncdev, which
is required for the proper startup of pfsync.

Discussed with: mlaier on -pf
MFC after: 5 days


# d11122e7 02-Oct-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add firewall-related xrefs to SEE ALSO.


# f0fdbb10 28-Sep-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Minor clarifications and fixes to wording, grammar, and markup
around ${network_interfaces}.


# 1a51e011 20-Sep-2005 Robert Watson <rwatson@FreeBSD.org>

Add a new rc.conf entry, kerberos5_server_flags, which allows the
administrator to specify additional start-up flags to the Kerberos
5 Authentication Server.

MFC after: 3 days


# 724447ac 15-Sep-2005 Ralf S. Engelschall <rse@FreeBSD.org>

Fix system shutdown timeout handling by again supporting longer running
shutdown procedures (which have a duration of more than 120 seconds).

We have two user-space affecting shutdown timeouts: a "soft" one in
/etc/rc.shutdown and a "hard" one in init(8). The first one can be
configured via /etc/rc.conf variable "rcshutdown_timeout" and defaults
to 30 seconds. The second one was originally (in 1998) intended to be
configured via sysctl(8) variable "kern.shutdown_timeout" and defaults
to 120 seconds.

Unfortunately, the "kern.shutdown_timeout" was declared "unused" in 1999
(as it obviously is actually not used within the kernel itself) and
hence was intentionally but misleadingly removed in revision 1.107 from
init_main.c. Kernel sysctl(8) variables are certainly a wrong way to
control user-space processes in general, but in this particular case the
sysctl(8) variable should have remained as it supports init(8), which
isn't passed command line flags (which in turn could have been set via
/etc/rc.conf), etc.

As there is already a similar "kern.init_path" sysctl(8) variable which
directly affects init(8), resurrect the init(8) shutdown timeout under
sysctl(8) variable "kern.init_shutdown_timeout". But this time document
it as being intentionally unused within the kernel and used by init(8).
Also document it in the manpages init(8) and rc.conf(5).

Reviewed by: phk
MFC after: 2 weeks


# e5b3a116 08-Sep-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Reflect a recent change in /etc/rc.subr that made ``-M''
appear in tmpmfs and varmfs default flags explicitly.
Explain why -M is good for these file systems (it maximizes
performance and makes the system more stable at low memory
conditions by reducing the chance of thrashing.)

Bump .Dd accordingly.

MFC after: 3 days


# 41f7ee42 23-Aug-2005 Brooks Davis <brooks@FreeBSD.org>

- Remove the removable_interfaces variable. /etc/pccard_ether will
now run on any interface.
- Add a new ifconfig_<ifn> keyword, NOAUTO which prevents configuration
of an interface at boot or via /etc/pccard_ether. This allows
/etc/rc.d/netif to be used to start and stop an interface on a purely
manual basis. The decision to affect pccard_ether may be revisited at
a later date.

Requested by: imp, gallatin (removable_interfaces)
Discussed with: sam, Randy Bush (NOAUTO)


# 069dfe83 18-Aug-2005 Brooks Davis <brooks@FreeBSD.org>

Refer to the OpenBSD dhclient instead of the ISC dhclient.

Reported by: Bob Johnson <bob89 at eng dot ufl dot edu>
PR: 84963


# b12cfed2 14-Aug-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Add scripts for GELI device configuration on boot.

rc.d/geli - configures encryption (ask for passphrases, etc.);
rc.d/geli2 - is called after file systems are mounted and mark devices for
detach on last close.

Sponsored by: Wheel Sp. z o.o.
http://www.wheel.pl
MFC after: 3 days


# 49ad116f 05-Aug-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Teach rc.d/encswap script how to use geli(8) for swap encryption.

MFC after: 3 days


# 6e6ecc0e 05-Aug-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>

rc.conf(5) update - gbde_swap_enable variable has been removed.

Reminded by: dougb


# fe6f40dd 01-Aug-2005 Brooks Davis <brooks@FreeBSD.org>

- Document network_interfaces=auto (the default!).
- Remove documentation of pccard_ifconfig as it is now gone.
- Document pccard_ifconfig's replacement ifconfig_DEFAULT.


# a1601503 30-Jun-2005 Hiten Pandya <hmp@FreeBSD.org>

Use 'manual page' instead of 'man page' for consistency.

Approved by: re (hrs)


# 03550c9c 14-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

Add missing .Ed call that was fatal for the rest of manpage.
Bump document date.

Approved by: re


# 7bc4ff02 07-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Update to the new world of network configuration. The documenation is
slightly ahead of reality as rc support for WPA is only partialy in
place.

Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>


# 1e03bb03 07-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Remove default and documenation for pccard_ether_delay since I removed
it from /etc/pccard_ether.

Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>


# 540fac89 01-May-2005 Alexander Leidinger <netchild@FreeBSD.org>

- document powerd_flags too
- add a reference to powerd(8)

Approved by: mentor (joerg)


# 1b301a7f 25-Apr-2005 Max Laier <mlaier@FreeBSD.org>

Typeo.

Submitted by: Emil Mikulic


# 4f802d7e 18-Apr-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Document bsnmpd related options.

Reminded by: maxim


# ffa6cde4 30-Mar-2005 Nate Lawson <njl@FreeBSD.org>

Add note about powerd(8)

Submitted by: netchild


# bc8f83f8 12-Mar-2005 Tom Rhodes <trhodes@FreeBSD.org>

Remove mention of mac_lomac(4) policy from here too.


# b2d18dad 02-Mar-2005 Brooks Davis <brooks@FreeBSD.org>

Document the newsyslog_* and chkprintcap_* variables I added yesterday.


# f4e8f997 06-Feb-2005 Nate Lawson <njl@FreeBSD.org>

Note changes to throttling sysctls and new power_profile(8) cpufrq support.


# 8d243d04 05-Feb-2005 Christian Brueffer <brueffer@FreeBSD.org>

Backout last commit, lomac_enable is still valid. Just Xref mac_lomac.4
instead of lomac.4.


# 3d76e5da 05-Feb-2005 Christian Brueffer <brueffer@FreeBSD.org>

Remove last traces of lomac(4)

MFC after: 3 days


# 3ac17feb 21-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Fixed xref.


# c0854fb7 12-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Scheduled mdoc(7) sweep.


# 645453db 05-Jan-2005 Kirill Ponomarev <krion@FreeBSD.org>

Remove trailing spaces.

Forgotten by: me


# af952b36 16-Dec-2004 Nate Lawson <njl@FreeBSD.org>

Inform users how to set throttling and cpu idling variables for the
power_profile rc script.


# 118fd131 12-Nov-2004 Philip Paeps <philip@FreeBSD.org>

Reflect the cuaa->cuad namechange in documentation.

Might as well do them all while I'm at it :-)

Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>


# 16c2bf8b 09-Nov-2004 Giorgos Keramidas <keramida@FreeBSD.org>

Revert the noexec,nosuid,nodev options for md /tmp file systems, since
the change in the default behavior may break existing, working setups.

Requested by: brooks


# 7e3bed5b 09-Nov-2004 Giorgos Keramidas <keramida@FreeBSD.org>

Bump document date for the {tmp,var}mfs_flags change.


# 8cfaa2f1 09-Nov-2004 Giorgos Keramidas <keramida@FreeBSD.org>

Add two new rc.conf options: tmpmfs_flags and varmfs_flags.

These can be used to pass extra options to the mdmfs(8) utility,
to customize the finer details of the md file system creation
(i.e. to turn on/off softupdates, to specify a default owner for md
filesystem, etc).

Use these two new flags to mount tmpmfs and varmfs without
softupdates, since it doesn't make much sense to use SU on
malloc-backed file systems.

Reviewed by: mtm
Inspired by: J. D. Bronson, jbronson at wixb dot com


# 371e19fa 04-Nov-2004 Ruslan Ermilov <ru@FreeBSD.org>

Sync up with vinum(8) and rc.d/vinum removal.

OK'ed by: phk


# 86bade27 01-Nov-2004 Mike Makonnen <mtm@FreeBSD.org>

Do a better job of supporting more than one mouse device
on the system.

To start/stop/check on a specific device give the device name as
the second argument to the script:
# /etc/rc.d/moused start ums0

To use different rc.conf(5) knobs with different mice use the device
name as part of the knob. For example, if the mouse device is ums0, then:
moused_ums0_enable=yes
moused_ums0_flags="-z 4"
moused_ums0_port="/dev/ums0"

Starting rc.d/moused without the device argument will use the standard
moused_* flags. So, this commit should not disrupt or change current usage.

To preserve current behaviour with respect to usb mice, which appear
automatically when inserted, there is a new knob, moused_nondefault_enable,
which will treat any devices without rc.conf knobs as enabled.

To minimize knobs in /etc/rc.conf, the device file and pid file are
auto-computed, so that in the typical case for a usb mouse you don't
need to add anything extra in /etc/rc.conf to get it working.

Additionally, this updates /etc/usbd.conf to use the rc.d/moused script so
people don't have to modify it to configure their usb mouse anymore.

MFC after: 1 month


# 1f8197cf 30-Oct-2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Allow to change interfaces name on boot time.
Now, one should be able to put something like this into /etc/rc.conf:

ifconfig_fxp0_name="net0"
ifconfig_net0="inet 10.0.0.1/16"

Reviewed by: green


# 7855ddfc 23-Oct-2004 Andre Oppermann <andre@FreeBSD.org>

Bump document date that was forgotten in the last commit.

Reminded by: ru


# e3030ee4 22-Oct-2004 Andre Oppermann <andre@FreeBSD.org>

IPDIVERT will automatically load ipdivert.ko if not compiled into the
kernel.


# 8e8b3100 20-Oct-2004 Giorgos Keramidas <keramida@FreeBSD.org>

Bump the document date, s/filesystem/file system/ and add missing word.

Noticed by: ru


# 6e1b2264 20-Oct-2004 Giorgos Keramidas <keramida@FreeBSD.org>

Introduce root_rw_mount as a new variable in defaults/rc.conf to
unbreak /etc/rc.d/root for diskless systems that get their root
filesystem from a read-only NFS mount.

PR: conf/72927
Submitted by: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de>
Reviewed by: brooks


# ae4d5e29 17-Oct-2004 Giorgos Keramidas <keramida@FreeBSD.org>

The populate_var variable checks /var for writability, not /tmp.

Noticed by: Alan Gerber <agerber@ncsu.edu>


# 0f8351be 08-Oct-2004 Giorgos Keramidas <keramida@FreeBSD.org>

Fix an mdoc warning:
Using a macro as first argument cancels effect of .Li (#2984)

MFC after: 3 days


# d32ae37c 07-Oct-2004 Max Laier <mlaier@FreeBSD.org>

Remove obsolete references to PFIL_HOOKS and RANDOM_IP_ID

MFC after: 1 days


# e4540609 30-Sep-2004 Doug Barton <dougb@FreeBSD.org>

Update descriptions of named-related knobs.


# 9ccab60d 29-Sep-2004 Tom Rhodes <trhodes@FreeBSD.org>

Document the latest changes to src/etc/defaults/rc.conf.
Bump document date.


# d3797745 20-Sep-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Document the AUTO setting for dumpdev.

MFC after: 4 weeks


# 9fa4bd23 14-Sep-2004 Sean Chittenden <seanc@FreeBSD.org>

Add a mention of the ntpd_sync_on_start tunable.

Requested by: maxim


# 64785dbd 18-Jul-2004 Simon L. B. Nielsen <simon@FreeBSD.org>

For the gbde attach script:
- Ask the user up to X times (3 by default) for the pass-phrase, if
it is incorrect the first time.
- Add support for storing the lockfiles in another other directory
than /etc.
- Document that it is possible to override the location of each single
lockfile.

Approved by: pjd


# 5203edcd 03-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks and double whitespaces.


# da640027 18-Jun-2004 Brian Feldman <green@FreeBSD.org>

Document rc.conf's "keyboard" directive.

Reminded by: dougb


# 54514724 17-Jun-2004 Bruce M Simpson <bms@FreeBSD.org>

Add an example to rc.conf(5) about how to use the static_routes variable.
We already do this for jails and their various control variables.

PR: conf/62772


# bf7f20c2 16-Jun-2004 Ruslan Ermilov <ru@FreeBSD.org>

Assorted markup, spelling, and grammar fixes.


# 18f00b8a 28-Apr-2004 Simon L. B. Nielsen <simon@FreeBSD.org>

Bump manual page date for last update.

Suggested by: ru


# a8abffed 25-Apr-2004 Simon L. B. Nielsen <simon@FreeBSD.org>

- Update description of watchdogd_enable to reflect current reality.
- Document watchdogd_flags.


# 69b11e00 03-Apr-2004 Wes Peters <wes@FreeBSD.org>

Document new ramdisk_X_????? settings.


# 042d501c 03-Apr-2004 Max Laier <mlaier@FreeBSD.org>

Style:
- do not comment out entries in newsyslog.conf
- use tabs to line up inetd.conf

Requested by: bde
Approved by: bms(mentor)


# 6cd9ebed 02-Apr-2004 Max Laier <mlaier@FreeBSD.org>

Add rc.d script to start pflogd and add rcvars etc. Also document vars in
rc.conf(5) and put a sample entry to newsyslog.conf

Reviewed by: -current
Approved by: bms(mentor)


# e764373e 30-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Bump date and remove trailing whitespace.


# 20baa54f 30-Mar-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Document ntpdate_hosts.


# 3e091039 23-Mar-2004 Brooks Davis <brooks@FreeBSD.org>

Overhaul the /etc/rc.d/diskless script by splitting it out into
hostname, resolve, tmp, and var scripts. The latter three are new and
were repo copied. These scripts no longer depend on being booted with
and NFS root instead attempt to automaticly create mfs /tmp and /var
volumes if the they are not writable. This behavior can be overridden
in /etc/rc.conf.

Reviewed by: luigi, pjd


# 1f4408f3 23-Mar-2004 Max Laier <mlaier@FreeBSD.org>

Add rc.d script for pf(4) (more to come once pflogd(8) works as well).
Update defaults and write some lines for rc.conf(5) also.
Mostly dup'ed from ipf

Reviewed by: -current
Approved by: bms(mentor)


# 0a54defb 14-Mar-2004 Doug Barton <dougb@FreeBSD.org>

1. Remove the named_rcng variable. Mike's caution in this area was a good
thing, but we're ready to move on.

2. Remove the -g default argument in named_flags. It doesn't actually do
what most users think it does, and what most users want it to do is already
accomplished with a proper default group for the bind user, which we have.
Also, the -g knob does something entirely different in BIND 9, which leads
to a lot of needless confusion/aggravation.

3. In the rc.d script, don't bogusly override $command, or $rc_flags. Both
are adequately handled in rc.conf[.local].

4. DO properly override $rc_flags if user has named_chrootdir set.
This may need to be revisited, but should be ok for now.

5. Protect all chrootdir-related bits under that variable, instead of
named_rcng.

There is more work to be done here, especially in the area of BIND 9
compatibility, but this is a start at least.

Prompted in part by (legitmate) grousing from: kuriyama, Randy Bush


# 901912aa 04-Mar-2004 Mike Makonnen <mtm@FreeBSD.org>

Document the virecover_enable knob.
From the PR:
Certain MTA configurations mean that the notifications from
virecover keep bouncing; so here's a patch to allow administrators
to turn them off.

PR: conf/54910
Reminded by: ru


# ede23044 03-Feb-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Whitespace nit.


# 607b5a91 03-Feb-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Add support for initializing swap devices with random one-shot keys. Note
that the keys are currently generated by computing the MD5 checksum of 512
bytes read from /dev/random, and are passed to gbde on the command line.

Sponsored by: Teleplan AS


# fb43f32b 25-Dec-2003 Sergey Babkin <babkin@FreeBSD.org>

Documented the new parameter cron_dst.


# 3c335203 10-Nov-2003 Christian Brueffer <brueffer@FreeBSD.org>

Add a missing 'the'


# ea39e8ca 18-Sep-2003 Doug Barton <dougb@FreeBSD.org>

Add a default setting of NO for the gbde auto attach script, and
document the options.


# 9740d063 05-Sep-2003 Maxim Konovalov <maxim@FreeBSD.org>

o Fix a typo in rev. 1.196: ifconfig 9 -> ifconfig 8.

PR: docs/56488
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>


# f945ca51 15-Aug-2003 Ceri Davies <ceri@FreeBSD.org>

Remove a stray ".Xr rtadvd 8" that snuck in in the middle of a sentence.


# 8b296e19 14-Aug-2003 Hartmut Brandt <harti@FreeBSD.org>

Now that routes for IP over ATM may look much more complex than before,
use the atmconfig(8) utility instead of route(8) to install those routes.
For this we need a new rc.conf variable natm_static_routes that works
just like static_routes except that the referenced routes use the syntax
of atmconfig(8).

Okay'ed by: mtm


# d5c7aa4a 28-Jul-2003 Martin Blapp <mbr@FreeBSD.org>

Dhclient can't block anymore during startup. Document
the 'background_dhclient' better.


# c5670cc3 28-Jul-2003 Hartmut Brandt <harti@FreeBSD.org>

Convert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add support
for the harp(4) pseudo driver and for loadable native HARP drivers
(like hfa_pci).

To use harp(4) the rc variable natm_interfaces must be set to the
list of NATM interfaces to be used for HARP. These interfaces
will be brought up with ifconfig and the harp(4) will be loaded.

To use loadable native HARP drivers atm_load must be set to
the list of drivers to load.

Reviewed by: mtm, gordon (partly)


# 2b23ce1c 28-Jul-2003 Martin Blapp <mbr@FreeBSD.org>

Document background_dhclient.


# dbfaa8c5 27-Jun-2003 Sean Kelly <smkelly@FreeBSD.org>

Add documentation for watchdogd_enable setting.

Approved by: jeff (mentor)


# da02c8c4 14-Jun-2003 Mike Makonnen <mtm@FreeBSD.org>

Catch up man page with reality in rc.d/named.

Pointed out by: Simon L. Nielsen <simon@nitro.dk>


# 55241cdb 08-Jun-2003 Philippe Charnier <charnier@FreeBSD.org>

Remove reference to deprecated xtend(8)


# d679c130 07-Jun-2003 Mike Makonnen <mtm@FreeBSD.org>

The dhcp_program and dhcp_flags variables have to be renamed to
take advantage of the rc.subr(8) glue. They are renamed dhclient_program
and dhclient_flags.
o Rename them in rc.conf(5)
o Rename them in /etc/defaults/rc.conf
o Add the deprecated variables to /etc/rc.subr
o Isolate the use of the 'command' variable to the
NetBSD specific parts in /etc/rc.d/dhclient.
o Now that dhcp_flags has also been renamed it will
be applied properly by rc.subr(8) glue code.

Reported by: John Nielsen <john@jnielsen.net>


# 09f84dd1 02-Jun-2003 Ruslan Ermilov <ru@FreeBSD.org>

Assorted mdoc(7) fixes.


# c94887be 01-Jun-2003 Gordon Tetlow <gordon@FreeBSD.org>

Document netfs_types.


# c8185672 21-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

Assorted mdoc(7), grammar, spelling, and punctuation fixes.

Approved by: re (blanket)


# aba60fa6 18-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

Fixed troff(1) and mdoc(7) warnings.

Approved by: re (blanket)


# 5add5cc4 04-May-2003 Murray Stokely <murray@FreeBSD.org>

Remove man page reference for gated, as it isn't in the base system
nor is it available from the ports tree.


# 8b3e7e90 01-May-2003 Warner Losh <imp@FreeBSD.org>

xtend rc.conf variables are gone.

Noticed by: bde


# aab6741f 30-Apr-2003 Mark Murray <markm@FreeBSD.org>

More factual updates for kerberos 5.


# 2d93d309 22-Apr-2003 Tom Rhodes <trhodes@FreeBSD.org>

Use .Pa for the pccard_ether file.
s/spppconfig/spppcontrol/

Submitted by: "Simon L. Nielsen" <simon@nitro.dk>


# 600b2079 16-Apr-2003 Mike Makonnen <mtm@FreeBSD.org>

Add new knobs for controlling jails in rc.d and document them.

Approved by: makrm (mentor)


# c1e3a71e 15-Apr-2003 Tom Rhodes <trhodes@FreeBSD.org>

Catch this file up with rc.conf(5).

Submitted by: Simon L. Nielsen <simon@nitro.dk> (original version)


# e40f1e0c 26-Mar-2003 Giorgos Keramidas <keramida@FreeBSD.org>

Fix typo in the version of the diff that I committed.

Submitted by: Simon L. Nielsen <simon@nitro.dk>


# 2524b0b2 25-Mar-2003 Giorgos Keramidas <keramida@FreeBSD.org>

Document mountd_flags.

PR: 50023
Submitted by: Simon L.Nielsen <simon@nitro.dk>


# 5d75ba3d 17-Mar-2003 Crist J. Clark <cjc@FreeBSD.org>

A new rc-ng script to build linker.hints files with kldxref(8)
automatically at boot time. Associated rc.conf(5) knobs and
documentation are included.


# a1ceffbc 28-Feb-2003 Giorgos Keramidas <keramida@FreeBSD.org>

Document keybell="" switch and refer to kbdcontrol(1) for details.


# fc30e07a 18-Feb-2003 Ceri Davies <ceri@FreeBSD.org>

The nfs_privport variable doesn't exist - mention nfs_reserved_port_only
instead.

Approved by: murray (mentor)
MFC After: 2 days


# ac304f2d 14-Feb-2003 Hiroki Sato <hrs@FreeBSD.org>

Improve the wording.

Reviewed by: ru


# e245c21e 13-Feb-2003 Hiroki Sato <hrs@FreeBSD.org>

Document start_if.${ifn} scripts.

Not objected to by: -doc


# 1e30d929 08-Feb-2003 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Correct the man page for nfs_bufpackets. DEFAULT is not an acceptable
value.

PR: conf/31280
MFC after: 3 days


# b57e4880 18-Jan-2003 Mike Makonnen <mtm@FreeBSD.org>

Kill whitespace at EOL.

Approved by: markm (mentor)
Noticed by: ru


# 69808e53 14-Jan-2003 Mike Makonnen <mtm@FreeBSD.org>

Add rc_debug knob to rc.conf. The code for it has been in rc.subr for
some time now.
Document all knobs introduced by rc.d

Approved by: markm (mentor)
Reviewd by: gordon (earlier revision)


# 57bd0fc6 26-Dec-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

english(4) police.


# 0f918c97 23-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup nits.


# 123a5dff 18-Dec-2002 Kirk McKusick <mckusick@FreeBSD.org>

Delay an optional amount of time after booting before starting a
background fsck. The delay defaults to sixty seconds to allow
large applications such as the X server to start before disk I/O
bandwidth is monopolized by fsck.

Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
Sponsored by: DARPA & NAI Labs.


# 8d5d039f 12-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

Uniformly refer to a file system as "file system".

Approved by: re


# d962d52a 29-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: scheduled sweep.

Approved by: re


# e8ef497c 10-Nov-2002 Warner Losh <imp@FreeBSD.org>

Document devd_enable.

Submitted by: dougb


# e99a17fb 05-Sep-2002 Gordon Tetlow <gordon@FreeBSD.org>

Update rc.conf.5 man page to reflect bootparamd_enable and _flags


# 2455cd9e 29-Aug-2002 Hellmuth Michaelis <hm@FreeBSD.org>

document options for integrating pcvt configuration into the new /etc/rc.d
startup system.


# 806fb7f5 19-Aug-2002 Gordon Tetlow <gordon@FreeBSD.org>

Update manpage to reflect reality:
xntpd -> ntpd
single_mountd_enable -> mountd_enable
portmap -> rpcbind


# b3e9028c 14-Jul-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Document savecore_flags.

PR: docs/35967
Submitted by: Gary W. Swearingen <swear@blarg.net>


# 619b80c4 04-Apr-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail. The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed. A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA. For backward compatibility, it will default to
/etc/rc.sendmail. The specified script is called out of /etc/rc after
checking to make sure it exists. A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by: -current, -stable, obrien, peter, ru
MFC after: 1 week


# 079f9ac4 28-Mar-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add an entry for sendmail_submit_flags.


# 4bfef13d 27-Mar-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Provide a way for users to completely prevent sendmail from trying to start
at boot time.

Instead of rc.conf's sendmail_enable only accepting YES or NO, it can now
also accept NONE. If set to NONE, none of the other sendmail related
startup items will be done.

Remove an extra queue running daemon might be started that wasn't necessary
(it didn't hurt anything but it wasn't needed).

The new logic is:

# MTA
if ${sendmail_enable} == NONE
# Do nothing
else if ${sendmail_enable} == YES
start sendmail with ${sendmail_flags}
else if ${sendmail_submit_enable} == YES
start sendmail with ${sendmail_submit_flags}
else if ${sendmail_outbound_enable} == YES
start sendmail with ${sendmail_outbound_flags}
endif
# MSP Queue Runner
if ${sendmail_enable} != NONE &&
[ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES
start sendmail with ${sendmail_msp_queue_flags}
endif

Discussed with: Thomas Quinot <Thomas.Quinot@Cuivre.FR.EU.ORG>,
Christopher Schulte <schulte+freebsd@nospam.schulte.org>
MFC after: 1 week


# b615e3aa 17-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: tidy up.


# 129c0ad7 16-Mar-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

Typo: s/Kensignton/Kensington/

MFC after: 3 days


# 23ed9ff6 13-Mar-2002 Robert Watson <rwatson@FreeBSD.org>

Document the "lomac_enable" rc.conf switch.

Reminded by: Makoto Matsushita <matusita@jp.FreeBSD.org>


# 1e1d5984 11-Mar-2002 Crist J. Clark <cjc@FreeBSD.org>

Don't protect savecore(8) from being run with a bad dumpdir
argument. Don't fail silently, but let savecore(8) make noise. It
won't behave badly, it doesn't need protection.

At the same time, allow the administrator to have dumpdev enabled
while dumpdir (savecore(8)) is disabled and document how to do it.

PR: conf/35725


# 00805a52 02-Mar-2002 Dima Dorfman <dd@FreeBSD.org>

Add information about {kerberos,kadmind}5_enable and change
{kerberos,kadmind}_enable to {kerberos,kadmind}4_enable to match
reality. Fix some mismatched parentheses while I'm here.

PR: 34982
Submitted by: Michel Oosterhof <m.oosterhof@xs4all.nl>


# 29c0f078 20-Feb-2002 Crist J. Clark <cjc@FreeBSD.org>

There is no reason to demand the administrator set 'natd_interface'
when running natd(8) out of the rc-files. It is perfectly valid for
the interface or alias address to be set in a natd(8) configuration
file, not on the command line. Also, loosen up the restrictions on
identifying an IP address argument in 'natd_interface.'

Fix the documentation, rc.conf(5), to reflect this change.

Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf.

MFC after: 3 days


# feb15b97 17-Feb-2002 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Add infrastructure for sendmail 8.12. If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started
(sendmail_submit_enable) as it is needed to accept mail from command line
submissions. If this isn't desired, see etc/mail/README for more hints.

Optionally (sendmail_msp_queue_enable) start a queue runner for the
submission queue in case a daemon isn't available to accept command line
submitted mail at submission time.

Note that the syslog labels for all of these sendmail processes have been
uniquified for easier log parsing.


# f44609fe 26-Jan-2002 Crist J. Clark <cjc@FreeBSD.org>

Make the rc.conf(5) 'log_in_vain' knob an integer.

Try this out in -CURRENT, MFC, and then consider dropping the
'log_in_vain' knob all together. It really is something for
sysctl.conf(5).

PR: bin/32953
Reviewed by: -bugs discussion
MFC after: 1 week


# 8edd27f1 21-Jan-2002 Mike Pritchard <mpp@FreeBSD.org>

Fix spelling errors.


# 491a8429 14-Jan-2002 Ruslan Ermilov <ru@FreeBSD.org>

yp(4) -> yp(8).

PR: docs/30797


# 217baf9c 09-Jan-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: tidy up markup.


# 4a8eeedb 29-Dec-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Don't require operators to override the list of network filesystem
types (networkfs_types) with a version that includes the original
list.

This increases the scope for user error and also means that systems with
networkfs_types set in /etc/rc.conf will not benefit from changes to the
list in /etc/defaults/rc.conf on upgrade.

Instead, store the default list in /etc/rc itself and allow the operator
to append to that list by specifying her own list in networkfs_types.

Rename networkfs_types to extra_netfs_types accordingly, as the new name
better describes the purpose of the variable. Default the value to
'NO'.


# d7fb353a 27-Dec-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Re-introduce the fix that delays mounting of network filesystems until
the network is initialized. This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.

The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.

Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.

With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.


# 601404ec 14-Dec-2001 Brooks Davis <brooks@FreeBSD.org>

Better document gif interface cloning intrastructure.

MFC After: 2 days


# 3e5ea285 07-Dec-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:

- Avoid using second person.
- Remove whitespace at EOL.


# 2129325c 24-Nov-2001 Darren Reed <darrenr@FreeBSD.org>

second part of the patches to complete ipf changes to rc

PR: multiple
Submitted by: Arjan de Vet <devet@devet.org>


# bdb28ff4 17-Nov-2001 Dima Dorfman <dd@FreeBSD.org>

Correct typo.

PR: 32066
Submitted by: Peter Avalos <pavalos@theshell.com>


# 62ec3f2f 02-Nov-2001 Giorgos Keramidas <keramida@FreeBSD.org>

Typo correction: detailled -> detailed.

Approved by: nik


# caefee99 23-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

Remove references to nfsiod(8) and nfs_client_flags
now that they are obsolete.


# 4a7fc813 09-Oct-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Document the dumpdir variable, and write a better description of the dumpdev
variable.

MFC: 1 week


# 61d788b6 01-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup and spelling nits.


# 40995998 19-Sep-2001 Brooks Davis <brooks@FreeBSD.org>

Add a new rc.conf variable, cloned_interfaces, to create cloned
interfaces at boot.


# 8dac8c26 13-Sep-2001 Warner Losh <imp@FreeBSD.org>

Due to a bug in the ed driver, which leads to hangs when using it with
dhclient and pccard_ether, introduce the concept of a "settle time" to
pccard_ether with the new pccard_ether_delay variable. Defaults to 5
seconds, which is enough time for the ed driver to finish its
autoconfiguration for newer Linksys based cards. This also can
eliminate the ed0: timeout messages that happen at startup as well.

MFC: after RE says OK.


# cb2fb6f3 28-Aug-2001 David E. O'Brien <obrien@FreeBSD.org>

Remove more vestages of diskcheckd, which is now in ports/sysutils.


# 265c01df 22-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Fixed broken xrefs.


# cd814153 22-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

Zap reference to tickadj(8). Forgotten in rev. 1.24.


# 980939b1 21-Aug-2001 Dima Dorfman <dd@FreeBSD.org>

Do not use contractions where they aren't necessary, use "host"
instead of "computer", and clean up some confusing sentences.

Submitted by: sheldonh


# bed6a377 19-Aug-2001 Dima Dorfman <dd@FreeBSD.org>

Shoot (and kill) the second person with a high-powered rifle.


# a35671c1 19-Aug-2001 Dima Dorfman <dd@FreeBSD.org>

There is no "(integer)" type; it's called "(int)".

PR: 20749
Submitted by: Ralf S. Engelschall <rse@engelschall.com>


# 05c1a268 19-Aug-2001 Dima Dorfman <dd@FreeBSD.org>

Add new entires for firewall_flags, amd_map_program, and
enable_quotas. Plus other assorted fixes.

PR: 20479
Submitted by: Ralf S. Engelschall <rse@engelschall.com>


# d634b35f 19-Aug-2001 Dima Dorfman <dd@FreeBSD.org>

Mark up IPFIREWALL in .Dv.


# cc00d33c 16-Aug-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Document the sendmail_outbound_enable and sendmail_outbound_flags,
which were introduced 5 months ago. Looking at the descriptions,
these two look like the stupidest options to have arrived in a while,
but they must be documented now that they've been merged onto the
stable branch.


# 57e4378b 10-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.


# 5d25d756 09-Aug-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Fix xrefs.

times.3: gettimeofday(3) --> gettimeofday(2)
rc.conf.5: isndn(8) --> isdnd(8)
idsnd(8) --> isdnd(8)

MFC after: 2 weeks


# 6575e6da 08-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: expand plain text xrefs.


# c4d9468e 07-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


# 6829f0a3 24-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

mdoc(7) police: remove hard sentence breaks and wrap lines over 80
characters.


# ccec65a5 24-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Fix or add types where appropriate.


# bfa032de 24-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Improve markup.

Reviewed by: ru


# 7d3c25f7 23-Jul-2001 Hellmuth Michaelis <hm@FreeBSD.org>

change the default for isdn_fsdev to NO.
PR: 26818
Submitted by: Clement Ballabriga <clement@asso.ups-tlse.fr>


# 72888a7d 23-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

mdoc(7) police: mark up kernel options in .Dv, rc.conf variables in
.Va, and use .Pp instead of blank lines all over the place.


# 6016261a 23-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Consistently capitalize the first letter of the first word in the
variable descriptions.


# 9b33d39f 23-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Document syslogd_program and inetd_program.


# 1d17292c 17-Jul-2001 Peter Pentchev <roam@FreeBSD.org>

Add a script_name_sep rc.conf knob to specify the IFS character
for separating the startup scripts' list into individual filenames.

Run the shutdown scripts in reverse alphabetical order, so dependent
services are stopped before the services they depend upon.

Reviewed by: -arch, -audit
MFC after: 3 weeks


# a956b43d 04-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: fixed markup.


# a910f192 23-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Remove duplicate words.


# 000d5619 09-Jun-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Fix cross-references:
xntpd.8 --> ntpd.8
acl_delete_perms.3 --> acl_delete_perm.3
getname.2 --> getsockname.2

MFC after: 1 week


# 8657581b 07-Jun-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Correct cross-reference:
portmap.8 --> rpcbind.8

Submitted by: .Xr testing script


# 76c68649 04-Jun-2001 Maxim Sobolev <sobomax@FreeBSD.org>

Fix cross-references:
ipnat.8 --> ipnat.1
environ.5 --> environ.7
isssetugid.2 --> issetugid.2

MFC after: 1 week


# 849f35cf 03-Jun-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Add diskcheck-daemon.

With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by: phk
Written by: ben


# fdec774f 24-May-2001 David E. O'Brien <obrien@FreeBSD.org>

RFC 1323 (TCP extensions) is now on by default.


# 692bb1c3 21-May-2001 Dima Dorfman <dd@FreeBSD.org>

Introduce a background_fsck rc.conf option which allows the user to
enable or disable background fsck'ing all in one shot. Default is
currently 'YES'.

Reviewed by: jkh


# a289e937 15-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: sort xrefs.


# b2be7838 14-May-2001 Jens Schweikhardt <schweikh@FreeBSD.org>

New option isdn_screenflags to set the syscons screen params for isdnd,
plus documentation.

Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
Not objected to by: hm
MFC after: 1 week


# dad32714 28-Apr-2001 Dima Dorfman <dd@FreeBSD.org>

Document allscreens_kbdflags.

Reviewed by: ru


# 34455342 28-Apr-2001 Dima Dorfman <dd@FreeBSD.org>

mdoc(7) police: use .Va and .Vt where appropriate

Reviewed by: ru


# a0247c8a 27-Apr-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed hard sentence breaks.


# 67e99a1a 24-Apr-2001 Jens Schweikhardt <schweikh@FreeBSD.org>

Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob!
PR: conf/24865
Submitted by: schweikh
Reviewed by: hm


# f1930dce 21-Apr-2001 Andrey A. Chernov <ache@FreeBSD.org>

Fix typo in mousechar range


# 5199f8b8 19-Apr-2001 Andrey A. Chernov <ache@FreeBSD.org>

Describe mousechar_start hook


# eb083802 18-Apr-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: normalize .Nd.


# 7e3ba257 10-Apr-2001 Ruslan Ermilov <ru@FreeBSD.org>

vnconfig(8) -> mdconfig(8).


# ddda68fb 04-Apr-2001 Bruce A. Mah <bmah@FreeBSD.org>

Add removable_interfaces to /etc/defaults/rc.conf. It is used
(undocumented until now) by /etc/pccard_ether.

MFC candidate.

Pointed out by: Dave Crane <dave@trig.net>
Reviewed by: -mobile


# cc084f75 19-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(second of three commits)


# c2d03ea8 28-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


# dd76c703 20-Feb-2001 Kris Kennaway <kris@FreeBSD.org>

Typo fixes: prefered -> preferred
There are some others in contributed/external code I haven't touched.


# 385a585a 04-Feb-2001 Doug Barton <dougb@FreeBSD.org>

Introduce the option of running fsck -y if the initial preen fails.
Defaults to off.

Obtained from: Yahoo!


# f8c1282a 21-Jan-2001 Doug Barton <dougb@FreeBSD.org>

Add the options of which cron program to run, and specifying flags
to it.

PR: conf/24358
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>


# e207e465 16-Jan-2001 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# 3136363f 29-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# 97948d2d 28-Dec-2000 Ben Smithurst <ben@FreeBSD.org>

fix typos.

PR: 23934
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>


# d7b336c0 11-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use canonical form of .Dd macro.


# 33eb563d 28-Oct-2000 MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>

add PC-Card melody beep(PC Card bus, kludge version)

Original idea from: PAO3


# 7a76642f 05-Oct-2000 Darren Reed <darrenr@FreeBSD.org>

This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5). If all goes well
with this over the next few weeks, the PR will be closed with the
pullup of patches back to 4-STABLE.

PR: 20202
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
Reviewed by: Darren Reed <darrenr@freebsd.org>
Approved by: Darren Reed <darrenr@freebsd.org>
Obtained from: Gerhard Sittig <Gerhard.Sittig@gmx.net>


# 803516cb 05-Oct-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Mention pccard_beep.

Requested by: sanpei


# 944fae23 04-Oct-2000 Brian Somers <brian@FreeBSD.org>

Add a unaligned_print option (alpha only)
Document osf1_enable

Submitted by: Eric D. Futch <efutch@nyct.net>
PR: 21649


# 26007eb8 18-Aug-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Document ibcs2_loaders and provide a default for it in
etc/defaults/rc.conf .


# 30a77b76 11-Aug-2000 John Polstra <jdp@FreeBSD.org>

Make the word "ldconfig" a bona fide cross-reference, and clarify
that this option has an effect only during system start-up.

Submitted by: sheldonh


# 297bb906 10-Aug-2000 John Polstra <jdp@FreeBSD.org>

Describe ldconfig_insecure.


# e2323071 09-Aug-2000 Brian Somers <brian@FreeBSD.org>

Allow a ppp_user specification to run ppp at startup

PR: 20258


# 8ca01bad 02-Jul-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Clear the obsolete argument to the Os macro.
Clear extraneous arguments to Nm.
Use Pa to mark up paths.
Use a single tagged list in the FILES section.


# 83734e47 02-Jul-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Fix up typo.
Add description of sshd_program variable.

Submitted by: Ashley Penney <ashp@unloved.org>,
Adrian Chadd <adrian@freebsd.org>


# ad61de5c 26-Jun-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

The rand_irqs variable was removed in rev 1.67 of rc.conf. Remove it
from the documentation also.


# f3e285ba 22-Jun-2000 Brian Somers <brian@FreeBSD.org>

Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch


# 64e47553 09-Jun-2000 Brian Somers <brian@FreeBSD.org>

Document $clear_daily_*


# 123b196a 09-May-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix nits in previous commit: hard sentence break and grammar.


# 66d95f17 08-May-2000 Andrey A. Chernov <ache@FreeBSD.org>

Describe firewall_logging option


# 6e124cb0 27-Apr-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix language in description of firewall_script.

Submitted by: sheldonh


# c1ebbb06 27-Apr-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Document firewall_script


# ee4619f2 26-Apr-2000 Brian S. Dean <bsd@FreeBSD.org>

Back out the hook to execute the file ${firewall_type}. The intended
purpose of the hook was to provide the ability for a shell program to
instantiate the firewall rules instead of forcing them to be
statically coded. This functionality was already present through the
use of ${firewall_script}, and I see no need to keep the
${firewall_type} hook around.

Reminded by: Dag-Erling Smorgrav <des@freebsd.org>


# 4d5787a2 16-Apr-2000 Brian S. Dean <bsd@FreeBSD.org>

Update the man page regarding the behaviour for the ${firewall_type}
variable.

Reminded by: Ruslan Ermilov <ru@FreeBSD.org>


# 8d1b3828 27-Mar-2000 Matthew Dillon <dillon@FreeBSD.org>

Add a sysctl to specify the amount of UDP receive space NFS should
reserve, in maximal NFS packets. Originally only 2 packets worth of
space was reserved. The default is now 4, which appears to greatly
improve performance for slow to mid-speed machines on gigabit networks.

Add documentation and correct some prior documentation.

Problem Researched by: Andrew Gallatin <gallatin@cs.duke.edu>
Approved by: jkh


# 1111b49c 03-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# b0359e5d 12-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Add dhclient(8) crossreference to the dhcp_flags section.

Submitted by: sheldonh


# 62285547 12-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Fix old style /fB /fR emphasis to the correct usage of .Em or other
more appropriate uses of mdoc macros given the context they were
used in.


# 4452573f 13-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Add crossreference to dhclient(8) since our interfaces nowadays
support DHCP and more information would be handy.


# dbc56df4 13-Jan-2000 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Add description for how to enable DHCP for network interfaces.

PR: 15980
Submitted by: John Reynolds <jjreynold@home.com>
Reviewed by: sheldonh


# 34ada08b 21-Dec-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Document allscreens_flags. This commit perpetuates the i386-centric
nature of this manual page. :-(

PR: 15066
Reported by: Andy Farkas <andyf@speednet.com.au>


# 045c8108 05-Dec-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

Mention USB mouse support.


# d65bc340 22-Nov-1999 Andrey A. Chernov <ache@FreeBSD.org>

Document single_mountd_enable


# 08abdae4 22-Nov-1999 Andrey A. Chernov <ache@FreeBSD.org>

Remove man_locles - goes to manpath.config


# e6c5a96c 22-Nov-1999 Brian Somers <brian@FreeBSD.org>

Document pppoed options


# 9c6fde3c 06-Oct-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove the description of the deprecated savecore_enable option,
which is no longer used. Expand the description of the dumpdev
option accordingly.

PR: 14152
Reported by: nrahlstr


# fff6710f 02-Oct-1999 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix typo.

Pointed out by: Kelly Yancey <kbyanc@posi.net>


# 5b94fc49 22-Sep-1999 Joseph Koshy <jkoshy@FreeBSD.org>

Describe the 'start_vinum' rc.conf knob.

PR: conf/13357
Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>


# d69fea87 21-Sep-1999 Alexey Zelkin <phantom@FreeBSD.org>

"tcp_extensions" turns on RFC1323 extensions only.

PR: docs/13879
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>


# 9c800c95 15-Sep-1999 Alexey Zelkin <phantom@FreeBSD.org>

mdoc(7)'fy.

Pointed out by: ru


# 7dde7bbd 14-Sep-1999 Alexey Zelkin <phantom@FreeBSD.org>

rc.conf -> /etc/motd

PR: docs/13748


# c7ed8409 13-Sep-1999 Dag-Erling Smørgrav <des@FreeBSD.org>

Document tcp_keepalive, tcp_drop_synfin, tcp_restrict_rst,
icmp_drop_redirect and icmp_log_redirect.


# 19076007 11-Sep-1999 Andrey A. Chernov <ache@FreeBSD.org>

Describe man_locales

Submitted by: "Alexey Zelkin" <phantom@crimea.edu>


# 4f2571dd 02-Sep-1999 David E. O'Brien <obrien@FreeBSD.org>

MFS: tweak my wording a little.


# 6a37402e 01-Sep-1999 David E. O'Brien <obrien@FreeBSD.org>

- Don't use contractions
- discuss the setting of hostname in the face of DHCP

Submitted by: John Baldwin <jobaldwi@vt.edu> (DHCP part)


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# be2a6b0b 25-Aug-1999 Mitsuru IWASAKI <iwasaki@FreeBSD.org>

Document apmd stuff.


# cdd53d9c 22-Aug-1999 Brian Somers <brian@FreeBSD.org>

ppp_alias -> ppp_nat

Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>


# a676a983 22-Aug-1999 Kazutaka YOKOTA <yokota@FreeBSD.org>

Revise description on moused options:
- Clearly distinguish PS/2, bus, and serial protocols.
- Explicitly state that serial mouse protocols don't work with
the PS/2 and bus mice.


# f437b38c 17-Aug-1999 Chris Costello <chris@FreeBSD.org>

Fix a bunch of broken cross-references


# def37e7c 15-Aug-1999 Mike Pritchard <mpp@FreeBSD.org>

Various man page cleanup:

- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


# 27e5a0fe 13-Aug-1999 Warner Losh <imp@FreeBSD.org>

Document log_in_vain.

Forgotten by: imp
Reminded by: Andreas Klemm


# 51f80ae1 26-Jul-1999 Brian Somers <brian@FreeBSD.org>

Add a default ppp.conf (mode 600).

Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>


# a2e3ae34 16-Jul-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Document dhcp flags.

Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>


# d95d7c87 12-Jul-1999 Mike Pritchard <mpp@FreeBSD.org>

Use .Xr to xref pccardd(8).


# bd17e46e 08-Jul-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Properly document /etc/defaults/rc.conf and rc_conf_files.

Submitted by: Sheldon Hearn <sheldonh@uunet.co.za>


# 07c50a3b 06-Jul-1999 Tatsumi Hosokawa <hosokawa@FreeBSD.org>

Added pccard_conf parameter.


# 12061cb9 05-Jul-1999 Tatsumi Hosokawa <hosokawa@FreeBSD.org>

Added $pccardd_flags.


# f591fcd1 05-Jul-1999 Nik Clayton <nik@FreeBSD.org>

Clarify static_routes variable's meaning

PR: docs/12302
Submitted by: Don Croyle <croyle@gelemna.ft-wayne.in.us>
Reviewed by: nik


# dff53a61 29-Mar-1999 James FitzGibbon <jfitz@FreeBSD.org>

Document portmap_program and lpd_program
Suggested by: Bill Fumerola <billf@jade.chc-chimes.com>


# b3dbbd0e 24-Mar-1999 Guy Helmer <ghelmer@FreeBSD.org>

Mention securelevel 3 to match comment in rc.conf.


# 685e0fcb 24-Mar-1999 Brian Somers <brian@FreeBSD.org>

Document natd_program


# ed354fb9 14-Jan-1999 Jordan K. Hubbard <jkh@FreeBSD.org>

Document rwhod_flags


# ab327a82 12-Dec-1998 Matthew Dillon <dillon@FreeBSD.org>

Reviewed by: freebsd-current

Update manual pages for rc(8) and rc.conf(5) based on recent changes
to rc.local and rc.conf[.local].


# 3acd0a4c 15-Nov-1998 Mike Smith <msmith@FreeBSD.org>

Document the new nfs_access_cache variable.


# b3547052 08-Oct-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5.

Disable building tickadj(8) by removing util from SUBDIR in the xntpd
Makefile. Note that the sources are still there and tickadj can still
be built and installed by doing:

# cd /usr/src/usr.sbin/xntpd/util
# make all install

There are enough references to tickadj in e.g. the xntpd documentation
(not to mention the sysctl variables it uses etc.) that I don't feel
up to implementing the final solution right now.

Kinda-approved-by: phk


# 7d5c779c 06-Oct-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Here are some scripts and man pages for configuring HARP ATM
interfaces.

Reviewed by: phk
Submitted by: Mike Spengler <mks@networkcs.com>


# 8ffc4345 08-Jul-1998 Jacques Vidrine <nectar@FreeBSD.org>

natd_interface can now be specified as either an IP address or
an interface name, so describe that here.


# 606acaca 24-Jun-1998 Joseph Koshy <jkoshy@FreeBSD.org>

Mention `kern_securelevel' variables in manual page.

Reminded-by: max


# 67978692 14-Jun-1998 Amancio Hasty <ahasty@FreeBSD.org>

Reviewed by: Amancio
Submitted by: Randall Hopper <rhh@ct.picker.com>
The patch supports using the X10 Mouse Remote in both stand-alone and
pass-through configurations, so you can plug your mouse and remote into the
same serial port, use the mouse for X, and use the remote for other apps
like Fxtv. For instance, we can now control fxtv via the remote control
just like a TV : change channels, mute, increase volume, zoom video,
freeze frame 8)

The mouse events are channeled through the syscons/sysmouse I/F like
normal, and the remote buttons are "syphoned off" to a UNIX-domain stream
socket (defined as _PATH_MOUSEREMOTE in <machine/mouse.h>) for a
remote-aware app to grab and use.

For further info on the X10 Mouse Remote see:
http://www.x10.com/products/x10_mk19a.htm


# 90f94d55 06-May-1998 Andreas Klemm <andreas@FreeBSD.org>

Overlooked, that newer naming convention is xxx_program instead of xxx_prog.
So changed it to ntpdate_program and xntpd_program.
Backout last change, now we have again named_program, sorry.


# 86e0adfe 06-May-1998 Andreas Klemm <andreas@FreeBSD.org>

document ntpdate_prog and xntpd_prog
fix: named_program -> named_prog to reflect "real life"
(I suggest keeping this shorter name convention as it is
actually used in the config file)


# 252ba33d 18-Apr-1998 Brian Somers <brian@FreeBSD.org>

Add natd support.
PR: 6339
Submitted by: cdillon@wolves.k12.mo.us


# aaf1f16e 12-Mar-1998 Philippe Charnier <charnier@FreeBSD.org>

.Sh AUTHOR -> .Sh AUTHORS according to mdoc specs.
Use .An/.Aq.


# 76a43cd8 09-Mar-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Document rarpd flags.


# 4d79c8ef 08-Mar-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Typo fixes.
PR: 5951
Submitted by: Doug <Studded@dal.net>


# e8ec9207 07-Mar-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Documented moused flags.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>


# 6d39437f 16-Feb-1998 Guido van Rooij <guido@FreeBSD.org>

Document new variables forward_sourceroute and accept_sourceroute. While
we're at it: also document the already existing arpproxy.


# d2fc2bd0 04-Feb-1998 Garrett Wollman <wollman@FreeBSD.org>

Mention nameD_program.


# 936b0c30 27-Dec-1997 Steve Price <steve@FreeBSD.org>

Document the new ldconfig_paths variable.

PR: 5178
Submitted by: Evan Champion <evanc@synapse.net>


# 6293b399 26-Dec-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Update moused docs.

Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>


# 71116d98 23-Dec-1997 Alexander Langer <alex@FreeBSD.org>

Added cross references for apm, cron, inetd, lpd, moused, mrouted,
nfsd, nfsiod, portmap, rpc.lockd, rpc.statd, syslogd, tickadj, and
ypbind.


# 0c96ca09 16-Nov-1997 Steve Price <steve@FreeBSD.org>

Document the new clear_tmp_enable option in the manpage.

Prodded by: max


# 5a583f9c 07-Nov-1997 Sean Eric Fagan <sef@FreeBSD.org>

Allow the system to be configured to pass "-n" to kerberos and
kadmind or not; also, only run kadmind on a non-slave server. Man
page for rc.conf is also updated.

Reviewed by: Mark Murray


# 25f631bf 02-Nov-1997 John Polstra <jdp@FreeBSD.org>

Describe "mrouted_flags".


# 5cf07307 20-Oct-1997 Daniel O'Callaghan <danny@FreeBSD.org>

Make rc.conf man page reflect reality w.r.t firewall_{*}.


# bceb8aed 29-Sep-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross refereces in section SEE ALSO.


# c58afa56 11-Sep-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

D'oh! It works better if you remember to cvs add the file first! ;)