4378 Commits

Author SHA1 Message Date
mlaier
bbe7409e6e MFC pf.conf, 1.3:
Document the user/group LOR in our sample pf.conf

  Submitted by:	Devon H. O'Dell

Reminded by:	delphij
Approved by:	re (scottl)
2006-04-04 20:31:20 +00:00
flz
c9a9964ef8 MFC:
- Replace awk parts with shell.

      src/etc/rc.d/nsswitch: rev 1.5 -> 1.6

Approved by:	re (scottl)
2006-04-04 14:28:41 +00:00
marcel
9cbee16e0b MFC 1.10: On ia64, the unaligned_print sysctl is a debugging knob.
Approved by: re (hrs)
2006-04-03 04:34:47 +00:00
glebius
5316a30fa2 MFC 1.4, 1.5, 1.6:
- Do not point at bar.com.
  - Document how change polling interval for HC
    interface, counters.

Approved by:	re (scottl)
2006-03-31 12:47:50 +00:00
ceri
f7c89a92e7 MFC revision 1.71:
The rpc.pcnfsd server was in the base for a little over seven
	minutes back in 1994.  Change the example entry to point at the
	port, as per the entries for uucpd et al.

Approved by:	re (kensmith)
2006-03-28 15:52:12 +00:00
emax
3308876691 MFC:
Reorganize /etc/rc.d/syscons and move all keyboard related settings
into one function syscons_configure_keyboard(). Call new function from
both syscons_start() and sysconst_setkeyboard(). The reason for this
is because syscons_start() will (re)configure both keyboard and screen
settings. Apparently, some graphics cards have problems with running
vidcontrol(1) while X11 is running.

Remove "/etc/rc.d/syscons restart" from /etc/devd.conf. It is no longer
required. Using "/etc/rc.d/syscons setkeyboard" is enough. This also
should fix annoying "syscons not running?" message.

Tested by:	Ulrich Spoerlein < q at galgenberg dot net >
Approved by:	re (hrs)
2006-03-21 19:42:32 +00:00
matteo
c155e30263 Change "grep" with "egrep". Merging by hand is not always the best solution@
This change is approved, since the original patch I sent to re@, didn't have this mistake.

Submitted by:	gad
Approved by:	re (implicit)
2006-03-16 12:22:00 +00:00
dougb
88ccf9e397 MFC moving abi and archdep before SERVERS, and removing scary BEFORE's
MFC'ed versions:
SERVERS 1.6, abi 1.8, archdep 1.11

Reminded by:	delphij
Approved by:	re (scottl)
2006-03-15 00:09:43 +00:00
marcus
c25c26b047 MFC:
Add missing libdata/ldconfig[32] entries.

Approved by:	re (scottl)
2006-03-14 22:13:13 +00:00
matteo
f17126d605 MFC:
Fix output and exit status when daily_mailq_shorten is set to YES

PR:		conf/93472
Approved by:	re (scottl)
2006-03-12 18:42:11 +00:00
fjoe
354c2674c9 MFC: rev. 1.26
Fix overriding jail_list from command line.

Approved by:	re (mux)
2006-03-11 08:00:57 +00:00
yar
1ddd7ce832 MFC:
Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:
  a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh'
  (should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was
  converted to using <bsd.prog.mk>.  Consequently, `isdntel.sh' has
  been installed as `isdntel' since then.  Nevertheless, nobody has
  been unhappy with the change.  So it's time to make it official.

Approved by:	re (mux)
2006-03-11 07:28:32 +00:00
matteo
d38d9c84d6 MFC: Enhance loginfail: it will catch sshd, proftpd and su errors, as well as other programs
PR:		conf/70973
Approved by:	re (hrs)
2006-03-09 06:55:36 +00:00
matteo
b69d57c403 MFC: Add a default ldconfig32_paths entry in default/rc.conf for 32-bit compatibility shared libraries.
It is used by the ldconfig rc.d scripts.

PR:		amd64/91571
Approved by:	re (hrs)
2006-03-09 06:52:39 +00:00
brueffer
565cbd1985 MFC: rev. 1.34 + 1.37
Add the gmirror(8), graid3(8), gstripe(8) and gconcat(8) status scripts,
default is "off".

Approved by:	re (mux), rwatson (mentor)
2006-03-08 23:01:18 +00:00
brueffer
ffd80e9451 MFC: rev. 1.13 + 1.14
Add periodic scripts that check the status of gmirror(8), graid3(8), gstripe(8)
and gconcat(8) devices, respectively.  Also sort.

Approved by:	re (mux), rwatson (mentor)
2006-03-08 22:59:47 +00:00
rwatson
05670a3ba0 Merge BSD.var.dist:1.73,1.74 from HEAD to RELENG_6:
Add /var/audit, mode 750, which will hold audit trail files.

  Change group for /var/audit to audit, so that audit review can be
  delegated to non-administrators.

  Obtained from:  TrustedBSD Project

Approved by:	re (mux)
2006-03-08 22:55:13 +00:00
cvs2svn
9cb23632cc This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-03-08 18:03:10 +00:00
emax
f6ce5746e7 MFC:
Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
keyboard device name (i.e. /dev/kbd0). This method will do nothing is
kbdmux(4) is the current active keyboard, otherwise it will switch
active keyboard as requested.

Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons
and new 'setkeyboard' method.

Approved by:	re (scottl)
2006-03-07 06:13:17 +00:00
rwatson
78ceb60160 Merge group:1.33,1.34 from HEAD to RELENG_6:
Assign gid 77 to audit instead of gid 73.  The ports group list did not
  include '73', which was assigned in a ports passwd entry to ircservices.

  Pointed out by: ceri

  Allocate an 'audit' group, membership in which will grant the audit
  review right by virtue of read file permission on /var/audit and its
  contents.

  Obtained from:  TrustedBSD Project

Approved by:	re (scottl)
2006-03-06 22:23:10 +00:00
mlaier
b439464437 MFC:
Make pflog a seperate module.  As a result pflog_packet() becomes a
  function pointer that is declared in pf_ioctl.c

  Requested by:   yar (as part of the module build reorg)

Approved by:	re (scottl)
2006-03-06 16:10:19 +00:00
wkoszek
8d656c8e43 MFC:
Use 'ipfw list' instead of 'ipfw l', since it's deprecated (and warning is
  printed on system startup).

  Approved by:    cognet (mentor)

Approved by:	re (scottl)
2006-03-01 11:36:01 +00:00
mnag
bb7b6e16f5 - Change dumpdev default to "NO". Only HEAD is set to "AUTO"
Discussed with:	re
Approved by:	re (scottl)
2006-02-25 22:53:40 +00:00
dougb
7d90dc4ee4 MFC 1.339, fix for running inside a jail
Approved by:	re (mux)
2006-02-24 21:42:43 +00:00
dougb
e06b34cad1 MFC significant overhaul of rc.d/named script, including
addition of named_uid default rc.conf variable.

etc/defaults/rc.conf		1.275
etc/rc.d/named			1.24
share/man/man5/rc.conf.5	1.286

Approved by:	re (scottl)
2006-02-24 09:43:33 +00:00
ceri
5ae1a9f419 MFC revision 1.49:
Update a comment to match functionality changed in r1.39 (allow square
  brackets in process names).

Approved by:	re (scottl)
2006-02-19 18:36:20 +00:00
ume
cc52cf5ad6 MFC 1.20: The libwrap built with NO_INET6=yes cannot parse
an IPv6 address.  So, mention it in comment.

Approved by:	re (scottl)
2006-02-19 14:59:00 +00:00
marius
e1b43165f7 MFC: 1.12
Enable getty(8) on ttyu2 by default in order to get machines that use a
RSC (Remote System Control) connected via uart2 as console working out
of the box.

Approved by:	re (scottl)
2006-02-15 09:17:03 +00:00
flz
fd4449bc91 MFC:
Don't include geli devices in list when noauto is specified in the options field.

      src/etc/rc.subr: rev 1.47 -> 1.48

Approved by:	re (hrs)
2006-02-15 00:56:06 +00:00
flz
fadeb41ea3 MFC:
- Add a startup script for hostapd.
  - Document associated variable in rc.conf(5).

      src/etc/rc.d/Makefile: rev 1.64 -> 1.65
      src/share/man/man5/rc.conf.5: rev 1.283 -> 1.284
      src/etc/rc.d/hostapd: rev 0 -> 1.1
      src/etc/defaults/rc.conf: rev 1.273 -> 1.274

Approved by:	re (hrs)
2006-02-12 22:13:16 +00:00
cvs2svn
de143a5b92 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
pjd
3c50f6ff81 MFC: etc/rc.d/ipsec 1.14,1.15
- Use $ipsec_file instead of hardcoded /etc/ipsec.conf.
- Remove stale comment.
2006-01-31 00:28:01 +00:00
yar
b0976301af MFC the addition of an rc.d script for stand-alone ftpd:
etc/defaults/rc.conf		1.271
etc/rc.d/Makefile		1.63
etc/rc.d/ftpd			1.1 (new)
share/man/man5/rc.conf.5	1.281, 1.282

Also MFC the addition of a missing xref to geli.8 in
SEE ALSO on rc.conf.5 as a part of rev. 1.282.
2006-01-29 13:52:34 +00:00
maxim
6b09b89696 MFC rev. 1.103: InterBase Database Remote Protocol 3050/tcp/udp. 2006-01-29 11:32:48 +00:00
matteo
f5ae738fd4 Allow the use of wildcarded device names in devfs.conf
PR:             conf/90760
Submitted by:   Darren Pilgrim <darren.pilgrim at gmail.com>
Approved by:    philip (mentor,implicit)
2006-01-27 13:20:48 +00:00
cvs2svn
7fcb1e9c3c This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-01-26 12:19:11 +00:00
matteo
e4e4af2daa MFC:
Add gettytab entry for 3wire 19200 baud console

      src/etc/gettytab: rev 1.22 -> 1.23

PR:		conf/90346
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>

Approved by:	philip (mentor, implicit)
2006-01-25 07:39:42 +00:00
brooks
b6af048c63 MFC rev 1.49: Don't create memory backed file systems with soft-updates
enabled, it's pointless and potentially dangerous.

PR:		conf/85558
Submitted by:	Ralf Wenk <RZ dash FreeBSD0605 at hs dash karlsruhe dot de>
2006-01-24 05:49:58 +00:00
yar
5d748e169d MFC rev. 1.8, 1.10:
Simplify the code by making use of 'kldstat -q -m <mod>'.

Use available rc.subr features.
Reduce code duplication.
Follow the current style of rc.d scripting.
2006-01-22 13:45:28 +00:00
yar
e306830495 MFC rev. 1.6, 1.7:
Simplify the code by making use of 'kldstat -q -m <mod>'.

Use rc.subr(8) appropriately.
2006-01-22 13:40:47 +00:00
yar
b7c8cc2f5a MFC rev. 1.5:
Set $command to indicate that the script wants to use
the default rc.subr(8) methods.  This is mandatory now.
2006-01-22 13:24:58 +00:00
yar
147a605f76 MFC:
Rename the rc.d script "ppp-user" to just "ppp".
2006-01-21 22:42:43 +00:00
yar
5547c58995 MFC r1.12 -- back out r1.7.2.2.
As rse@ agreed, "status" should stay in $extra_commands
if an rc.d script doesn't use $command and default methods
associated with it.  This is true since rc.subr r1.42.
With r1.42 merged to rc.subr on RELENG_6 (thanks Doug!),
it's right time to re-add "status" to $extra_commands in
this script.
2006-01-21 22:09:32 +00:00
wes
aa757a231f MFC r1.13: Tell nextboot to clean up after itself. 2006-01-21 17:25:00 +00:00
cperciva
e7fa724681 MFC rev. 1.3:
Add a warning pointing out that incomplete ports trees are not
  supported and that users of REFUSE directives should update their
  entire ports tree before asking for help on the mailing lists.
2006-01-21 09:59:07 +00:00
harti
7a415bda1d MFC revision 1.3 (disable default write community). 2006-01-20 16:41:11 +00:00
matteo
7ebcfcdd9a MFC: don't check for /dev/mdctl and let mdconfig load the module if needed
Approved by:	philip
2006-01-20 14:24:34 +00:00
dougb
321c75e900 MFC 1.8 - bring into conformance with rc.d standards
MFC 1.9 - Use hw.machine_arch instead of hw.machine
2006-01-17 07:12:38 +00:00
dougb
ae243ed8eb MFC rc.conf 1.269 and rc.conf.5 1.275 - clear_tmp_X variable,
to support the cleanup of etc/rc.d/cleartmp
2006-01-17 07:02:04 +00:00
dougb
73ebda7083 MFC mechanism to include files added by ports which contain
names of directories to include in the base ldconfig script.

Bump __FreeBSD_version to recognize this change
2006-01-17 06:53:18 +00:00