Commit Graph

856 Commits

Author SHA1 Message Date
Christian Brueffer
d54a903a81 Correct the meaning of the NO_SHARED knob.
MFC after:	3 days
2006-02-10 14:19:07 +00:00
Florent Thoumie
b03bfd3552 - Add a startup script for hostapd.
- Document associated variable in rc.conf(5).

Approved by:	dougb
MFC after:	1 week
2006-02-03 01:35:36 +00:00
Joel Dahl
fbf9b468d5 Expand contractions. 2006-02-01 14:33:14 +00:00
Christian Brueffer
21456d2f1b Document the daily_status_ata_raid_enable and daily_status_gmirror_enable
variables.
2006-01-31 19:14:28 +00:00
Giorgos Keramidas
2882d87e08 Add more details about enabling a custom ruleset for /dev in `rc.conf',
and add ruleset labels/numbering to the custom ruleset example.

PR:		docs/90362
Submitted by:	Roland Smith <rsmith@xs4all.nl>
MFC after:	3 days
2006-01-30 13:28:28 +00:00
Yaroslav Tykhiy
44255c5519 Add a couple of obviously missing xrefs to SEE ALSO:
ftpd(8), geli(8).
2006-01-29 13:35:35 +00:00
Joseph Koshy
3d425b66e4 Note that options are set using sh(1) syntax.
MFC after:	3 days
2006-01-27 02:46:08 +00:00
Yaroslav Tykhiy
24c307eac7 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
2006-01-21 18:08:16 +00:00
Ceri Davies
81adede9a3 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
2006-01-21 13:52:45 +00:00
Doug Barton
b0c77a9ef1 Mention that NETWORKING is probably the right value for
early_late_divider in a jail.

Add an explcit Xr for jail(8)
2006-01-13 01:09:55 +00:00
Florent Thoumie
a5b2ea4f98 Bump .Dd date after latest changes.
Approved by:	simon
2006-01-08 13:20:57 +00:00
Doug Barton
dfdae5534f 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
2006-01-08 10:15:31 +00:00
Ralf S. Engelschall
66c6b32654 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
2005-12-29 13:39:46 +00:00
Doug Barton
aa5affaf3b 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).
2005-12-20 20:36:48 +00:00
Doug Barton
ea871df08c 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
2005-12-19 10:57:00 +00:00
Marcel Moolenaar
5bc7a7305b Update the date. Forgotten in previous commit. 2005-12-19 01:51:17 +00:00
Marcel Moolenaar
757686b115 Make our ELF64 type definitions match standards. In particular this
means:
o  Remove Elf64_Quarter,
o  Redefine Elf64_Half to be 16-bit,
o  Redefine Elf64_Word to be 32-bit,
o  Add Elf64_Xword and Elf64_Sxword for 64-bit entities,
o  Use Elf_Size in MI code to abstract the difference between
   Elf32_Word and Elf64_Word.
o  Add Elf_Ssize as the signed counterpart of Elf_Size.

MFC after: 2 weeks
2005-12-18 04:52:37 +00:00
Ian Dowse
2e46a159cc 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
2005-12-15 01:04:51 +00:00
Doug Barton
57e561c083 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
2005-12-10 20:21:46 +00:00
Ruslan Ermilov
f99d3b7b53 config.5 was repocopied from share/man/man5/ to usr.sbin/config/.
Repocopied by:	peter
2005-12-09 06:46:41 +00:00
David Xu
afcf37b05c Fix markup. 2005-12-05 09:31:23 +00:00
David Xu
ae43b1a8a7 Add document about mqueuefs. 2005-12-05 05:18:23 +00:00
Ruslan Ermilov
198423bd20 Document "makeoption", "nocpu", and "nomakeoptions" directives.
(Indeed this should be repo-copied to src/usr.sbin/config/.)
2005-12-03 20:07:32 +00:00
Maksim Yevmenkin
d19ff8f1d2 Add bluetooth.device.conf(5) man page
MFC after:	3 days
2005-12-02 00:17:33 +00:00
John Baldwin
60bd6d5d5e Remove references to rdist(1) and friends.
Submitted by:	Björn König
2005-11-29 17:07:04 +00:00
Joseph Koshy
6614d15749 Reorder the variable lists on this page alphabetically by make variable
name.

Discussed with:		ru
2005-11-25 14:31:34 +00:00
Joseph Koshy
addbe0bc06 - Move the documentation for the ENABLE_WPA_SUPPLICANT_EAPOL knob to into
the list for 'world' builds.
- Increase the width of a bullet list.
- Use .Ss to name sub-sections of this file.
2005-11-19 12:21:11 +00:00
Ruslan Ermilov
78ad54210f -mdoc sweep. 2005-11-18 10:56:28 +00:00
Brooks Davis
cda39c0193 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>
2005-11-14 23:34:50 +00:00
Jens Schweikhardt
26cd969f5e Correct a grammo and capitalize a few abbreviations. 2005-11-12 21:45:20 +00:00
John Baldwin
518bf2dcc7 Update example libmap.conf file:
- Remove pointless examples that map libpthread to itself.
- Update shared libraries for 6.0 bumps.

Reported by:	rwatson
MFC after:	1 day
2005-10-27 16:59:02 +00:00
Tom Rhodes
bf148c3eaf A better, more correct explination of NO_SHARED. This could probably
use a quick touch up, but at least it's correct.

Requested by:	ru
2005-10-22 10:24:53 +00:00
Bjoern A. Zeeb
33cd26c2ca Document that changes to nsswitch.conf might be needed when
compiling with NO_NIS.

PR:		bin/87221
Reviewed by:	simon
MFC after:	4 weeks
2005-10-12 19:05:22 +00:00
Yaroslav Tykhiy
08b9134350 Replace "/etc/make.conf" with references to make.conf(5)
where applicable.  The main reason for this change is that
the location of make.conf is not constant and can be
modified via __MAKE_CONF.  This change also improves
hyper-text linkage in our manpages.

MFC after:	2 weeks
2005-10-10 14:55:59 +00:00
Yaroslav Tykhiy
253c3c7312 Clarify the usage and effects of sys.mk, make.conf(5), and __MAKE_CONF.
MFC after:	2 weeks
2005-10-10 14:49:55 +00:00
Yaroslav Tykhiy
c8a0dfab83 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
2005-10-02 18:59:02 +00:00
Yaroslav Tykhiy
d11122e73a Add firewall-related xrefs to SEE ALSO. 2005-10-02 08:39:41 +00:00
Yaroslav Tykhiy
f0fdbb10ea Minor clarifications and fixes to wording, grammar, and markup
around ${network_interfaces}.
2005-09-28 13:07:43 +00:00
Ruslan Ermilov
e64bbde9b4 Sort MAN. 2005-09-28 07:31:18 +00:00
Robert Watson
1a51e01115 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
2005-09-20 11:13:28 +00:00
Giorgos Keramidas
a56e23da23 A single `*' character doesn't disable *ANY* form of authentication.
Make sure that this is clearly stated.

Prodded by:	simon, Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
2005-09-19 16:32:27 +00:00
Giorgos Keramidas
36cc06ff31 Explain the use of `*' in master.passwd and that it's slightly
different from the use of `*' in /etc/passwd.

PR:		docs/86234
Submitted by:	Paul Hoffman <phoffman@above.proper.com>
MFC after:	1 week
2005-09-18 15:40:02 +00:00
Ralf S. Engelschall
724447ac41 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
2005-09-15 13:16:07 +00:00
Joel Dahl
9e40ae709f Remove superfluous reference to the FreeBSD handbook.
Approved by:	brueffer (mentor)
2005-09-14 16:32:21 +00:00
Yaroslav Tykhiy
e5b3a11677 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
2005-09-08 09:22:21 +00:00
Colin Percival
ff69e5b71e Teach portsnap how to ignore unwanted parts of the ports tree. A line
of the form "REFUSE foo" in portsnap.conf will result in parts of the
tree matching "^foo" being (a) not extracted by "portsnap extract", (b)
not updated by "portsnap update", and (c) not having any patches or new
ports downloaded by "portsnap fetch" or "portsnap cron". The example
shown in portsnap.conf demonstrates ignoring all the language categories.

As mentioned in portsnap.conf.5, the use of an imcomplete ports tree is
not officially supported; but this is something which many users have
requested, so I'm adding it anyway.

PR:		bin/85619 (but not the patch provided therein)
MFC after:	1 month
2005-09-06 19:28:37 +00:00
Scott Long
78b6525e1e Remove a stale manpage. 2005-08-30 16:14:25 +00:00
Brooks Davis
41f7ee42ae - 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)
2005-08-24 01:23:49 +00:00
Brooks Davis
069dfe8315 Refer to the OpenBSD dhclient instead of the ISC dhclient.
Reported by:	Bob Johnson <bob89 at eng dot ufl dot edu>
PR:		84963
2005-08-18 19:39:27 +00:00
Pawel Jakub Dawidek
b12cfed25c 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
2005-08-14 18:02:22 +00:00
Ceri Davies
2273bbfd7a Correct some grammar. 2005-08-11 10:32:05 +00:00
Warner Losh
3756fc3aaa Document methods people use to load linux shared libraries in FreeBSD
binaries.  A very neat trick.
2005-08-10 21:44:26 +00:00
Colin Percival
6fb01948ee Add portsnap to the base system. This is a secure, easy to use,
fast, lightweight, and generally good way for users to keep their
ports trees up to date.

This is version 0.9.4 from the ports tree (sysutils/portsnap) with
the following changes:
1. The experimental pipelined http code is enabled.  No seatbelts
in -CURRENT. (^_^)
2. The working directory has moved from /usr/local/portsnap to
/var/db/portsnap (as discussed on -arch two days ago).
3. Portsnap now fetches a list of mirrors (distributed as DNS SRV
records) and selects one randomly.  This should help to avoid the
uneven loading which plagues the cvsup mirror network.
4. The license is now 2-clause BSD instead of 3-clause BSD.
5. Various incidental changes to make portsnap fit into the base
system's build mechanics.

X-MFC-After:    6.0-RELEASE
X-MFC-Before:   5.5-RELEASE
X-MFC-To:       RELENG_6, RELENG_5, ports
discussed on:   -arch and several other places
"yes please" from:      simon, remko, flz, Diane Bruce
thinks this is a great idea:    bsdimp
Hopes he didn't forget any files:       cperciva
2005-08-08 20:10:06 +00:00
Poul-Henning Kamp
9a24dfc72e Put hesiod.conf(5) under build option YES_HESIOD 2005-08-06 06:57:25 +00:00
Pawel Jakub Dawidek
49ad116fcc Teach rc.d/encswap script how to use geli(8) for swap encryption.
MFC after:	3 days
2005-08-05 23:38:51 +00:00
Pawel Jakub Dawidek
6e6ecc0e56 rc.conf(5) update - gbde_swap_enable variable has been removed.
Reminded by:	dougb
2005-08-05 07:09:53 +00:00
Brooks Davis
fe6f40dd76 - Document network_interfaces=auto (the default!).
- Remove documentation of pccard_ifconfig as it is now gone.
 - Document pccard_ifconfig's replacement ifconfig_DEFAULT.
2005-08-02 02:24:47 +00:00
Giorgos Keramidas
6fb9b618f5 Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after:	1 week
Thanks to:	Music band ``Chingon''
		for keeping me company while searching for these.
2005-07-31 03:30:48 +00:00
Giorgos Keramidas
4c8df2df29 Update SEE ALSO section.
PR:		docs/84273
Submitted by:	Gary W. Swearingen
2005-07-29 11:31:16 +00:00
Sam Leffler
e7af1f56e9 document ENABLE_WPA_SUPPLICANT_EAPOL
Approved by:	re (scottl)
2005-07-08 19:26:55 +00:00
Hiten Pandya
a1601503f5 Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-30 13:18:15 +00:00
Ruslan Ermilov
a4be0b3cc1 (Mostly) markup fixes.
Approved by:	re (blanket)
2005-06-16 18:46:17 +00:00
Ruslan Ermilov
4f06896130 Assorted markup fixes and minor wordsmithing.
Approved by:	re
2005-06-15 13:31:23 +00:00
Ruslan Ermilov
03550c9c25 Add missing .Ed call that was fatal for the rest of manpage.
Bump document date.

Approved by:	re
2005-06-14 14:43:36 +00:00
Brooks Davis
7bc4ff02b7 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>
2005-06-08 00:15:36 +00:00
Brooks Davis
1e03bb0312 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>
2005-06-08 00:05:58 +00:00
Giorgos Keramidas
d854ee0742 Add manpages for devfs.conf and devfs.rules. These have been
initially written by Roland, but hacked for a while by me.  Any
good parts are the results of Roland's hard work.  Any typos or
style mistakes are mine.

Submitted by:	Roland Smith <rsmith@xs4all.nl>
PR:		docs/63808, docs/75433, docs/80458, docs/80459
MFC after:	2 weeks
2005-05-17 17:52:27 +00:00
Alexander Leidinger
540fac8974 - document powerd_flags too
- add a reference to powerd(8)

Approved by:	mentor (joerg)
2005-05-01 08:34:01 +00:00
Max Laier
1b301a7fa5 Typeo.
Submitted by:	Emil Mikulic
2005-04-25 10:14:26 +00:00
Bjoern A. Zeeb
313d027725 Add note to remove nis entries when compiling with NO_NIS.
Reviewed by:	ru (initial version), simon (updated version)
Approved by:	pjd (mentor)
2005-04-24 20:24:59 +00:00
Gleb Smirnoff
4f802d7eeb Document bsnmpd related options.
Reminded by:	maxim
2005-04-18 07:39:53 +00:00
Poul-Henning Kamp
d668f22a0c Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
Nate Lawson
ffa6cde40d Add note about powerd(8)
Submitted by:	netchild
2005-03-31 06:02:44 +00:00
John Baldwin
9c3d0cb656 Belatedly remove the drivers.conf(5) man page. The actual files and
supporting scripts were removed as part of the splitfs floppy rework.
2005-03-23 15:34:45 +00:00
Tom Rhodes
bc8f83f849 Remove mention of mac_lomac(4) policy from here too. 2005-03-12 21:10:42 +00:00
Brooks Davis
b2d18dad81 Document the newsyslog_* and chkprintcap_* variables I added yesterday. 2005-03-02 18:44:56 +00:00
Tom Rhodes
32b56c9d75 Document NO_RCMDS, bump doc date. 2005-03-02 05:22:27 +00:00
David E. O'Brien
40f3723da6 Fix a grammar nit of mine. 2005-02-28 18:32:25 +00:00
David E. O'Brien
db9eea4d0e -mandoc style tweak rev 1.13.
Submitted by:	ru
2005-02-28 18:28:58 +00:00
David E. O'Brien
9146ea4e43 Catch up with the latest policies on knobs. 2005-02-28 09:42:08 +00:00
Ruslan Ermilov
36a142c455 Expand contractions. 2005-02-13 23:45:54 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
David E. O'Brien
afdeb6a183 Expand BSS. 2005-02-11 07:37:25 +00:00
Dag-Erling Smørgrav
b83d741b1c Fully document (no)?(device|option)s?.
This page should probably be repocopied to src/usr.sbin/config/.
2005-02-10 14:26:21 +00:00
Ruslan Ermilov
6b806d21d1 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
Tom Rhodes
26605dc133 Add xrefs to crypt(3) and pw(8) and add a warning about not manually
altering passwd related files.

PR:             74656
Submitted by:   Jilles Tjoelker <jilles@stack.nl> (original version)
2005-02-08 19:23:24 +00:00
Nate Lawson
f4e8f997fe Note changes to throttling sysctls and new power_profile(8) cpufrq support. 2005-02-06 21:31:41 +00:00
Poul-Henning Kamp
d2d72ed9bd Document NO_GPIB 2005-02-06 16:46:49 +00:00
Xin LI
e84187b685 Document NO_NETCAT. 2005-02-06 14:59:03 +00:00
Christian Brueffer
8d243d049b Backout last commit, lomac_enable is still valid. Just Xref mac_lomac.4
instead of lomac.4.
2005-02-05 13:44:29 +00:00
Christian Brueffer
3d76e5da8a Remove last traces of lomac(4)
MFC after:	3 days
2005-02-05 13:29:20 +00:00
Philippe Charnier
8a579692b2 spell "file system" correctly
Approved by:	ru
2005-01-24 20:06:16 +00:00
Ruslan Ermilov
3ac17feb8a Fixed xref. 2005-01-21 10:48:35 +00:00
Ruslan Ermilov
0a75bcd459 Fixed macro abuse. 2005-01-21 10:46:36 +00:00
Ruslan Ermilov
9cbda59000 Sort sections. 2005-01-21 08:36:40 +00:00
Ruslan Ermilov
fc2586c322 Fixes to previous revision:
- bump document date
- break hard sentence break
- remove whitespace at EOL
2005-01-21 07:55:17 +00:00
Wes Peters
008c601837 Document the shiny new WITHOUT_MODULES knob in make.conf.
PR:		kern/76225
Prodded by:	ru@, brueffer@
MFC after:	2 weeks
2005-01-21 03:51:07 +00:00
Ruslan Ermilov
1a471b5bef Fixed markup. 2005-01-15 12:25:47 +00:00
Ruslan Ermilov
c0854fb7b2 Scheduled mdoc(7) sweep. 2005-01-12 21:48:25 +00:00
Tom Rhodes
b531f2c07b [NO]MAN -> NO_[MAN].
Bump doc date.
2005-01-08 09:21:35 +00:00