Commit Graph

212 Commits

Author SHA1 Message Date
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
Dima Dorfman
6829f0a31e mdoc(7) police: remove hard sentence breaks and wrap lines over 80
characters.
2001-07-24 09:20:37 +00:00
Dima Dorfman
ccec65a5f4 Fix or add types where appropriate. 2001-07-24 09:19:58 +00:00
Dima Dorfman
bfa032debd Improve markup.
Reviewed by:	ru
2001-07-24 08:48:50 +00:00
Hellmuth Michaelis
7d3c25f718 change the default for isdn_fsdev to NO.
PR:             26818
Submitted by:   Clement Ballabriga <clement@asso.ups-tlse.fr>
2001-07-23 14:28:36 +00:00
Dima Dorfman
72888a7d6c 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.
2001-07-23 10:25:38 +00:00
Dima Dorfman
6016261a3b Consistently capitalize the first letter of the first word in the
variable descriptions.
2001-07-23 10:20:35 +00:00
Dima Dorfman
9b33d39fd5 Document syslogd_program and inetd_program. 2001-07-23 10:06:59 +00:00
Peter Pentchev
1d17292c23 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
2001-07-17 14:33:52 +00:00
Ruslan Ermilov
a956b43d66 mdoc(7) police: fixed markup. 2001-07-04 15:19:52 +00:00
Dima Dorfman
a910f192bb Remove duplicate words. 2001-06-24 01:34:38 +00:00
Maxim Sobolev
000d56193c Fix cross-references:
xntpd.8 --> ntpd.8
acl_delete_perms.3 --> acl_delete_perm.3
getname.2 --> getsockname.2

MFC after:	1 week
2001-06-10 12:06:54 +00:00
Maxim Sobolev
8657581bfd Correct cross-reference:
portmap.8 --> rpcbind.8

Submitted by:	.Xr testing script
2001-06-07 16:59:19 +00:00
Maxim Sobolev
76c6864951 Fix cross-references:
ipnat.8 --> ipnat.1
  environ.5 --> environ.7
  isssetugid.2 --> issetugid.2

MFC after:	1 week
2001-06-05 12:23:22 +00:00
Poul-Henning Kamp
849f35cf88 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
2001-06-03 20:02:03 +00:00
David E. O'Brien
fdec774ff3 RFC 1323 (TCP extensions) is now on by default. 2001-05-25 04:27:48 +00:00
Dima Dorfman
692bb1c3bb 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
2001-05-22 00:05:48 +00:00
Ruslan Ermilov
a289e937e3 mdoc(7) police: sort xrefs. 2001-05-15 15:57:05 +00:00
Jens Schweikhardt
b2be78381d 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
2001-05-14 20:51:10 +00:00
Dima Dorfman
dad32714ad Document allscreens_kbdflags.
Reviewed by:	ru
2001-04-28 20:57:26 +00:00
Dima Dorfman
344553425e mdoc(7) police: use .Va and .Vt where appropriate
Reviewed by:	ru
2001-04-28 20:51:23 +00:00
Ruslan Ermilov
a0247c8a14 mdoc(7) police: removed hard sentence breaks. 2001-04-27 10:27:06 +00:00
Jens Schweikhardt
67e99a1a66 Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob!
PR:		conf/24865
Submitted by:	schweikh
Reviewed by:	hm
2001-04-24 20:00:58 +00:00
Andrey A. Chernov
f1930dce8f Fix typo in mousechar range 2001-04-21 16:28:29 +00:00
Andrey A. Chernov
5199f8b803 Describe mousechar_start hook 2001-04-19 14:55:32 +00:00
Ruslan Ermilov
eb0838029f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
Ruslan Ermilov
7e3ba257a8 vnconfig(8) -> mdconfig(8). 2001-04-10 16:29:41 +00:00
Bruce A. Mah
ddda68fb0d 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
2001-04-04 16:48:57 +00:00
Dag-Erling Smørgrav
cc084f7587 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)
2001-03-19 22:07:32 +00:00
Ruslan Ermilov
c2d03ea879 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
Kris Kennaway
dd76c70387 Typo fixes: prefered -> preferred
There are some others in contributed/external code I haven't touched.
2001-02-20 10:30:22 +00:00
Doug Barton
385a585a4b Introduce the option of running fsck -y if the initial preen fails.
Defaults to off.

Obtained from:	Yahoo!
2001-02-05 04:54:42 +00:00
Doug Barton
f8c1282a0b 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>
2001-01-21 20:57:38 +00:00
Ruslan Ermilov
e207e465df Prepare for mdoc(7)NG. 2001-01-16 09:32:40 +00:00
Ruslan Ermilov
3136363f3e Prepare for mdoc(7)NG. 2000-12-29 09:18:45 +00:00
Ben Smithurst
97948d2dee fix typos.
PR:		23934
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2000-12-29 01:58:47 +00:00
Ruslan Ermilov
d7b336c076 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:47:53 +00:00
MIHIRA Sanpei Yoshiro
33eb563d67 add PC-Card melody beep(PC Card bus, kludge version)
Original idea from:	PAO3
2000-10-28 13:35:34 +00:00
Darren Reed
7a76642f3c 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>
2000-10-06 12:24:45 +00:00
Sheldon Hearn
803516cb70 Mention pccard_beep.
Requested by:	sanpei
2000-10-05 07:22:58 +00:00
Brian Somers
944fae23f3 Add a unaligned_print option (alpha only)
Document osf1_enable

Submitted by:	Eric D. Futch <efutch@nyct.net>
PR:		21649
2000-10-04 18:58:46 +00:00
Sheldon Hearn
26007eb801 Document ibcs2_loaders and provide a default for it in
etc/defaults/rc.conf .
2000-08-18 09:37:50 +00:00
John Polstra
30a77b76ff 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
2000-08-11 17:15:37 +00:00
John Polstra
297bb90667 Describe ldconfig_insecure. 2000-08-11 04:20:30 +00:00
Brian Somers
e2323071e6 Allow a ppp_user specification to run ppp at startup
PR:		20258
2000-08-10 00:13:02 +00:00
Sheldon Hearn
8ca01badb9 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.
2000-07-03 12:56:00 +00:00
Jeroen Ruigrok van der Werven
83734e47d3 Fix up typo.
Add description of sshd_program variable.

Submitted by:	Ashley Penney <ashp@unloved.org>,
		Adrian Chadd <adrian@freebsd.org>
2000-07-03 12:34:27 +00:00
Sheldon Hearn
ad61de5c4e The rand_irqs variable was removed in rev 1.67 of rc.conf. Remove it
from the documentation also.
2000-06-26 08:29:47 +00:00
Brian Somers
f3e285ba7d 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
2000-06-23 01:18:31 +00:00
Brian Somers
64e475537d Document $clear_daily_* 2000-06-09 17:07:59 +00:00
Sheldon Hearn
123b196a08 Fix nits in previous commit: hard sentence break and grammar. 2000-05-09 08:09:31 +00:00
Andrey A. Chernov
66d95f178a Describe firewall_logging option 2000-05-08 21:10:33 +00:00
Dag-Erling Smørgrav
6e124cb076 Fix language in description of firewall_script.
Submitted by:	sheldonh
2000-04-27 10:41:53 +00:00
Dag-Erling Smørgrav
c1ebbb06ed Document firewall_script 2000-04-27 09:10:53 +00:00
Brian S. Dean
ee4619f2a7 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>
2000-04-27 00:48:59 +00:00
Brian S. Dean
4d5787a2ba Update the man page regarding the behaviour for the ${firewall_type}
variable.

Reminded by: Ruslan Ermilov <ru@FreeBSD.org>
2000-04-17 12:48:29 +00:00
Matthew Dillon
8d1b3828fa 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
2000-03-27 21:38:35 +00:00
Sheldon Hearn
1111b49c35 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.
2000-03-03 14:05:08 +00:00