Commit Graph

5933 Commits

Author SHA1 Message Date
Doug Barton
196b6a193e 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.
2006-02-13 08:45:51 +00:00
Christian Brueffer
3063666625 - Use consistent capitalization for ThinkLight
- Xref led(4)

MFC after:	3 days
2006-02-12 22:07:30 +00:00
Joel Dahl
c2c08524c9 s/asynchronuous/asynchronous/ 2006-02-12 21:10:27 +00:00
Joel Dahl
a4665da59b s/specfic/specific/ 2006-02-12 21:06:14 +00:00
Christian S.J. Peron
54381950da Document NO_AUDIT make variable.
Obtained from:	TrustedBSD Project
2006-02-12 17:06:14 +00:00
Doug Ambrisko
37b1ce132c Add an OpenIPMI mostly compatible driver. This driver was developed
to work with ipmitools.  It works with other tools that have an OpenIPMI
driver interface.  The port will need to get updated to used this.
I have not implemented the IPMB mode yet so ioctl's for that don't
really do much otherwise it should work like the OpenIPMI version.
The ipmi.h definitions was derived from the ipmitool header file.
The bus attachments are done for smbios and pci/smbios.  Differences
in bus probe order for modules/static are delt with.  ACPI attachment
should be done.

This drivers registers with the watchdod(4) interface

Work to do:
     - BT interface
     - IPMB mode

This has been tested on Dell PE2850, PE2650 & PE850 with i386 & amd64
kernel.

I will link this into the build on next week.

Tom Rhodes, helped me with the man page.

Sponsored by:   IronPort Systems Inc.
Inspired from:  ipmitool & Linux
2006-02-10 20:51:35 +00:00
Christian Brueffer
bd81a3a557 Correct references to ipnat(8).
MFC after:	3 days
2006-02-10 15:23:07 +00:00
Christian Brueffer
d54a903a81 Correct the meaning of the NO_SHARED knob.
MFC after:	3 days
2006-02-10 14:19:07 +00:00
Marcel Moolenaar
65e9682a1e ".Pp before .Sh is redundant, the latter asserts for a vertical space
already."
	-- ru@
2006-02-08 00:11:41 +00:00
Marcel Moolenaar
a814fd62a5 Add a HARDWARE section, required for autogeneration of the release
notes.

MFC after: 3 days
2006-02-07 03:27:06 +00:00
Robert Watson
7be995ed2a Clarify and expand on some of the points about audit pipe devices.
Discussed with:	remko
2006-02-06 20:27:00 +00:00
Matt Jacob
ae15c3125e Update man page for some booting and settings stuff.
Remove a bunch of cards from vendors who are long since defunct.
Add a note about 2322 support.

Obtained from:	Marcus
2006-02-06 19:28:46 +00:00
Christian Brueffer
f5674a39c7 Add a missing word and use the .Qq macro for quotes. 2006-02-06 19:28:02 +00:00
Robert Watson
f10a5f6cc4 Add information on audit pipe special devices, which allow user processes
to "tee" the BSM record stream for the purposes of live monitoring,
intrusion detection, etc.  Support for audit pipes will be committed in
the near future.

Obtained from:	TrustedBSD Project
2006-02-06 18:41:00 +00:00
Christian Brueffer
ec41774c58 Remove reference to non-existant manpage.
Confirmed by:	rwatson
2006-02-04 21:10:48 +00:00
Christian Brueffer
9ca971bce6 Fix a sentence. 2006-02-03 11:10:50 +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
Marius Strobl
e9646f6441 Correct and improve the description of le(4) vs. pcn(4); apparently I
was thinking from the pcn(4) perspective instead of the le(4) one when
writing the former version as le(4) supports a superset of the chips
supported by pcn(4) and not the other way round.
2006-02-02 14:57:00 +00:00
Robert Watson
0739bd6008 Add audit.4 man page, providing basic documentation for configuring the
kernel audit facility, warnings about the experimental nature of this
implementation, and pointers at a large number of other audit related
man pages.

Obtained from:	TrustedBSD Project
2006-02-02 10:32:27 +00:00
Gleb Smirnoff
38fdbc1679 Xref rwlock(9).
Reviewed by:	ru
2006-02-01 20:30:55 +00:00
Gleb Smirnoff
3182fc7b3e Document read/write locks.
Reviewed by:	jhb, ru
2006-02-01 19:39:25 +00:00
Joel Dahl
fbf9b468d5 Expand contractions. 2006-02-01 14:33:14 +00:00
Yoshihiro Takahashi
05e12dce8a Remove unsupported hardware.
X-MFC after:	soon
2006-02-01 11:10:38 +00:00
Roman Kurakin
f2ca64ca71 Attach ce(4) to the build.
MFC after:	3 days
2006-01-31 23:11:35 +00:00
Roman Kurakin
ba4e658553 Remove duplicate model entry. 2006-01-31 23:06:54 +00:00
Marius Strobl
72118703f4 - Sync the list of supported chips with pcn_probe() as of sys/pci/if_pcn.c
rev. 1.77, i.e. remove Am53C974/Am79C970/Am79C974 PCnet-PCI and Am79C970A
  PCnet-PCI II.
- Change the entry of the PCnet-Home in the list of supported chips to
  match the other ones, i.e. s,PCnet/Home HomePNA,Am79C978 PCnet-Home,.
- s,familly,family

MFC after:	1 day
2006-01-31 23:04:55 +00:00
Marius Strobl
a4070931a6 Add a reference to le(4) as the SBus-based Ultra 1 have on-board LANCE. 2006-01-31 22:45:51 +00:00
Marius Strobl
52363d62c9 Add le(4) to the list of devices supporting VLAN-sized frames natively. 2006-01-31 22:41:59 +00:00
Marius Strobl
355912472c Add a man page for le(4), based on the NetBSD one. 2006-01-31 22:40:25 +00:00
Luigi Rizzo
2f4f3e134b some updates to the manpage.
remove references to mdconfig/vnconfig, and remove
some of the references to floppies since they are rarely
used at all now.
2006-01-31 21:21:02 +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
Christian Brueffer
4a46d2a6df The newly added le(4) driver is altq capable. 2006-01-31 18:46:17 +00:00
Christian Brueffer
b88c6e8756 Xref redzone(9) 2006-01-31 17:29:27 +00:00
Max Laier
dad5bb6485 sys/linker.h needs sys/systm.h as a requirement.
Submitted by:	 gallatin
2006-01-31 16:59:52 +00:00
Pawel Jakub Dawidek
847a2a1716 Add buffer corruption protection (RedZone) for kernel's malloc(9).
It detects both: buffer underflows and buffer overflows bugs at runtime
(on free(9) and realloc(9)) and prints backtraces from where memory was
allocated and from where it was freed.

Tested by:	kris
2006-01-31 11:09:21 +00:00
Tom Rhodes
a00d9cda62 Does not return EBUSY, the mutex will keep blocking until it's unlocked. 2006-01-31 01:47:16 +00:00
Roman Kurakin
1e5f9e06c9 Add manual page for Cronyx Tau-PCI/32 ce(4) driver. 2006-01-30 21:33:22 +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
Christian Brueffer
6923e33d95 Note support for the A4D and A6VM models. 2006-01-30 05:29:41 +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
Damien Bergamini
80e5adff32 Fix WEP examples.
Improve rate control algorithm description.
Bump copyright year.
2006-01-29 13:12:09 +00:00
Damien Bergamini
8b0d3111dd Fix WEP examples.
Bump copyright year.
2006-01-29 13:09:45 +00:00
Damien Bergamini
8de96e19cb Fix WEP examples.
Remove man page references to ipwcontrol and wicontrol.
Bump copyright year.
2006-01-29 13:08:21 +00:00
Max Laier
6aec1278dc firmware(9) is a subsystem to load binary data into the kernel via a
specially crafted module.  There are several handrolled sollutions to this
problem in the tree already which will be replaced with this.  They include
iwi(4), ipw(4), ispfw(4) and digi(4).

No objection from:	arch
MFC after:		2 weeks
X-MFC after:		some drivers have been converted
2006-01-29 02:52:42 +00:00
Gleb Smirnoff
78b6fc8d2d Make an example command correct and copyable to terminal.
Submitted by:	ru
2006-01-27 11:56:59 +00:00
Gleb Smirnoff
f6883559be Update NGM_PPPOE_GETMODE and NGM_PPPOE_SETMODE descriptions, since
new D-Link compat mode is introduced.
2006-01-27 11:28:32 +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
Christian Brueffer
aed1a1f179 Document JMicron JMB360. 2006-01-26 05:31:19 +00:00
Olivier Houchard
4691674ab4 Document a bit pts. 2006-01-26 01:34:49 +00:00
Joel Dahl
fa625e426c - Remove the comment about WSS/MSS cards being the best supported
cards on the market.
-  Remove the entire HARDWARE section.  It's superfluous since all
   snd_* manual pages have their own HARDWARE sections these days.

Reviewed by:	brueffer
2006-01-25 21:14:46 +00:00