Commit Graph

269 Commits

Author SHA1 Message Date
Simon L. B. Nielsen
64785dbd46 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
2004-07-18 18:01:48 +00:00
Ruslan Ermilov
5203edcdc5 Mechanically kill hard sentence breaks and double whitespaces. 2004-07-03 18:29:24 +00:00
Brian Feldman
da6400271b Document rc.conf's "keyboard" directive.
Reminded by: dougb
2004-06-19 00:18:13 +00:00
Bruce M Simpson
54514724de 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
2004-06-18 01:28:33 +00:00
Ruslan Ermilov
bf7f20c2b6 Assorted markup, spelling, and grammar fixes. 2004-06-16 08:33:57 +00:00
Simon L. B. Nielsen
18f00b8a19 Bump manual page date for last update.
Suggested by:	ru
2004-04-28 23:16:06 +00:00
Simon L. B. Nielsen
a8abffed54 - Update description of watchdogd_enable to reflect current reality.
- Document watchdogd_flags.
2004-04-25 17:13:22 +00:00
Wes Peters
69b11e006b Document new ramdisk_X_????? settings. 2004-04-04 06:34:37 +00:00
Max Laier
042d501cc7 Style:
- do not comment out entries in newsyslog.conf
 - use tabs to line up inetd.conf

Requested by:	bde
Approved by:	bms(mentor)
2004-04-03 17:52:29 +00:00
Max Laier
6cd9ebedd7 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)
2004-04-02 19:25:27 +00:00
Dag-Erling Smørgrav
e764373e96 Bump date and remove trailing whitespace. 2004-03-30 15:11:16 +00:00
Dag-Erling Smørgrav
20baa54f6b Document ntpdate_hosts. 2004-03-30 15:10:39 +00:00
Brooks Davis
3e091039ee 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
2004-03-23 23:22:35 +00:00
Max Laier
1f4408f321 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)
2004-03-23 22:30:15 +00:00
Doug Barton
0a54defb08 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
2004-03-14 19:10:06 +00:00
Mike Makonnen
901912aa26 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
2004-03-04 08:25:53 +00:00
Dag-Erling Smørgrav
ede2304406 Whitespace nit. 2004-02-03 11:27:34 +00:00
Dag-Erling Smørgrav
607b5a9109 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
2004-02-03 11:26:08 +00:00
Sergey Babkin
fb43f32be9 Documented the new parameter cron_dst. 2003-12-26 03:41:27 +00:00
Christian Brueffer
3c33520372 Add a missing 'the' 2003-11-10 16:04:48 +00:00
Doug Barton
ea39e8caa9 Add a default setting of NO for the gbde auto attach script, and
document the options.
2003-09-18 09:59:37 +00:00
Maxim Konovalov
9740d06384 o Fix a typo in rev. 1.196: ifconfig 9 -> ifconfig 8.
PR:		docs/56488
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
2003-09-05 11:43:18 +00:00
Ceri Davies
f945ca51dc Remove a stray ".Xr rtadvd 8" that snuck in in the middle of a sentence. 2003-08-15 17:20:40 +00:00
Hartmut Brandt
8b296e19bd 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
2003-08-14 15:27:32 +00:00
Martin Blapp
d5c7aa4acc Dhclient can't block anymore during startup. Document
the 'background_dhclient' better.
2003-07-28 13:56:00 +00:00
Hartmut Brandt
c5670cc3b1 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)
2003-07-28 13:30:42 +00:00
Martin Blapp
2b23ce1c07 Document background_dhclient. 2003-07-28 08:17:08 +00:00
Sean Kelly
dbfaa8c5d3 Add documentation for watchdogd_enable setting.
Approved by:	jeff (mentor)
2003-06-28 04:57:38 +00:00
Mike Makonnen
da02c8c47e Catch up man page with reality in rc.d/named.
Pointed out by:	Simon L. Nielsen <simon@nitro.dk>
2003-06-14 22:43:40 +00:00
Philippe Charnier
55241cdbe7 Remove reference to deprecated xtend(8) 2003-06-08 13:31:38 +00:00
Mike Makonnen
d679c13014 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>
2003-06-07 10:31:17 +00:00
Ruslan Ermilov
09f84dd1d3 Assorted mdoc(7) fixes. 2003-06-02 15:02:06 +00:00
Gordon Tetlow
c94887be10 Document netfs_types. 2003-06-02 04:51:55 +00:00
Ruslan Ermilov
c8185672b2 Assorted mdoc(7), grammar, spelling, and punctuation fixes.
Approved by:	re (blanket)
2003-05-21 15:49:01 +00:00
Ruslan Ermilov
aba60fa66b Fixed troff(1) and mdoc(7) warnings.
Approved by:	re (blanket)
2003-05-18 21:05:22 +00:00
Murray Stokely
5add5cc474 Remove man page reference for gated, as it isn't in the base system
nor is it available from the ports tree.
2003-05-04 06:17:38 +00:00
Warner Losh
8b3e7e90f2 xtend rc.conf variables are gone.
Noticed by: bde
2003-05-01 16:17:04 +00:00
Mark Murray
aab6741f7e More factual updates for kerberos 5. 2003-04-30 21:15:41 +00:00
Tom Rhodes
2d93d309a7 Use .Pa for the pccard_ether file.
s/spppconfig/spppcontrol/

Submitted by:	"Simon L. Nielsen" <simon@nitro.dk>
2003-04-22 18:53:14 +00:00
Mike Makonnen
600b20796f Add new knobs for controlling jails in rc.d and document them.
Approved by:	makrm (mentor)
2003-04-16 16:29:51 +00:00
Tom Rhodes
c1e3a71e35 Catch this file up with rc.conf(5).
Submitted by:	Simon L. Nielsen <simon@nitro.dk> (original version)
2003-04-15 21:48:40 +00:00
Giorgos Keramidas
e40f1e0cb6 Fix typo in the version of the diff that I committed.
Submitted by:	Simon L. Nielsen <simon@nitro.dk>
2003-03-26 17:32:45 +00:00
Giorgos Keramidas
2524b0b29b Document mountd_flags.
PR:		50023
Submitted by:	Simon L.Nielsen <simon@nitro.dk>
2003-03-26 01:39:29 +00:00
Crist J. Clark
5d75ba3db9 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.
2003-03-17 23:15:53 +00:00
Giorgos Keramidas
a1ceffbc22 Document keybell="" switch and refer to kbdcontrol(1) for details. 2003-02-28 22:07:19 +00:00
Ceri Davies
fc30e07a2d The nfs_privport variable doesn't exist - mention nfs_reserved_port_only
instead.

Approved by:	murray (mentor)
MFC After:	2 days
2003-02-18 18:02:32 +00:00
Hiroki Sato
ac304f2d0d Improve the wording.
Reviewed by:	ru
2003-02-15 04:03:25 +00:00
Hiroki Sato
e245c21ecc Document start_if.${ifn} scripts.
Not objected to by:	-doc
2003-02-13 20:08:11 +00:00
Gregory Neil Shapiro
1e30d929a4 Correct the man page for nfs_bufpackets. DEFAULT is not an acceptable
value.

PR:		conf/31280
MFC after:	3 days
2003-02-08 20:59:16 +00:00
Mike Makonnen
b57e4880c2 Kill whitespace at EOL.
Approved by: markm (mentor)
Noticed by:  ru
2003-01-19 01:49:31 +00:00
Mike Makonnen
69808e534d 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)
2003-01-14 15:50:17 +00:00
Jens Schweikhardt
57bd0fc6e8 english(4) police. 2002-12-27 12:15:40 +00:00
Ruslan Ermilov
0f918c9781 mdoc(7) police: markup nits. 2002-12-23 15:00:56 +00:00
Kirk McKusick
123a5dff98 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.
2002-12-18 07:21:31 +00:00
Ruslan Ermilov
8d5d039f80 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
d962d52ac0 mdoc(7) police: scheduled sweep.
Approved by:	re
2002-11-29 11:39:20 +00:00
Warner Losh
e8ef497c66 Document devd_enable.
Submitted by: dougb
2002-11-10 09:19:42 +00:00
Gordon Tetlow
e99a17fb92 Update rc.conf.5 man page to reflect bootparamd_enable and _flags 2002-09-05 20:19:03 +00:00
Hellmuth Michaelis
2455cd9ea2 document options for integrating pcvt configuration into the new /etc/rc.d
startup system.
2002-08-30 12:44:44 +00:00
Gordon Tetlow
806fb7f53b Update manpage to reflect reality:
xntpd -> ntpd
single_mountd_enable -> mountd_enable
portmap -> rpcbind
2002-08-19 17:57:38 +00:00
Giorgos Keramidas
b3e9028c87 Document savecore_flags.
PR:		docs/35967
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-07-15 02:21:44 +00:00
Gregory Neil Shapiro
619b80c4e6 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
2002-04-05 02:30:49 +00:00
Gregory Neil Shapiro
079f9ac4c7 Add an entry for sendmail_submit_flags. 2002-03-28 15:14:56 +00:00
Gregory Neil Shapiro
4bfef13db0 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
2002-03-28 03:29:22 +00:00
Ruslan Ermilov
b615e3aa11 mdoc(7) police: tidy up. 2002-03-17 14:52:54 +00:00
Jens Schweikhardt
129c0ad77a Typo: s/Kensignton/Kensington/
MFC after:	3 days
2002-03-16 17:40:38 +00:00
Robert Watson
23ed9ff689 Document the "lomac_enable" rc.conf switch.
Reminded by:	Makoto Matsushita <matusita@jp.FreeBSD.org>
2002-03-13 15:28:37 +00:00
Crist J. Clark
1e1d598496 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
2002-03-11 08:47:02 +00:00
Dima Dorfman
00805a5267 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>
2002-03-03 02:02:33 +00:00
Crist J. Clark
29c0f078e2 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
2002-02-20 10:31:01 +00:00
Gregory Neil Shapiro
feb15b97ab 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.
2002-02-17 22:19:14 +00:00
Crist J. Clark
f44609fe71 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
2002-01-26 09:05:13 +00:00
Mike Pritchard
8edd27f18f Fix spelling errors. 2002-01-21 10:28:18 +00:00
Ruslan Ermilov
491a842962 yp(4) -> yp(8).
PR:		docs/30797
2002-01-14 16:59:03 +00:00
Ruslan Ermilov
217baf9cbc mdoc(7) police: tidy up markup. 2002-01-09 15:56:21 +00:00
Sheldon Hearn
4a8eeedbb1 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'.
2001-12-29 19:42:55 +00:00
Sheldon Hearn
d7fb353a43 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.
2001-12-27 13:41:27 +00:00
Brooks Davis
601404ecef Better document gif interface cloning intrastructure.
MFC After:	2 days
2001-12-14 22:55:10 +00:00
Ruslan Ermilov
3e5ea28565 mdoc(7) police:
- Avoid using second person.
- Remove whitespace at EOL.
2001-12-07 10:27:43 +00:00
Darren Reed
2129325c09 second part of the patches to complete ipf changes to rc
PR:		multiple
Submitted by:	Arjan de Vet <devet@devet.org>
2001-11-24 15:36:30 +00:00
Dima Dorfman
bdb28ff4ac Correct typo.
PR:		32066
Submitted by:	Peter Avalos <pavalos@theshell.com>
2001-11-18 00:33:12 +00:00
Giorgos Keramidas
62ec3f2fb0 Typo correction: detailled -> detailed.
Approved by:	nik
2001-11-02 14:59:51 +00:00
Ruslan Ermilov
caefee99b6 Remove references to nfsiod(8) and nfs_client_flags
now that they are obsolete.
2001-10-23 10:31:52 +00:00
Dag-Erling Smørgrav
4a7fc8131d Document the dumpdir variable, and write a better description of the dumpdev
variable.

MFC:	1 week
2001-10-10 00:45:52 +00:00
Ruslan Ermilov
61d788b647 mdoc(7) police: markup and spelling nits. 2001-10-01 13:24:18 +00:00
Brooks Davis
40995998c5 Add a new rc.conf variable, cloned_interfaces, to create cloned
interfaces at boot.
2001-09-19 21:27:27 +00:00
Warner Losh
8dac8c268d 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.
2001-09-13 06:18:07 +00:00
David E. O'Brien
cb2fb6f378 Remove more vestages of diskcheckd, which is now in ports/sysutils. 2001-08-29 05:39:07 +00:00
Ruslan Ermilov
265c01df49 mdoc(7) police: Fixed broken xrefs. 2001-08-22 14:16:31 +00:00
Ruslan Ermilov
cd81415306 Zap reference to tickadj(8). Forgotten in rev. 1.24. 2001-08-22 10:05:39 +00:00
Dima Dorfman
980939b1a8 Do not use contractions where they aren't necessary, use "host"
instead of "computer", and clean up some confusing sentences.

Submitted by:	sheldonh
2001-08-21 19:39:01 +00:00
Dima Dorfman
bed6a37708 Shoot (and kill) the second person with a high-powered rifle. 2001-08-20 01:02:05 +00:00
Dima Dorfman
a35671c197 There is no "(integer)" type; it's called "(int)".
PR:		20749
Submitted by:	Ralf S. Engelschall <rse@engelschall.com>
2001-08-20 00:29:23 +00:00
Dima Dorfman
05c1a26884 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>
2001-08-20 00:28:30 +00:00
Dima Dorfman
d634b35fa7 Mark up IPFIREWALL in .Dv. 2001-08-20 00:10:42 +00:00
Sheldon Hearn
cc00d33c5f 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.
2001-08-16 09:14:09 +00:00
Ruslan Ermilov
57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Maxim Sobolev
5d25d75662 Fix xrefs.
times.3:	gettimeofday(3) --> gettimeofday(2)
rc.conf.5:	isndn(8)	--> isdnd(8)
		idsnd(8)	--> isdnd(8)

MFC after:	2 weeks
2001-08-09 15:46:53 +00:00
Ruslan Ermilov
6575e6daae mdoc(7) police: expand plain text xrefs. 2001-08-08 11:48:28 +00:00
Ruslan Ermilov
c4d9468ea0 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.
2001-08-07 15:48:51 +00:00