Commit Graph

498 Commits

Author SHA1 Message Date
Mike Barcroft
995f177eac Remove types(5). It is of little use to have a manual with only the
contents of a header.  It is of even less use when its contents are
stale.
2002-04-06 07:18:46 +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
Poul-Henning Kamp
68afb5a528 Point to the correct #include file. 2002-04-01 20:03:05 +00:00
Gregory Neil Shapiro
079f9ac4c7 Add an entry for sendmail_submit_flags. 2002-03-28 15:14:56 +00:00
Dima Dorfman
82d0caaef1 mdoc(7) police: remove whitespace at EOL. 2002-03-28 12:57:48 +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
Murray Stokely
4ad8d4f520 Add drivers.conf.5 to the build. 2002-03-27 06:38:43 +00:00
Murray Stokely
228d430565 Capitalize mfsroot consistently.
Submitted by:	dd
2002-03-27 06:38:25 +00:00
Murray Stokely
a58ab1d96d A new man page describing the drivers.conf configuration file that
specifies which kernel options should be removed from the boot kernel
(kern.flp) and loaded as modules from the mfsroot.flp.

Reviewed by:	ru, dd
2002-03-26 10:41:20 +00:00
Dag-Erling Smørgrav
fe9c2732d1 Actually install the moduli(5) man page. 2002-03-22 20:29:26 +00:00
Dag-Erling Smørgrav
575abac10a /etc/moduli -> /etc/ssh/moduli 2002-03-21 21:54:17 +00:00
Dag-Erling Smørgrav
99a0916ca1 This commit was generated by cvs2svn to compensate for changes in r92899,
which included commits to RCS files with non-trunk default branches.
2002-03-21 21:47:20 +00:00
Dag-Erling Smørgrav
323b03c5e9 Import OpenBSD's moduli(5) man page 2002-03-21 21:47:20 +00:00
Ruslan Ermilov
7a43a96ab0 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
Ruslan Ermilov
b615e3aa11 mdoc(7) police: tidy up. 2002-03-17 14:52:54 +00:00
Ruslan Ermilov
bc37fc267d mdoc(7) police: fix a typo in rev. 1.36 and markup nit in rev. 1.37. 2002-03-17 13:14:14 +00:00
Ruslan Ermilov
0f3ac37e8a mdoc(7) police: misc fixes. 2002-03-17 13:09:35 +00:00
Jens Schweikhardt
f1d353ec65 Typo: s/authoritive/authoritative/ 2002-03-16 18:00:44 +00:00
Jens Schweikhardt
129c0ad77a Typo: s/Kensignton/Kensington/
MFC after:	3 days
2002-03-16 17:40:38 +00:00
Mark Murray
589622caaa Document NO_PERL. 2002-03-16 15:14:41 +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
Gregory Neil Shapiro
474c81fdd8 Document new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
2002-02-17 22:10:06 +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
Sheldon Hearn
b815993d75 Mark daily_news_expire_enable as a variable, not a path. 2002-01-17 10:35:48 +00:00
Ruslan Ermilov
491a842962 yp(4) -> yp(8).
PR:		docs/30797
2002-01-14 16:59:03 +00:00
Ruslan Ermilov
a9f5209e39 mdoc(7) police: tidy up previous delta. 2002-01-09 16:09:00 +00:00
Ruslan Ermilov
217baf9cbc mdoc(7) police: tidy up markup. 2002-01-09 15:56:21 +00:00
Ruslan Ermilov
63122b7f15 mdoc(7) police: variables are marked with the general purpose .Va macro. 2002-01-09 15:43:07 +00:00
Nik Clayton
53d3620b6a Note that kern.sugid_coredump must be 1 to generate a core from processes
that change their credentials.

PR:		docs/21712
Submitted by:	Peter Philipp <pjp@click2net.com>
2002-01-09 13:16:26 +00:00
Sheldon Hearn
1c2941b241 Now that automatic mounting of network filesystems is delayed until
network startup, remove the warning about automatic mounts.
2001-12-29 19:44:10 +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
Robert Watson
c9686721ef o sysctl.conf cannot be used to set sysctls that are present in
unloaded kernel modules.  Remove the example linux compat sysctls
  because they break if the linux emulator is loaded as a module, rather
  than compiled in.  Add a BUGS entry indicating as much.

Reported by:	jack <jack@germanium.xtalwind.net>
MFC after:	3 days
2001-12-24 20:18:45 +00:00
Ruslan Ermilov
3a289cbae7 Document MODULES_OVERRIDE.
PR:		docs/32560
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-12-24 19:34:33 +00:00
Sheldon Hearn
bb522200e9 Recommend the use of 'noauto' for all remote filesystems other than
NFS, so that rc(8) doesn't choke on them when it tries to mount
them before the network is initialized.
2001-12-20 17:07:04 +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
e21a315ec5 s/sysctl -w/sysctl/ 2001-12-11 08:29:10 +00:00
Ruslan Ermilov
ec3feddf7a mdoc(7) police: sort xrefs. 2001-12-08 16:43:24 +00:00
Crist J. Clark
2204f3ce42 Long ago, there was just /etc/daily. Then /etc/security was split out
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.

Reviewed by:	ru
Approved by:	ru
2001-12-07 23:57:39 +00:00
Ruslan Ermilov
3e5ea28565 mdoc(7) police:
- Avoid using second person.
- Remove whitespace at EOL.
2001-12-07 10:27:43 +00:00
Dag-Erling Smørgrav
0787ae7db8 Add cross-reference to pseudofs(9). 2001-12-04 14:28:26 +00:00
Ruslan Ermilov
5f7bea5c07 Fixed two typos.
PR:		docs/32327
Submitted by:	Frans Haarman <frans@haarman.com>
2001-11-27 11:33:32 +00:00
Dima Dorfman
97f9239dbb Remove a stale list of supported filesystems. If we do need a list of
filesystems somewhere, it probably shouldn't be here, and we should
make a better effort to keep it updated.
2001-11-24 21:19:46 +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
Ruslan Ermilov
eb8c09f97f mdoc(7) police: bump document date, fix markup. 2001-11-21 11:36:23 +00:00
Ruslan Ermilov
0594f3d2e5 mdoc(7) police: Fix markup. 2001-11-20 16:18:21 +00:00
Dima Dorfman
bdb28ff4ac Correct typo.
PR:		32066
Submitted by:	Peter Avalos <pavalos@theshell.com>
2001-11-18 00:33:12 +00:00
Yaroslav Tykhiy
54c9dd6d12 Rework the utmp(5) page:
o Fix a number of wrong statements
o Clarify the structure of the files and the C structures theirselves
o Add cross-references to login(3), logout(3), logwtmp(3)

MFC after:	1 month
2001-11-14 05:03:37 +00:00
Giorgos Keramidas
62ec3f2fb0 Typo correction: detailled -> detailed.
Approved by:	nik
2001-11-02 14:59:51 +00:00
Robert Watson
4983b09404 o Modify format of /etc/fbtab to accept glob matching patterns for
target devices, not just individual devices and directories.  This
  permits activities such as:

	ttyv0		0600	/dev/dsp*

  Whereas previously that was not supported.  This change is
  backwards-compatible, except where device names included globbing
  characters, which is not the case for any devices listed in MAKEDEV.

Submitted by:	Maxime Henrion <mux@qualys.com>
MFC after:	3 weeks
2001-10-25 20:45:47 +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
Ruslan Ermilov
4a70bdf9f6 mdoc(7) police: join OS version with the corresponding macro. 2001-10-19 14:44:13 +00:00
Yaroslav Tykhiy
397fa0d94b Add missing section number to a cross-reference to login(1).
MFC after:	3 days
2001-10-11 11:29:37 +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
d1d5d9240a mdoc(7) police: fix markup. 2001-10-08 10:12:41 +00:00
Kazutaka YOKOTA
3fcd5f6c30 Add man page for device.hint(5). 2001-10-08 05:37:56 +00:00
Ruslan Ermilov
32eef9aeb1 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
Ruslan Ermilov
61d788b647 mdoc(7) police: markup and spelling nits. 2001-10-01 13:24:18 +00:00
Kris Kennaway
c3aa3459b1 Oops, another obsolete UUCP knob 2001-10-01 08:29:58 +00:00
Kris Kennaway
9c1532a40f Note removal of UUCP periodic maintenance knobs 2001-10-01 08:28:28 +00:00
Ruslan Ermilov
33c3bd0ab5 Document COMPAT4X. 2001-09-22 08:21:56 +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
Ruslan Ermilov
1ca805f249 mdoc(7) police: sort FILES. 2001-09-04 09:59:56 +00:00
Alexander Langer
d33a962d07 Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf as
discussed on the arch@ mailinglist (after repo-copy).

sys.mk will .error if it finds /etc/defaults/make.conf but include
it anyways (this is the same behaviour as with the make.conf.local
removal).

/usr/share/examples/etc/make.conf has BDEFLAGS commented out now,
since it's only an example file.

Adjust all textes that talk about make.conf or defaults/make.conf to
match the new situation.
2001-08-30 22:44:51 +00:00
Alexander Langer
5fe122dadb Nuke all ports related options. This file has to be re-edited once
the ports-team has decided about the ports.conf issue.
2001-08-30 21:40:55 +00:00
Valentino Vaschetto
e07904339d Corrected a typo.
Submitted by:	Seth Kingsley <seth.kingsley@windriver.com>
Approved by:	murray
2001-08-30 21:12:35 +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
Robert Watson
a454b0d3cb o Note that the ASU accounting flag has now been deprecated.
Submitted by:		tmm
Obtained from:	TrustedBSD Project
2001-08-25 14:55:57 +00:00
Dima Dorfman
e52710be25 The name of the kernel really isn't KERNEL now.
Submitted by:	setantae@submonkey.net
2001-08-23 21:17:28 +00:00
Jordan K. Hubbard
061cae1b42 The name of the kernel is KERNCONF, not KERNEL now. 2001-08-22 23:43:19 +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
Dima Dorfman
d489ec12ce When discussing optimization levels, don't put the compiler options in
.Op.  None of the other manual pages do it when discussing options in
the main text, so this one shouldn't, either.  Also, use .Pq instead
of another odd constructhyphenation isn't an issue here, since it's
desireable to have the contents of that digression appear together,
and it's already in another macro, anyway).
2001-08-17 21:42:15 +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
30b39270d0 mdoc(7) police: markup nits. 2001-08-16 07:50:54 +00:00
David E. O'Brien
d549989694 Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
value, it forces GCC to not optimize above this level.  For intance, GCC
made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the
Alpha platform when building ports.
2001-08-16 06:05:18 +00:00
Ruslan Ermilov
59322008fb mdoc(7) police: removed final dot from the .Nd call. 2001-08-14 11:58:07 +00:00
Ruslan Ermilov
753d686d34 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
Ruslan Ermilov
ed2879a5cf mdoc(7) police: s;BSD/OS;.Bsx; where appropriate. 2001-08-13 17:07:40 +00:00
Ruslan Ermilov
d013e3f544 mdoc(7) police: s/NetBSD/.Nx/ where appropriate. 2001-08-13 17:00:36 +00:00
Ruslan Ermilov
c5e7e03a14 Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
Ruslan Ermilov
94ba280c59 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +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
Sheldon Hearn
42abf713c9 can not -> cannot 2001-08-08 18:32:06 +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
Ruslan Ermilov
01f7263205 mdoc(7) police: markup nits. 2001-08-07 13:26:57 +00:00
George C A Reid
8e6d7b291d Fix thinko: FORCE_PKG_RESIDENT -> FORCE_PKG_REGISTER
Submitted by:	Raymond Kohler <ray.kohler@mail.com>
2001-08-02 04:25:06 +00:00