| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5)
- Tweak the pointer to fit the FreeBSD default location share/examples/pf
- Account for the new directory in BSD.usr.dist (no hier(7) change required
as share/examples is an opaque item there).
Obtained from: OpenBSD
Reminded by: Thomas T. Veldhouse
PR: docs/71691
MFC after: 2 days
|
|
|
|
| |
Obtained from: lcamtuf.coredump.cx (via OpenBSD)
|
|
|
|
|
| |
on my system, and since then my /var was always created as
MFS which was very surprising. Fix this for /tmp and /var.
|
|
|
|
|
|
|
|
|
|
|
|
| |
VT6122 gigabit ethernet chip and integrated 10/100/1000 copper PHY.
The vge driver has been added to GENERIC for i386, pc98 and amd64,
but not to sparc or ia64 since I don't have the ability to test
it there. The vge(4) driver supports VLANs, checksum offload and
jumbo frames.
Also added the lge(4) and nge(4) drivers to GENERIC for i386 and
pc98 since I was in the neighborhood. There's no reason to leave them
out anymore.
|
|
|
|
| |
Submitted by: delphij@beastie.frontfree.net
|
|
|
|
|
|
|
| |
PR: conf/71410
Submitted by: Andrew Thompson <thompsa AT thingy.tbd.co.nz>
Approved by: julian (mentor)
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
cause the USB keyboard to take over from the builtin one. This means my
laptop just works when I'm using it as a desktop.
Reviewed by: imp
|
|
|
|
|
|
|
|
|
| |
part of the pf module.
While here fix a comment that was c'n'ped from rc.d/pf
PR: bin/71096 (partly)
Submitted by: Ville-Pertti Keinonen
MFC after: 2 days
|
|
|
|
|
|
|
|
| |
more than one word, adding some quotes.
Advice from: mtm (my first attempt wasn't quite right)
Reviewed by: mtm
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
(This differs somewhat from the version originally submitted - any mistakes
are my own.)
PR: 68524
Submitted by: J. Vicente Carrasco -Bixen-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from list_net_interfaces() when network_interfaces=auto.
Rationale: Since the auto case is special, the lesser evil
had to be chosen among not adding cloned interfaces to
_tmplist or removing duplicates from _tmplist after adding
cloned interfaces. Since list_net_interfaces() must not use
/usr/bin tools, the former "evil" appeared clearer and much
more efficient. (See the PR audit trail for discussion.)
PR: conf/63700
Reviewed by: brooks
MFC after: 5 days
|
| |
|
| |
|
|
|
|
|
|
| |
they are empty or undefined.
MFC after: 3 days
|
|
|
|
| |
Reviewed by: des
|
|
|
|
| |
Submitted by: Jon Passki <cykyc@yahoo.com>
|
|
|
|
|
|
| |
PR: conf/63907
Submitted by: Marc Blanchet
MFC after: 3 days
|
|
|
|
|
| |
PR: 42725
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the submit and outbound daemon, else if sendmail_submit_enable=yes, don't
start the outbound daemon. Only one daemon should be started.
Also, do not rebuild database maps at boot time. The code didn't pay
attention to SENDMAIL_MAP_TYPE and assumed 'hash'. Also, admins may
not want maps automatically rebuilt just because the back end database
has changed. Finally, some maps are built with mode tools than just
makemap (e.g., using cidrexpand on the access text file before sending
it to makemap).
Noticed by: ache
Reviewed by: ache
|
|
|
|
| |
the box won't hang forever at startup.
|
|
|
|
|
| |
Pointed out by: mistral@imasy.or.jp
MFC after: 1 week
|
|
|
|
|
| |
Pointed out by: mistral@imasy.or.jp
MFC after: 1 week
|
|
|
|
|
|
| |
so reflect this in the default. The uucp uid is a bit funny, and
is used by mtree in /var/spool for locks, so we can't remove it
without thinking about it a bit harder.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
than one interface from the command line:
# /etc/rc.d/netif start bfe0 xl0
It's also possible to restart an interface(s):
# /etc/rc.d/netif restart bfe0
This required some changes to rc.subr(8) so that if the start/stop commands
are overidden the rest of the command line (after the start/stop/etc... cmd)
is passed through to the subroutines.
|
| |
|
|
|
|
| |
Discussed with: mtm
|
| |
|
| |
|
|
|
|
| |
Submitted by: Mike Jakubik
|
|
|
|
| |
Submitted by: eik (and probably many others)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Separate out local (ports) scripts that use rc.d, and the old style
startup/shutdown scripts and execute them separately. On startup the
rc.d style scripts are executed first and then the old-style scripts.
On shutdown, exactly the reverse happens.
o The rc.d ports scripts should now behave more like base system scripts.
Scripts ending in .sh will be sourced into the current shell, while the
rest will be executed in a subshell. Previously, all ports scripts,
regardless of the .sh suffix, were executed in a subshell.
o The parent script, /etc/rc.d/localpkg, passes its command line arguments
straight to the rc.d ports scripts. This means they should now honor
faststop and faststart commands as well. Old style scripts, should not see
any differences. They will still get either a start or stop command.
o The initial phrase shown during shutdown has been changed to use
"local packages" instead of "daemon processes" to be more inline with the
phrase used during local package startup. The phrases are also used only for
old-style ports script startup/shutdown, whereas previously they were being
used for both rc.d and old-style scripts. This should make startup/shutdown
output a bit less ugly.
Discussed with: portmgr
Has Reservations: eik
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Ask the user up to X times (3 by default) for the pass-phrase, if
it is incorrect the first time.
- Add support for storing the lockfiles in another other directory
than /etc.
- Document that it is possible to override the location of each single
lockfile.
Approved by: pjd
|
|
|
|
| |
IANA's official list of port assignments.
|
| |
|
| |
|
|
|
|
|
|
|
| |
are some that really hate this, so now that devd is default, be more
conservative about what we do.
Noticed by: marcel
|
|
|
|
|
|
|
|
|
|
|
| |
if [ -z "${_rc_subr_loaded}" ]; then
_rc_subr_loaded="YES"
...
fi
in order to avoid re-interpreting rc.subr every time an rc.d
script is run. In my tests, this speeds up rc time by about
8-10%.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class is used for detecting volume labels on file systems:
UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660.
It also provide native labelization (there is no need for file system).
g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow.
g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found
where volume labels are stored and I use those offsets here,
but with this class it should be easy to do it as it should be done by
someone who know how.
Implementing volume labels detection for other file systems also should
be trivial.
New providers are created in those directories:
/dev/ufs/ (UFS1, UFS2)
/dev/msdosfs/ (FAT12, FAT16, FAT32)
/dev/iso9660/ (ISO9660)
/dev/label/ (native labels, configured with glabel(8))
Manual page cleanups and some comments inside were submitted by
Simon L. Nielsen, who was, as always, very helpful. Thanks!
|
| |
|
|
|
|
| |
Reviewed by: dfr,njr (not nate!)
|
|
|
|
|
|
|
|
| |
Most notably, this cleans up messages when shutting down from
single user. In such a case there are usually no daemons running,
but their pid files are still in /var/run. This causes rc.d to
output diagnostics about daemons with pidfiles, but that are
not running.
|
|
|
|
| |
Submitted by: kuriyama
|
|
|
|
|
| |
Found-by: brueffer
Pointy-hat-to: mlaier
|
|
|
|
| |
startup. Moreover, this is the "more logic" order.
|
|
|
|
|
|
|
|
| |
again. This user/group is not required for install* targets, hence do not
add them to CHECK_UIDS/CHECK_GIDS in Makefile.inc1 (no need to annoy
people).
Discussed-on: -current
|
|
|
|
|
|
|
| |
a note to UPDATING since users may have to manually remove an incorrect
nsswitch.conf.
Noticed by: simon
|