4351 Commits

Author SHA1 Message Date
cvs2svn
2b0dd32330 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-11-22 19:17:43 +00:00
ume
c1f4a10f42 MFC 1.48: don't match packets other than IPv4 against divert rule.
divert supports only IPv4.
2005-11-19 06:06:59 +00:00
ru
3b474f83c7 MFC: Bring /dev/speaker support to amd64. 2005-11-16 10:50:12 +00:00
ru
90e132327c MFC: 1.28: Expand tabs. 2005-11-16 07:50:36 +00:00
ru
e44b41c79d MFC: Sync calendar up with HEAD, including adding the Ukrainian calendar. 2005-11-16 07:47:44 +00:00
ru
244b8589ce MFC: 1.2: Remove redundant include. 2005-11-16 07:39:24 +00:00
ru
96a98747e8 MFC:
- Pass -i to pwd_mkdb(8) to ignore locking failures.  This can be useful
  for NFS installing world/kernel to another machine.

- Require that DESTDIR be set before running "make distribution".
2005-11-16 07:24:02 +00:00
cvs2svn
6d64926b05 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-11-14 18:38:00 +00:00
cperciva
8dfd629a38 MFC documentation and example configuration for portsnap REFUSE directives. 2005-11-13 06:48:50 +00:00
rse
617d1a6ec8 MFC r1.11:
| There is no need to explicitly add "status" to $extra_commands in
| the /etc/rc.d/pf script as it is implicitly added by /etc/rc.subr's
| run_rc_command() because of the existing $pf_program.
|
| Submitted by:   Christoph Schug <chris@schug.net>
2005-11-10 07:32:35 +00:00
jhb
6e55743a7b MFC: Allow the process name to be in square brackets ([]) in
_find_processes().
2005-11-06 15:54:43 +00:00
nyan
57780cdbfa MFC: Use hw.machine_arch instead of hw.machine. 2005-11-06 04:38:20 +00:00
maxim
1792449ef0 MFC rev. 1.4: remove unfinished code and make it possible to override
bsdextended_script from rc.conf(5).
2005-11-04 18:18:20 +00:00
maxim
ac6d6e0e90 MFC rev. 1.40: typo. 2005-11-04 17:58:02 +00:00
cvs2svn
1a02931cac This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-30 05:41:43 +00:00
wpaul
14b480eac9 MFC: synchronize the NDISulator with the head and RELENG_5 branches,
add -D ndis support to wpa_supplicant

Approved by:	re
2005-10-27 17:08:57 +00:00
ume
30c69abdde MFC 1.16: stop RFC 4193 address on the outside interface.
Approved by:	re (scottl)
Committed at:	CBUG Meeting meets XCAST6 Festival
2005-10-09 04:35:10 +00:00
delphij
348870b108 MFC 1.50 (by keramida):
| Add a short description of how a literal colon ':' can be inlined in the
| value of capability databases, since it's not really obvious how a colon
| can be escaped, and a pointer to the getcap(3) manpage for more details.
|
| Triggered by:	a question by Ceri on -questions

Approved by:	re (kensmith)
2005-10-08 17:37:29 +00:00
yar
0f5aca2db3 MFC:
Add an rc.d script to start the pfsync interface after all
the conventional network interfaces have been started so that
pfsync can be attached to any of the latter.

Record the dependency of rc.d/pf on the newly added rc.d/pfsync.
Also make rc.d/pf start as early as before rc.d/routing to improve
system security.

Document rc.d/pfsync on pfsync(4) and rc.conf(5).

Approved by:	re (scottl), mlaier
2005-10-08 03:32:54 +00:00
brooks
7bbedbf320 MFC rev 1.6:
Don't print anything if we can't do any localpkg shutdown (start already
does this).

Submitted by:	Andre Albsmeier <Andre dot Albsmeier at siemens dot com>
PR:		conf/86606
Approved by:	re (kensmith)
2005-10-07 17:20:35 +00:00
cvs2svn
abab8b0378 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-05 05:21:08 +00:00
rwatson
f35d1a423f Merge rc.conf:1.260, kerberos:1.5, rc.conf.5:1.265 from HEAD to RELENG_6:
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.

Approved by:	re (scottl)
2005-09-25 18:45:56 +00:00
rwatson
50fb626c0b Merge rc.initdiskless:1.45 from HEAD to RELENG_6:
Use sysctl -q when querying for kern.bootp_cookie in order to avoid
  printing boot-time errors that don't reflect true error conditions.

Approved by:	re (kensmith)
2005-09-22 16:58:56 +00:00
rodrigc
63a5da33bb MFC: 1.16:
In mountd_precmd(), use rc_args, not mountd_args to
  override the value of mountd_args.  This fixes the problem
  where mountd_args was not properly being set if
  weak_mountd_authentifcation="YES" was set in rc.conf.

PR:             conf/86260
Submitted by:   Thierry Herbelot <thierry at herbelot dot com>
Approved by:	re (kensmith)
2005-09-21 20:27:50 +00:00
rwatson
f142f17b2d Merge dumpon:1.10 from HEAD to RELENG_6:
Use kenv -q to extract dumpdev rather than kenv, in order to avoid
  spamming the console in the event that a loader tunable 'dumpdev'
  isn't defined, which is not a relevant failure to report.

Approved by:	re (kensmith)
2005-09-20 13:28:01 +00:00
maxim
caa0680e7f MFC rev. 1.10: postpone a temporary file creation until we realize
if ipfw(4) ever used.

Approved by:	re (scottl)
2005-09-13 14:34:11 +00:00
grehan
f3c7dd1f4a MFC 1.3
Comment out ofw_console 'screen' entry and zs tty entries.
   The OpenFirmware console isn't used on real systems anymore and
   I never get to multi-user mode in psim. There are problems with
   zs that need to be resolved before these lines can be enabled.

   This eliminates disconcerting warnings on boot.

Approved by:	re (Ken Smith)
2005-09-13 05:59:07 +00:00
brooks
82ed9e72d5 Sync network interface startup code with HEAD.
etc/network.subr: 1.165-1.167
 - kill removable_interfaces
 - add NOAUTO keyword
 - fix quoted entries in ifconfig_<ifn> variables
 - always up the interface
 - if ifconfig_<ifn> is defined, but empty, don't set it to
   ifconfig_DEFAULT
 - always configure lo0 first if it exists
etc/pccard_ether: 1.46
 - kill removable_interfaces
 - add NOAUTO keyword
etc/rc.d/netif: 1.15-1.17
 - block Ctrl-C in dhclient
 - minor cleanup of the interface list generation code

Approved by:	re (scottl)
Requested by:	many (death to removable_interfaces!)
2005-09-10 17:05:04 +00:00
brooks
81090ac359 MFC 1.43 and 1.44:
- Add new template sources to keep /conf more organized.

Approved by:	re (scottl)
2005-09-10 17:02:45 +00:00
dougb
c7730280f9 MFC 1.22 which removes the IP6.INT example per RFC 4159
Approved by:	re (scottl)
2005-09-10 08:27:27 +00:00
sam
7a8285331c MFC 1.28: use media type to recognize eth+802.11 network interfaces
instead of doing a regex on device names

Approved by:	re (scottl)
2005-09-03 22:49:22 +00:00
glebius
dce99e7faa MFC 1.8, 1.9:
- Correctly parse output, when logging amount is limited in the
    rule itself, not in verbose_limit sysctl. [1]
  - Do check rules, even if verbose_limit is set 0. Rules may have
    their own log limits.

  PR:		conf/77929
  Submitted by:	Andriy Gapon [1]
  Reviewed by:	matteo

Approved by:	re (scottl)
2005-09-02 14:13:16 +00:00
gshapiro
6cfeae252f MFC: Be sure to execute sendmail_precmd() to check sendmail.cf conflicts and
rebuild the aliases file if necessary.

     Revision  Changes    Path
     1.15      +1 -0      src/etc/rc.d/sendmail

Approved by:	re (scottl)
2005-09-02 03:53:10 +00:00
imp
17f752a69c MFC: Allow one to override {CAP,PWD}_MKDB_ENDIAN from the command line.
Approved by: re@ (scottl)
2005-09-01 01:24:42 +00:00
yar
e98eb9d1e5 MFC defaults/rc.conf#1.259, rc.subr#1.37:
Stop hard-coding an -M flag to mdmfs(8) in /etc/rc.subr.
  Now this flag can be set, or not set, for memory-backed
  file systems on individual basis, as illustrated by the
  rc.conf(5) variables tmpmfs_flags and varmfs_flags.  The
  flag is set for those FS'en by default, in /etc/defaults/rc.conf,
  in order to stay compatible with the old rc.subr behaviour.

Approved by:	re (scottl)
2005-08-28 09:08:05 +00:00
cperciva
c9564c8fd4 MFC: When looking for new lines in diff output, grep for '^[>+]'
instead of '^>', in order to catch both normal and unified diffs.

Approved by:	re (scottl)
2005-08-25 19:07:28 +00:00
pjd
c46b3075d6 MFC: share/man/man5/rc.conf.5 1.258,1.259,1.260
etc/defaults/rc.conf		1.255,1.256,1.257

- Remove gbde_swap_enable variable (it has no effect).
- Add geli_swap_flags variable which holds flags used by geli(8) when
  configuring GELI-encrypted swap partitions.
- Add variables used by rc.d/geli and rc.d/geli2 scripts.

Approved by:	re (kensmith)
2005-08-16 09:30:13 +00:00
pjd
df87555c46 MFC: etc/rc.d/Makefile 1.54,1.55
- Disconnect gbde_swap from the build.
- Connect encswap, geli and geli2 to the build.

Approved by:	re (kensmith)
2005-08-16 09:23:45 +00:00
pjd
65039f9b63 MFC: etc/rc.subr 1.36
Add a function which creates list of devices for GELI-encryption.

Approved by:	re (kensmith)
2005-08-16 09:06:42 +00:00
pjd
e2d3543699 MFC: Remove gbde_swap script and introduce encswap script, which knows how to
encrypt swap partitions using both: gbde and geli.

Approved by:	re (kensmith)
2005-08-16 09:04:55 +00:00
pjd
0bd357e9d3 MFC: etc/rc.d/jail 1.25
Skip jails which are already running and inform why.
We're checking for /var/run/jail_<name>.id file and if it exists, we don't
start the jail. It should be also safe in case of reboot(8), because
rc.d/cleanvar script is going to remove /var/run/jail_* files.

It helps to avoid potential mess when the same jail is started twice,
because of an administrator mistake (been there, done that).

Approved by:	re (kensmith)
2005-08-16 08:43:06 +00:00
pjd
773b4d816d MFC: rc.d/cleanvar 1.10
Skip 'logpriv' socket when cleaning /var/.

Approved by:	re (kensmith)
2005-08-16 08:41:30 +00:00
pjd
d2afcc9cb9 MFC: rc.d/gbde 1.13
rc.subr		1.35

Move 'local_tr' function to rc.subr and change its name to 'ltr'.

Approved by:	re (kensmith)
2005-08-16 08:39:36 +00:00
cperciva
963a18e0a9 MFC addition of portsnap to the base system plus subsequent enhancements
and bug fixes.

Approved by:	re (kensmith)
2005-08-15 20:24:08 +00:00
cvs2svn
aa9ad453cc This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-08-15 17:07:38 +00:00
pjd
a996384698 MFC: rc.d/jail 1.24
Allow to give more than one jail's name, eg.:

	# /etc/rc.d/jail start www mail

Approved by:	re (kensmith)
2005-08-10 14:30:05 +00:00
pjd
ce534181e2 MFC: Connect GEOM_ELI class to the build.
Sponsored by:	Wheel Sp. z o.o.
		http://www.wheel.pl
Approved by:	re (kensmith)
2005-08-05 20:02:46 +00:00
brooks
7b1f88bc8a Sync dhclient with HEAD:
- Don't complain when debouncing dhclient startup.
 - Fix buffer handling in reveive_packet().  This fixes infinite cpu
   eating loops and probably some crashes.
 - Spell if_defaultroute route correctly in dhclient-script so we
   are allowed to change the default route.
 - Document dhclient -b.
 - Treat reassociation like association.
 - Do not force server-name to be a valid domain name.
 - Handle servers that send NUL-terminated host-name options.

Approved by:	re (scottl)
2005-07-29 23:36:28 +00:00
grehan
d1f6ac895f MFC: r1.22
Remove obsolete ttya/ttyb entries and replace with ttyy0/1.
Mark origin of ofw_console(4) and zs(4) devices.

Approved by:	re (Ken Smith)
2005-07-18 12:06:38 +00:00
cvs2svn
dd2adf2c10 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-07-11 04:14:43 +00:00