Commit Graph

3990 Commits

Author SHA1 Message Date
gordon
8c7e24ba5d Add /rescue bits. This basically encompasses all of bin and sbin along
with a couple of bits from usr.bin in a crunchgen'd binary.

Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-29 18:35:37 +00:00
mtm
9cd8445162 Ugh. Remove debugging echo. 2003-06-29 17:59:09 +00:00
mtm
3cd75c7bd7 Implement individual operations on static and dhcp interfaces. Previously
network interfaces could only be turned on and off as a group (all
static interfaces or all dhcp interfaces).

When used to start the interface a 'long form' ifconfig output is
used to show the status of the interface, but when stopping an interface
the script will simply output the name of the interface. This is simply my
personal preference. Hopefully as this functionality matures we can
stabilize on a prefered form of output for these scripts.

A stop command to the dhclient script now explicitly releases the dhcp lease.
Behaviour at system shutdown; however, is unchanged since dhclient is not,
by default, run at that time. The client will not release its lease
at shutdown.
2003-06-29 05:34:41 +00:00
mtm
67e705202f o Hookup rc.d/routing and rc.d/netoptions
o Ensure rc.d/network2 and rc.d/network3 are not automatically run
  during boot
o Modify script headers so rcorder(8) can put the two scripts in the
  correct sequence.
2003-06-29 05:15:57 +00:00
mtm
59b3264944 o Repocopied routing and netoptions from network2 and network3, respectively.
o Change the provider names.
o Separate routing into two parts: static routing and routing options. The
  start command will run both parts, but they can be run separately using
  the static and options command, respectively:
  (/etc/rc.d/routing static; /etc/rc.d/routing options)
2003-06-29 05:09:48 +00:00
smkelly
3d5e7b3e42 - Add a software watchdog facility.
This commit has two pieces. One half is the watchdog kernel code which lives
primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
daemon which, when run, will keep the watchdog from firing while the userland
is intact and functioning.

Approved by:	jeff (mentor)
2003-06-26 09:50:52 +00:00
sam
7d986dc217 install new 802.11 headers 2003-06-25 14:59:17 +00:00
harti
d7835f2af8 Install the include file for the netgraph ATM node. 2003-06-25 13:28:06 +00:00
kuriyama
c4f96664d3 Check by [ $? -eq 0 ] rather than $?.
Reviewed by:	mtm
2003-06-24 03:55:21 +00:00
phk
02e8c023e8 Remove the devdb stuff, the kernel answers these questions just fine. 2003-06-20 09:47:09 +00:00
wollman
91c5292811 Add a script to automatically attach gbde devices found in fstab
(or rc.conf) at boot time, and detach them when shutting down.  Not
added to the Makefile to give the rcng gurus an opportunity to improve
it.
2003-06-17 02:56:29 +00:00
maxim
5a52dec8ac o Correct usage example: ep(4) does not have 'link0' option.
o Fix a typo.

PR:		misc/51955
Submitted by:	Xander <x+freebsd-gnats@surfnet.nl>
MFC after:	1 week
2003-06-16 09:11:29 +00:00
mtm
775a5dbbe8 Update a comment about symlinking named's pid file to correctly
reflect the code.

Suggested by:	maxim
2003-06-14 22:26:30 +00:00
des
d01d40fe79 Add a system policy, and have the login and su policies include it rather
than duplicate it.  This requires OpenPAM Dianthus, which was committed two
weeks ago; installing these files on a system running a world older than
June 1st, 2003 will cause login(1) and su(1) to fail.
2003-06-14 12:35:05 +00:00
harti
75e2537362 This is a driver for the physical layer chips used in ATM interfaces.
It currently supports the PMC Sierra Lite, Ultra and 622 chips and
the IDT 77105. The driver handles media options and state in a consistent
manner for ATM drivers. The next commit to the midway driver will make
it use utopia.
2003-06-12 14:28:32 +00:00
bde
5d33b7aba2 Fixed some style bugs (disorder and long lines). 2003-06-11 23:17:01 +00:00
ache
4e0c00d39c Old-promised removing of deprecated locale names 2003-06-10 01:22:30 +00:00
markm
5cbb1bba97 Bit of modernising. Remove old KerberosIV entries, add example
sshd entries, sort internal services the same as everywhere
else.
2003-06-09 21:04:30 +00:00
mtm
9fea894c25 o Have rc.d/apm report on the status of apm.
o Modify rc.d/apmd to make correct use of this information.

Submitted by: Simon L. Nielsen <simon@nitro.dk> (with minor modifications)
2003-06-09 17:44:30 +00:00
mtm
32b7672bf8 o Fix a typo
o Fill in the ipx_down() routine.

Submitted by: ceri
2003-06-09 17:34:31 +00:00
mtm
9a433b8eb7 Previously, a "forced" command always exited successfully (with the
exception of the default 'status' command) regardless of whether the
executed command was actually successfull or not. Forced scripts should
always correctly reflect the outcome of the command.

NOTE: exit values are treated as booleans. We don't care what
      the actual exit value was, only whether it was successfull or not.
2003-06-09 17:31:06 +00:00
mtm
5579727574 - Remove a debugging echo.
- When we change the IFS make sure to return it to its previous
  value before executing a command.
2003-06-08 11:49:30 +00:00
mtm
d2be2df67d Implement *_down network routines for ifconfig'ed interfaces, cloned
interfaces, interface aliases, user supplied ifconfig scripts, and
ipx interfaces. The ipx routine fails unconditionaly at the moment.
Someone who has a need for it can fill it in with the appropriate incantations.
2003-06-08 10:34:40 +00:00
ume
6090f96b29 follow dhcp_* changes. 2003-06-07 19:40:54 +00:00
mtm
7630cd627d The dhcp_program and dhcp_flags variables have to be renamed to
take advantage of the rc.subr(8) glue. They are renamed dhclient_program
and dhclient_flags.
	o Rename them in rc.conf(5)
	o Rename them in /etc/defaults/rc.conf
	o Add the deprecated variables to /etc/rc.subr
	o Isolate the use  of the 'command' variable to the
	  NetBSD specific parts in /etc/rc.d/dhclient.
	o Now that dhcp_flags has also been renamed it will
	  be applied properly by rc.subr(8) glue code.

Reported by:	John Nielsen <john@jnielsen.net>
2003-06-07 10:31:17 +00:00
ache
8bf05e4f0f Add ru_RU.CP1251 2003-06-06 22:39:24 +00:00
mtm
8eb81c6852 Remove a debugging aid the crept in during the last commit. It doesn't
really make much difference since this script is not used during startup
and is due to be removed before RELENG_5.

Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
2003-06-06 13:00:43 +00:00
yar
707496bb8f Since FreeBSD has never had a stock NNTP server, move the nntp line
down to the section of optional mail/news services.  Change the nntpd
location to /usr/local/libexec since it's an optional software.

Henceforth, nntpd will be advised to run as "news", which is a
standard user in the system, instead of "usenet", which has never
existed in the default master.passwd(5).
Note: It's not "news:news" since inetd(8) runs a service at the
specified user's login group by default.

Add a blank comment line above the uucpd line so the section looks uniform.

Partly pointed out by:	Alexey Neyman <alex.neyman at auriga.ru>
MFC after:		1 week
2003-06-06 08:54:29 +00:00
ache
680a8044a4 Add zh_CN.GBK 2003-06-01 15:37:37 +00:00
gordon
020ad6b4e9 Move networkfs_types from mountcritlocal into defaults/rc.conf as netfs_types.
Also add logic into mountcritremote to add extra_netfs_types to the list.

This unbreaks putting smbfs, portalfs and now nwfs in fstab.
2003-06-01 01:43:37 +00:00
des
af0f06d5ab Try to describe the control flags a little better. 2003-06-01 00:34:38 +00:00
gordon
3423e0e6bb nwfs is network filesystem. Treat it as such when mounting filesystems. 2003-06-01 00:32:03 +00:00
mtm
2381817c37 Apparently ldconfig(8) prefers the format as the first argument
with the rest of the options following it. This caused problems for
people using ldconfig_insecure=yes because the '-i' switch was being
positioned before the format argument.

Approved by:	markm/mentor (implicit), re/rwatson
PR:		47430
2003-05-18 03:39:39 +00:00
mtm
04b3e8f6a4 Install kpasswdd.
Approved by: markm/mentor, re/rwatson
2003-05-18 03:34:24 +00:00
anholt
8afa634a45 Add new directories from the XFree86 4.3.0 update.
Approved by:	re (murray)
2003-05-14 07:23:54 +00:00
ume
184e33147b pccard_ether didn't setup IPv6 after rcTOS sweep.
Reviewed by:	mtm and dougb
Approved by:	re (scott)
2003-05-12 11:36:50 +00:00
imp
b38320e85d Comment out the entire nomatch entry. The partially commented out
entry causes problems :-(

This effectively backs out the commit the re@ allowed me to commit.
2003-05-09 05:58:22 +00:00
imp
40bb78be11 Don't use logger by default just yet for unmatched devices. It is a
little too chatty on boot and doesn't give enough information.

Approved by: re@ (bmah)
2003-05-07 15:48:20 +00:00
dougb
648d0fdfdf Hook devfs.conf up to the build.
Approved by:	re (scottl)
2003-05-06 07:25:17 +00:00
mtm
641dce1ea2 s/kadmind5/kadmin/
Approved by:	markm (mentor)
2003-05-06 02:28:03 +00:00
dougb
4425e1b376 Allow users to configure stuff in /dev once again by re-doing the devfs
script to read /etc/devfs.conf, and take appropriate actions based on
what it finds there.

The (commented out) examples in the new devfs.conf file are taken in
part from the old rc.devfs script.
2003-05-06 01:10:33 +00:00
obrien
2815c2d3a1 Back out the amd64 additions. Hammer doesn't do APM, and we certainly aren't
ready for any ibcs2_compat bits yet.
2003-05-06 00:09:51 +00:00
obrien
a7683506af We won't do APM on Hammer -- ACPI is the game there. 2003-05-05 23:55:43 +00:00
dougb
ebcef47fb4 * Add the nut port from the IANA list (for the nut port)
* Add the rndc port, by common usage (TCP only since rndc doesn't
use UDP, and the port is not officially assigned)
2003-05-05 22:10:14 +00:00
dougb
050075f44f Add traditional BSD names (sio[0-3]) to the finger-friendly com[1-4]
entries so that you can do things like 'tip sio1' without having
to remember the DOS equivalent.
2003-05-05 21:37:43 +00:00
gad
fae6a5e5b7 Add the 'N' flag to the entries for three log files which are *not*
written to by syslogd:  /var/log/{daily.log,weekly.log,monthly.log}

MFC after:	1 week
2003-05-05 19:08:33 +00:00
ume
12946d1d1a use /etc/rc.d/network_ipv6 instead of obsoleted /etc/rc.network6. 2003-05-05 19:06:46 +00:00
gad
2d6e0a42bd Update the comments in this file to reflect the recent changes to
newsyslog.

MFC after:	1 week
2003-05-05 19:05:43 +00:00
mtm
ecf13c7beb Move securelevel further back in the boot order.
Approved by:	markm (mentor)(implicit)
Reviewed by:	dougb
2003-05-05 15:38:41 +00:00
mtm
072405a16b The vi(1) recovery script cannot send mail regarding interrupted
sessions if the mailer is dynamically linked. This happens because
on some systems the ldconfig script is run after the vi recovery
script.

I thought I had already fixed this with revision 1.5 of rc.d/ldconfig,
but apparently not. So, in addition I'm making ldconfig a requirement
of this script.

Approved by:	markm (mentor)(implicit)
PR: bin/51767
2003-05-05 09:53:32 +00:00
bde
d4f2921d53 Catch up with 1995(?) for modem speeds (use 57600 instead of 115200 for
the example host to modem speed).
2003-05-05 03:26:50 +00:00
bde
5d0d6a02a9 When resetting to defaults, reset drainwait to the current default pf
`sysctl -n kern.drainwait` instead of to the boot-time default of 300.
2003-05-04 22:46:33 +00:00
akiyama
61dd6146d3 Add RealTek RTL8150 USB to fast Ethernet controller driver.
This driver now supports the Melco LUA-KTX and the GREEN HOUSE
GH-USB100B.

Reviewed by:	imp
MFC after:	2 weeks
2003-05-03 10:16:56 +00:00
dougb
0e1d22951f Hook rc.sendmail back up, it was removed prematurely 2003-05-02 22:27:31 +00:00
dougb
ee8a1dbf65 This file was removed prematurely. It contains functionality
not currently duplicated by rcNG, and is also relied on by
/etc/mail/Makefile.

Submitted by:	hrs
Pointy hat to:	me
2003-05-02 11:05:57 +00:00
mtm
f79e9f8a5d Huh? When did the etc bits for amd64 get added?
Make sure they're ported over to rc.d.
While I'm at it correct a logic mistake in rc.d/apmd.

Approved by:	markm (mentor)(implicit)
2003-05-02 08:35:17 +00:00
mtm
c78ba46269 Create a symbolic link /dev/vga -> /dev/ttyv0.
We can't remove the sourcing of /etc/rc.devfs yet in case the user
might have custom entries in it. We will have to come up with an
/etc/devfs.rules or something to make this kind of thing easier.

Approved by:	markm (mentor)(implicit)
2003-05-02 08:10:58 +00:00
dougb
3c434e26ac Per previous announcement, remove the old version of the rc system.
All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.
2003-05-02 05:27:35 +00:00
markm
dc6ac7d338 The PAM module pam_krb5 does not have "session" capabilities.
Don't give examples of such use, this is bogus.
2003-04-30 21:57:54 +00:00
markm
6263a95147 Make the defaults for Kerberos 5 a little more up-to-date. 2003-04-30 20:58:49 +00:00
markm
fca08ac062 Change the name of the kadmind binary to match reality, now that
KerberosIV is no longer an issue.
2003-04-30 20:42:41 +00:00
mtm
312db669d8 This script should require mountcritremote, since that is the last
script at which a filesystem will be mounted in FreeBSD. Without this
the script was being inserted later in the boot than necessary.

Approved by:	markm (mentor) (implicit)
Reviewed by:	dougb
Noticed by:	Andrzej ToboÅa <san@wilk.2a.pl>
2003-04-30 07:12:09 +00:00
mtm
8cf685c42f This particular debugging statement is very verbose, making the rest
of the debug output hard to follow. Comment it out. It's commented out
in NetBSD's version as well.

Approved by:	markm (mentor)(implicit)
2003-04-30 03:03:47 +00:00
mtm
7431e50809 o Make the 'Ip-filter module loaded' messages informational
o Make 'No ipnat rules' a warning
o Remove unecessary ' ..'

Approved by:	markm (implicit)
2003-04-30 02:54:17 +00:00
mtm
b4c1eb1184 Running the script with restart or manually stopping and starting
it doesn't work because the start_cmd doesn't enable ipfilter if
it is currently disabled.

Approved by:	markm (mentor) (implicit)
Submitted by:	Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
PR:		conf/46103
2003-04-30 02:19:38 +00:00
imp
6a3a08e143 We need pccard start too. 2003-04-29 15:32:02 +00:00
jwd
7a95616301 new netstart
atm should be correct but is commented out pending appropriate testing.

Submitted by:	mtm
2003-04-29 12:26:37 +00:00
jwd
77b2ee578f Add rc.subr (found during new /etc/netstart testing) 2003-04-29 12:08:43 +00:00
mdodd
a5c093a547 Add entries for Multicast DNS. 2003-04-29 09:54:06 +00:00
dougb
c0981065fb Move the mktemp invocation inside motd_start to avoid creating temp
files when uptdate_motd and clear_tmp_enable are both NO.

Submitted by:	Alex Deiter <tiamat@komi.mts.ru>
2003-04-29 06:56:40 +00:00
dougb
43e4f3c796 Add a dire warning about the impending demise of the old rc system.
Suggested by:	scottl
2003-04-27 07:08:07 +00:00
imp
8f15fb18ae xten isn't needed after tw is gone.
Approved by: re@ (scottl)
2003-04-27 05:49:53 +00:00
imp
f37508e69a xten user no longer needed. 2003-04-27 05:45:29 +00:00
mtm
e09371f66b Use $ipnat_program instead of the hardcoded path, which was wron
anyways.

Approved by:	markm (mentor) (implicit)
Submitted by:	leafy <leafy@leafy.idv.tw>
2003-04-24 18:14:52 +00:00
des
3c5f7b448b Add nullok to the pam_unix line. 2003-04-24 12:22:42 +00:00
mtm
d64a7ed2b2 o Add support for running /etc/rc.early
o Re-run through /etc/sysctl.conf a second time just before we set
  the securelevel.

Approved by:	markm (mentor) (implicit)
Reviewed by:	dougb
2003-04-24 08:27:29 +00:00
mtm
687df7e49a Make ipfilter, ipnat, ipmon, and ipfs behave more like the old rc.
o group them together so they run one right after another
	o use the NetBSD supplied ipfs script instead of tacking
	  it on to the end of ipnat
	o Load the ipl module in ipnat and ipfilter, if it's not already
	  loaded
	o In ipmon and ipnat show a warning if neither ipfilter nor
	  ipnat is enabled or the ipl module is not loaded, and exit

Approved by:	markm (mentor) (implicit)
Tested by:	leafy <leafy@leafy.idv.tw>
2003-04-24 08:20:47 +00:00
matusita
028c5b7e9c Set appropriate tag "fsck" to logger(1) for background fsck messages.
PR:		51174
Submitted by:	Alex Popa <razor@ldc.ro>
2003-04-23 15:38:02 +00:00
des
fc7ae0f23a Make sure debug.log only gets debugging messages. 2003-04-23 13:08:31 +00:00
mtm
09def0e0e4 Run interface specific scripts for dhcp interfaces too.
This is how it has always been done (before and after rc.d) but
I somehow failed to include it when I broke up network1.

Submitted by:	bmah
Approved by:	markm (mentor)(implicit)
2003-04-20 19:14:16 +00:00
rwatson
c5c931a633 Remove the 'te' label elements from the default configuration, since we
no longer plan on shipping a TE MAC module independent from SEBSD.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-20 03:09:35 +00:00
mtm
976be80799 Spell ${_jail} correctly
Submitted by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Approved by:	markm (mentor) (implicit)
2003-04-19 07:50:32 +00:00
mtm
a4678768eb The changes to rc.d/network1 will not get merged in by
mergemaster if it does not appear in the list of files to install.
2003-04-19 01:56:44 +00:00
mtm
345dfdd42a o Hook the new files up to the build.
o Make sure all the scripts reference rc.d/netif and not rc.d/network1

Approved by:	markm (mentor)
2003-04-18 17:55:05 +00:00
mtm
d6c4a99df0 Make use of the dhclient script. This will bring up/down dhcp
interfaces.

Approved by:	markm (mentor)
2003-04-18 17:53:02 +00:00
mtm
bcd5bc12a0 Break out and rewrite the network setup scripts.
o /etc/network.subr contains common subroutines used for seting
	  up network interfaces
	o rc.d/hostname sets the hostname if not already set
	o rc.d/nisdomain sets the nis domain *after* rpcbind but
	  before the yp* daemons. This fixes issues with temporary
	  hangs when looking up informaion in nis before it's ready.
	o rc.d/netif brings network interfaces (minus dhcp)  up.
	o rc.d/network1 has been disabled and will be retired before
	  RELENG_5. It will be replaced by rc.d/netif

Approved by:	markm (mentor)
2003-04-18 17:51:54 +00:00
gshapiro
2c39632de3 The sendmail binary now has a reasonable default for MaxMimeHeaderLength
built in.  No need to set it here.

MFC after:	1 week
2003-04-18 01:25:41 +00:00
mtm
e2a18fa0d9 Fix typo (and make it more explicit/self-documenting).
Noticed by:	gshapiro
2003-04-16 16:44:00 +00:00
mtm
43cffcd49d Add new knobs for controlling jails in rc.d and document them.
Approved by:	makrm (mentor)
2003-04-16 16:29:51 +00:00
mtm
dfec96d292 o Add a script to start jails on boot.
o Hook it up to the build

Approved by:	markm (mentor)
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org> (modified)
Prodded by:	mike
2003-04-16 16:27:23 +00:00
shiba
7e34569c26 Add NTT-ME SS-LAN CARD MN128. This card entry has been
committed into NEWCARD.
2003-04-10 17:16:01 +00:00
des
f3dc8cf093 Introduce debug.log which gets debug.* (most of this would otherwise go
to the great bit-bucket in the sky)
2003-04-08 16:14:02 +00:00
yar
086bb8cd4d Stop logging ``authpriv'' messages to the world-readable file
/var/log/messages.  Such messages are for the eyes of authorized
personnel only.

PR:		conf/48170
Discussed in:	freebsd-security
MFC after:	2 weeks
2003-04-03 18:37:49 +00:00
ru
964012a49d Drop the silly notion that fd* entries have both a' and b'
partitions; this does nothing except upsetting disklabel(8).
2003-04-02 20:16:02 +00:00
ru
92f95e3bbd Make disktab(5) MI (repo-copied from etc.i386/disktab). 2003-04-02 20:13:59 +00:00
jhb
043e5e8a9d Remove 220.backup-distfile since it has been deleted.
Reported by:	mdodd
Pointy hat to:	jhb
2003-04-01 20:32:01 +00:00
jhb
a9a67fbbd4 Complete removal of 320.rdist by removing its entry from periodic.conf and
removing the related 220.backup-distfile script and associatd periodic.conf
entry.

Discussed with:	obrien
2003-04-01 17:45:27 +00:00
mtm
eee0bf0058 Make the 'restart' command work. Otherwise, it would successfully
stop ipfw, but not enable it again.

Aesthetic changes
	o Use positve logic (instead of negative)
	o create a 'stop' function, rather than putting the
	  commands in the stop_cmd variable.

Submitted by:	des
Approved by:	markm (mentor) (implicit)
2003-03-30 15:52:18 +00:00
obrien
95fd524e93 320.rdist is OBE as we don't have rdist in the base system any more. 2003-03-29 03:28:28 +00:00
obrien
dc6d40bd10 This is OBE as we don't have rdist in the base system any longer. 2003-03-29 03:27:49 +00:00
sobomax
5944f86bd7 Add pc-card from ARCHOS CD-224E cdrom.
MFC after:	1 week
2003-03-28 11:12:52 +00:00
trhodes
3c76a10190 Update the handbook printing section URL so that it points to the
correct location.
2003-03-25 18:03:11 +00:00
gshapiro
2f96e5120c Fix formatting (spaces -> tab)
MFC after:	1 week
2003-03-25 00:54:05 +00:00
ru
17669c1c4d Directories for Russian manpages. 2003-03-24 09:39:09 +00:00
ume
f7b36b1115 add missing `ipf -s'.
Submitted by:	Mark Huizer <xaa+freebsd@timewasters.nl>
2003-03-22 14:53:23 +00:00
cjc
ceb7614bea Attach the kldxref script to the build/install. 2003-03-17 23:20:48 +00:00
cjc
ebb8a8a6ca A new rc-ng script to build linker.hints files with kldxref(8)
automatically at boot time. Associated rc.conf(5) knobs and
documentation are included.
2003-03-17 23:15:53 +00:00
dougb
b47e31825b Make it more clear how to disable keybell, and where its options are found.
PR:		conf/41772
2003-03-15 08:14:42 +00:00
ru
3a620497c0 Use the canonical form of installing links.
Also, make "ftp" and "ftpd" hard links.

Not objected to by:	des
2003-03-14 09:01:22 +00:00
mux
19fdc8c0a6 Rework the wording of the comment for the security.bsd.see_other_uids
sysctl a bit.

Approved by:	jmallett
2003-03-13 18:43:50 +00:00
ru
908ba1df7f Record the BOG death here too. 2003-03-12 14:29:15 +00:00
ru
469deabd15 No tabs here. 2003-03-11 11:14:34 +00:00
markm
1e22e1bfaf Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
sam
0c7eb38941 add ath to the list of Ethernet devices 2003-03-07 23:43:09 +00:00
peter
dc4b30a5b5 Stop creating /usr/include/netns 2003-03-05 19:21:23 +00:00
ume
623619f793 Latest IPFilter requires flushing rules for IPv6 separately
from IPv4.
2003-03-05 17:16:22 +00:00
ru
60bbbcf930 Make sure the default install comes with /etc/login.conf hashed. 2003-03-03 11:19:18 +00:00
dougb
35b1e16711 Don't try to deal with vi.recover if the directory doesn't exist
PR:		conf/24515
Submitted by:	Jeroen C. van Gelderen <jeroen@systemics.com>
2003-02-21 09:37:20 +00:00
mtm
e9bf8c85cf We stopped reloading rc.conf for each script a long time ago. Things
shouldn't depend on that any more.

PR:		conf/48332
Approved by:	markm (mentor)(implicit)
2003-02-16 20:46:08 +00:00
des
7addf1f074 Alphabetize. 2003-02-16 13:07:20 +00:00
des
4f1264159e Back out previous commit now that pam_opieaccess(8) has an allow_local
option.
2003-02-16 13:04:27 +00:00
des
d0ae5c8b4f Add the allow_local option to all pam_opieaccess entries. 2003-02-16 13:02:39 +00:00
des
87c987bdea Add the want_agent option to the commented-out "session" pam_ssh entry. 2003-02-16 13:02:03 +00:00
des
d19dfaf542 Allow password logins from localhost (including the console). 2003-02-15 23:17:40 +00:00
keramida
549633e701 Remove {man,cat}n from /usr/share/man. They had been added for TCL,
but it's no longer a part of the base-system and buildworld works fine
here after deleting them both on disk and from the mtree spec files.

Not objected to by:	kris, silence on -audit
2003-02-15 23:05:48 +00:00
jhay
9813b991ea kenv moved from /usr/bin/ to /bin/. 2003-02-15 16:34:14 +00:00
jhay
cde4768a94 Add another backslash ('\'). 2003-02-15 16:29:20 +00:00
shiba
352204f78c Add YIS YWL-11B. 2003-02-15 14:04:05 +00:00
mtm
19b2c5b603 When cleaning /var/run make sure the control files are not removed
unconditionally when the script is being rerun (when it is called
with the reload argument).

PR:		conf/47517
Approved by:	markm (mentor)
2003-02-15 06:00:11 +00:00
imp
fd1b0ba415 Back out 1.143 and 1.144. They are no longer needed now that we start
devd later in the boot process.  This should fix all the problems
people have had with those commits.  Diskless should be working again,
and those that mount /usr with nfs should be able to do that again too.
2003-02-12 04:26:10 +00:00
imp
dc5001f34d Start devd after the networking stuff, but before we mount the
critical remote systems.  This lets us run commands from devd that
aren't on the / partition.  This also means we can remove some kludges
from the networking startup that I added a while ago that caused other
problems.

There's still a race in starting devd that needs to be fixed in devd
so that things present at boot will be configured by the time devd
does daemon().  That race will be fixed later.
2003-02-12 04:22:40 +00:00
imp
1ab9acc08f Now that we don't have the NODEVFS case, we can just check to see if a
device node exists directly to see if OLDCARD is compiled into the
kernel.  This eliminates the scary warning that people using NEWCARD
are seeing when they have pccard_enable=YES in their /etc/rc.conf
files.
2003-02-12 04:12:23 +00:00
ache
046dc15fed Apply man.alias to /usr/share/openssl/man too 2003-02-11 01:08:51 +00:00
nectar
b8b3bc3da7 Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.
2003-02-10 19:57:56 +00:00
des
0d733a1adf Major cleanup & homogenization. 2003-02-10 00:50:03 +00:00
des
55b6aeb7af No idea what this is for, and it doesn't make much sense. If a port needs
it, it can install its own copy in /usr/local/etc/pam.d/.
2003-02-10 00:49:44 +00:00
des
a421016872 There's no reason to have two identical policies for FTP servers, so
make ftp a symlink to ftpd.
2003-02-10 00:47:46 +00:00
joerg
356d4294bc Set the expected permissions of /dev to 0555 since this is what devfs
is using anyway.  Otherwise, "make installworld" insists on resetting
them to 0755.
2003-02-09 19:33:53 +00:00
gshapiro
339e222b8c Allow multiple aliases files to be rebuilt
PR:		bin/40540
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
MFC after:	3 days
2003-02-08 21:55:31 +00:00
gshapiro
59aa06f20b /etc/rc.network isn't built to handle a value of "DEFAULT" (nor should it
be).  Using that string leads rc.network to execute:

# sysctl -w vfs.nfs.bufpackets=DEFAULT
vfs.nfs.bufpackets: 4 -> 0

Which isn't what was intended.

PR:		conf/31280
MFC after:	3 days
2003-02-08 20:55:56 +00:00
gshapiro
e51c0093ee Add a comment regarding the use of the msgs alias with sendmail to help
users who want to enable it.

PR:		misc/39951
2003-02-08 19:00:12 +00:00
phk
2eb1711d79 Install geom include files. 2003-02-08 13:25:48 +00:00
keramida
7415d84487 Misc grammar, typo and wording fixes of comments.
PR:		docs/41034
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
2003-02-07 20:58:38 +00:00
trhodes
e0cff4f659 Add a header: #!/bin/sh.
PR:	44363
2003-02-06 22:00:38 +00:00
des
371378b16a Use pam_group(8) instead of pam_wheel(8). 2003-02-06 14:33:23 +00:00
ru
692dc67d87 NODEVFS cleanup. 2003-02-05 15:31:43 +00:00
maxim
58714bc763 ep(4) does not have link0 and link1 options.
PR:		conf/46651
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
Reviewed by:	imp, mdodd
MFC after:	1 week
2003-02-04 14:10:55 +00:00
des
06dacd2b63 Don't enable pam_krb5 by default - most people don't have it since most
people don't build with MAKE_KERBEROS5 defined.  Provide commented-out
usage examples instead, like we do everywhere else.

Pointy hat to:	des
2003-02-03 14:45:02 +00:00
des
139e32e2e9 Enable pam_krb5 for sshd. I've had this in my tree for ages. 2003-02-02 18:41:26 +00:00
phk
56f36da64b NODEVFS cleanup: Goodbye, and good riddance! 2003-02-01 22:22:50 +00:00
phk
e1ec1d9b6a NODEVFS cleanup: Don't ever install MAKEDEV anymore. 2003-02-01 22:22:06 +00:00
dbaker
bc6529e8e2 Re-add information for applying for IP space from a registry since that
hasn't been included since the ancient rs.internic.net address was
removed.

Offer the option of the five regional registries.

MFC after:	3 days
2003-01-28 21:29:23 +00:00
jake
dceb9ea3ad Change ofwcons to use the output-device property from the firmware for the
name of the device that it creates.  Update /etc/ttys accordingly.

An alias is created for the old name so that old /etc/ttys will continue to
work, but due to aliases being implemented as symlinks in devfs you cannot
login as root when using the alias device.

Discussed with:	grehan
2003-01-27 04:42:17 +00:00
mtm
983ddd99ac NETWORKING should also mean routing daemons are up.
Approved by:	markm (mentor)
2003-01-25 23:14:08 +00:00
mtm
8e26f7f38e Start isdnd before ppp for those folks who use ppp-over-isdn.
Approved by: markm (mentor)
2003-01-25 23:03:48 +00:00
mtm
92d7a4a781 Read /etc/rc.subr.
Approved by: markm (mentor)(implicit)
Noticed by: kris
2003-01-25 20:02:35 +00:00
mtm
1eab751023 Cleanup as many instances of rc.conf variable use before
calling load_rc_config().

Approved by:	markm (mentor) dougb
2003-01-24 00:37:52 +00:00
mtm
dd00a0e068 Missing '$'
Approved by: markm (mentor)(implicit)
2003-01-23 04:31:55 +00:00
mtm
989526f031 Write out the debug messages (from the previous commit) only if
the evaluated command exists.

Approved by: markm (mentor)(implicit)
2003-01-20 19:30:15 +00:00
mtm
b5b69a5ad6 Add a missing OR.
Approved by: markm (mentor)(implicit)
2003-01-20 18:57:16 +00:00
mtm
823567a323 Make the debug messages, for when a script rolls its own start routine,
more usefull. Currently it just says 'xxx_cmd'; whereas with this
change it will name the routine that's being run.

Approved by: markm (mentor)
2003-01-18 05:25:59 +00:00
shiba
9646b8b5a9 Add BUFFALO LPC-CF-CLT(10Base-T Compact Flash Ether Card). 2003-01-18 02:14:23 +00:00
shiba
9d1cc5d227 Add Allied Telesis WR211PCM. 2003-01-17 18:50:00 +00:00
ache
5098fa045d Add missing ca_ES, lt_LT, sr_YU aliases 2003-01-17 00:56:34 +00:00
mtm
fbce5d90e8 Purely cosmetic change.
The # PROVIDE line should precede the # REQUIRE line.

Approved by: markm (mentor)
2003-01-16 02:27:52 +00:00
anholt
342c144c76 Add missing lib/X11/xedit/lisp directory. 2003-01-16 02:17:28 +00:00
mtm
10e79ccaf5 Add rc_debug knob to rc.conf. The code for it has been in rc.subr for
some time now.
Document all knobs introduced by rc.d

Approved by: markm (mentor)
Reviewd by: gordon (earlier revision)
2003-01-14 15:50:17 +00:00
mtm
fe7fe771b4 Finish merging in rev. 1.124 of rc.network, so that natd can be used
withough the $natd_interface having to be explicitly specified on the
command line.

Approved by: markm (mentor)
Submitted by: Aaron D. Gifford <agifford@infowest.com>
PR: conf/47024

MFC: upon re approval
2003-01-14 15:43:02 +00:00
trhodes
9278d20736 Add an entry for the Dlink Air 660 Wireless PC Card.
PR:		46977
Submitted by:	gioria
Approved by:	imp
2003-01-14 00:50:30 +00:00
mtm
b334c63fc3 Fix the named script to find the correct pid file for the
named(8) daemon by providing a new rc.conf knob: named_pidfile
that defaults to the path specified in the system-installed named.conf(5).

Approved by: markm (mentor)
Reviewed by: dougb
Noticed by : Galen Sampson <galen_sampson@yahoo.com>
	     Dan Pelleg <daniel+bsd@pelleg.org>
PR: conf/46402
MFC:	2 weeks (with re@ approval)
2003-01-12 04:53:54 +00:00
imp
b048d51af9 Either compaq has two variants of the WL200, or the old entry is
wrong.  Go ahead and include a second entry for the WL200 until I can
sort this out.

Submitted by: Matt Pearce
2003-01-10 18:35:20 +00:00
imp
2ab7ba2866 Move devd.conf here and install it by default (didn't do a repo copy
because there's so little history to save).

MFC After: 10 millifortnights
2003-01-09 04:05:06 +00:00
wollman
5242273de5 Tighten wording of comment.
Suggested by:	gshapiro
2003-01-08 18:52:32 +00:00
wollman
61dd0fc0c7 Do not do manually what sendmail(8) can do better automatically.
Tell sendmail to clean up its own host status cache.
The error condition handling could probably be done better.
2003-01-08 18:51:45 +00:00
se
64919e0885 Add support for bzip2ed log files. 2003-01-05 21:32:50 +00:00
schweikh
ecfe6a4fd2 Comment out imap3@220 and imap4-ssl@585 which are not used.
PR:		conf/46294
Submitted by:	Larry Rosenman <ler@lerctr.org>
MFC after:	2 weeks
2003-01-04 16:03:56 +00:00
schweikh
e119719385 Add 1701/l2tp, layer 2 tunnelling protocol, as per IANA services.
PR:		conf/35240
Submitted by:	Annihilator <annihilator.c@usa.net>
MFC after:	2 weeks
2003-01-04 15:46:22 +00:00
schweikh
c353aec149 Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
rwatson
e84a55c60a Further sync to kernel make_dev(): since we don't provide group access
to /dev/raidctl, don't set the group to operator.  (This isn't a
storage device, it's a control device).

Also, since umask here is already restrictive, we don't need to
explicitly set the mode.

Submitted by:	bde
2002-12-31 16:45:47 +00:00
simokawa
cca754d3d8 add fwmem* and fw*. 2002-12-31 06:38:35 +00:00
rwatson
afad21da80 Set the mode on the raidctl device to 0600.
Reviewed by:	scottl
2002-12-31 06:14:59 +00:00
simokawa
21e8642ea6 Install /sys/dev/firewire/*.h under /usr/include/dev/firewire
for userland utilities.
2002-12-30 09:45:03 +00:00
ache
9790df5097 Add directories for upcoming ca_ES locale 2002-12-30 08:52:05 +00:00
dillon
bc3cae608b Synchronize old rc.diskless scripts from new rc.d/ scripts 2002-12-28 18:47:53 +00:00
dillon
06070f0d42 Redo the initial rc_ng check to avoid rc.conf pollution occuring too early,
initdiskless may retarget /etc and various rc.conf files.  The initial check
is now done in a subshell.
Reviewed by:	Mike Makonnen <mtm@identd.net>
2002-12-23 07:09:44 +00:00
dillon
088ad71293 Forgot to add rcconf.sh to the Makefile, and forgot to rename rcconf to
rcconf.sh in the last commit.
2002-12-22 22:25:53 +00:00
dillon
23f9424abc Do not unconditionally load the configuration files for the RCNG case.
Instead, load them as part of the rc.d system.  This allows us to prioritize
the initidiskless script so it runs before the configuration files are loaded
and allows us to get rid of the exit 2 hack in /etc/rc.  The exit 2 never
worked anyway since it did not unset the prior configuration, causing the
diskless code to not operate properly.

Do a major cleanup and revamping of the diskless code for RCNG.  This will
be backported to the non-RCNG scripts as well as -stable.

With suggestions from: Mike Makonnen <mtm@identd.net>
MFC after:	7 days
2002-12-22 22:18:41 +00:00
dillon
8fe3a51b54 Revamp the way rc.diskless1 creates and populates memory filesystems. Make
the whole thing generic.  That is, /conf/base, /conf/default,
/conf/${ipba}, and /conf/${ip} are all handled the same way.

Introduce an NFS remounting feature via the /conf/base/<dir>/diskless_remount
so you can avoid dup'ing system directories in /conf (described in rc file).

Introduce a memory filesystem sizing feature via the /conf/base/<dir>/md_size
file that allows you to override the default memory filesystem size.

Introduce a file containing relative paths to remove for each memory filesystem
directory as /conf/base/<dirname>.remove.

Make the cpio feature more generic (applies to any filesystem) (aka
/conf/base/<dirname>.cpio.gz).

Allow any root directories to be created as a memory filesystem via the
/conf/*/* mechanism.

Replace the copyright notice with a reference to the COPYRIGHT file and
do other cleanups.

(documentation and man page updates to follow).

MFC after:	3 days
2002-12-21 00:30:08 +00:00
mckusick
d554a411cc Delay an optional amount of time after booting before starting a
background fsck. The delay defaults to sixty seconds to allow
large applications such as the X server to start before disk I/O
bandwidth is monopolized by fsck.

Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
Sponsored by:   DARPA & NAI Labs.
2002-12-18 07:21:31 +00:00
eric
cb8cf26896 Add Web Objects.
Obtained from:	IANA
Sponsored by:	Apple
2002-12-17 23:59:10 +00:00
green
1a12b8fd81 Back out the previous commit, since there could be dire consequences if
/etc/rc were accidentally executed (as requested by other committeers).
2002-12-17 21:23:36 +00:00
green
089493d568 /home/green/tmp/cvsSFosXg 2002-12-17 20:39:38 +00:00
eric
0ea98abfee Add IPP (Internet Printing Protocol) and remove blank lines.
Obtained from:	IANA
Sponsored by:	Apple
2002-12-17 19:42:07 +00:00
mbr
9729cc6a4e Change the name for the local unix-socket based protocol
from "unix" back to "local".  Add some compat stuff so both
ways work for some time.

Reviewed by:    phk
Approved by:    imp (UPDATING)
Requested by:   iedowse, lukem@netbsd.org
2002-12-16 22:24:26 +00:00
dougb
744b704b20 Bring in the settings from /etc/rc.devfs, which include the vga symlink
that's being replaced here. This is what /etc/rc does now.

There is no NetBSD devfs, so there is no compatibility issue.

Not objected to by:	FreeBSD-rc@yahoogroups.com
Approved by:		re (murray)
2002-12-15 21:56:53 +00:00
imp
f97386bcf5 o Don't consider LOOPBACK devices as configured... 2002-12-13 23:36:31 +00:00
fenner
e8395e7a1c Renumber divert.
Forgotten by:	fenner
Approved by:	re (murray)
2002-12-13 09:18:09 +00:00
imp
3307f81aef o redirect the grep to /dev/null
o use ifn rather than interface in rc.network
o merge into rc.d/network1

Approved by: (re blanket)
2002-12-12 09:31:10 +00:00
eric
ca72561154 Add Remote AppleEvents/PPC Toolbox.
Approved by:	rwatson
Obtained from:	IANA
Sponsored by:	Apple
2002-12-12 03:05:56 +00:00
imp
bb33d27b89 o Don't do anything if the interface is already up.
o Only delay in pccard_ether when we're doing dhcp and starting the interface.

Approved: (re blanket for devd)
2002-12-11 23:30:34 +00:00
keramida
2d73b094e0 Avoid using perl in the periodic & security scripts. This brings the
base system one step closer to being totally perl-free.

Approved by:	re (jhb)
2002-12-07 23:37:44 +00:00
imp
e797299568 Make pccardd have -z by default. This fixes a few startup problems
where people want to have the cards configured.  Lack of -z is a speed
optimization.

Submitted by: many voices on mobile@
Approved by: re@ (rwatson)
MFC after: 3 days
2002-12-06 05:23:37 +00:00
des
fabc8e6b97 Since OpenSSH drops privileges before calling pam_open_session(3),
pam_lastlog(8) can't possibly work, so let OpenSSH handle lastlog.

Approved by:	re (rwatson)
2002-12-03 15:48:11 +00:00
rwatson
0394af0753 Don't install old LOMAC include files; do install new mac_lomac
include files.

Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:05:32 +00:00
imp
52ae821f4d Two fixes for devd:
1) Move devd to the start of the head of the boot process rather than the end.
2) Disable devctl if devd is disabled.
2002-11-30 00:40:53 +00:00
ru
f18be86f54 Removed the vestiges of modems(5).
Approved by:	re
2002-11-27 16:45:10 +00:00
rwatson
49c35af559 Update rc scripts to load mac_lomac instead of lomac.
Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-26 17:51:03 +00:00
ume
97c615173c compliance with RFC3152.
PR:		standards/45557
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
Approved by:	re
2002-11-26 07:55:44 +00:00
tom
5203fce38f Clarify adjkerntz(8) note and use complete sentences in comments.
PR:		misc/45493
Approved by:	re (rwatson)
2002-11-22 16:13:39 +00:00
julian
91f573b4b9 Make directory for bluetooth include files. 2002-11-21 00:36:19 +00:00
thomas
5ac11722e0 Do not emit a message on stderr when one of the compared files
is shorter than the other.

Reviewed by:	roberto
MFC after:	3 days
2002-11-16 14:58:39 +00:00
thomas
cb0ef308ed Remove incorrect output redirection.
Reviewed by:	roberto
Committed from:	EuroBSDCon Amsterdam
MFC after:	3 days
2002-11-16 14:57:12 +00:00
ru
bb7d82ec37 Backout rev. 1.263.
Approved by:	jmallett
2002-11-15 18:44:09 +00:00
ru
58f2aa4623 Fixed two typos in comments. 2002-11-15 08:26:36 +00:00
obrien
6690b4c96e [DAIVD O'BRIEN's OPINION]
Head off what I think is an abuse of the TRB, and disable lukemftpd.
2002-11-12 17:31:12 +00:00
imp
bddb880596 Turn off devd until I have a devd.conf file that I can install one
that does no harm.
2002-11-12 07:10:45 +00:00
imp
3470d836f5 Add devd_enable
Submitted by: dougb
2002-11-10 09:13:31 +00:00
gordon
7042fd2d73 By popular demand, make the debug log to syslog.
Remove an extraneous return too.
2002-11-09 17:34:21 +00:00
imp
47abaaa12f Add devd to the mix. It should run basically last at this point.
# I've tested this, but only lightly, so please email me with problems.
2002-11-09 07:45:53 +00:00
gordon
3db5a69731 Diff reduction to NetBSD:
Fix a minor grammer nit.
Get rid of _echo that uses logger and just call logger in the 3 routines
that need it.
Add a comment referencing rc.conf(5) in the case of an incorrectly set
variable.

This pulls rc.subr up to 1.51 of rc.subr. I skipped 1.49 (systrace support)
since I don't have systrace.

Obtained from:	NetBSD
2002-11-08 17:06:15 +00:00
dougb
0afb27e0dd Import the latest hints file from Internic. The most important change
is that J has moved, however I'm sure you'll all be very disappointed
to hear that you can no longer retrieve this file via gopher.
2002-11-06 09:21:39 +00:00
fenner
01c9c8676e Force rpcbind to start even if it wasn't enabled. This solves the ypbind
problems people were having at startup.

Approved by:    re
2002-11-04 20:51:20 +00:00
markm
d251826f8a Restore /var/games; lots of ports' games use it. 2002-11-04 07:50:48 +00:00
ume
c960e3b4f8 Add IPv6 setup for ipfilter. `ipv6_ipfilter_rules' was added
to specify rules definition file for ipfilter.  The default is
/etc/ipf6.rules.  If there is a file which is specified by
'ipv6_ipfilter_rules', IPv6 rule is installed.

Reviewed by:	Ronald van der Pol <Ronald.vanderPol@rvdp.org>
MFC after:	1 week
2002-11-02 08:21:26 +00:00
gordon
99c5c5a357 Wrap test case in an if statement to avoid crunching a return value. 2002-10-31 02:06:05 +00:00
tobez
69090b6bc5 Remove Perl bits still lurking in BSD.local.dist. It is a
responsibility of lang/perl5 to deal with those nowadays.

Requested by:	kkenn
2002-10-29 16:48:03 +00:00
obrien
0d6a90c084 Tweak the warning language. 2002-10-29 08:41:12 +00:00
fenner
1d30fbbec0 Fix "err" usage.
PR:		44284
Submitted by:	Sergey Mokryshev <mokr@mokr.net>
2002-10-26 00:18:06 +00:00
fenner
9acfe9bbbc Fix two typos. Using "-eq" instead of "=" in a [ caused an error when
an entry in /etc/sysctl.conf didn't exist.  Fixing this exposed a minor
typo "exits" vs. "exist".

However, there doesn't appear to be any provision to run this with
the "lastload" argument, meaning that the error will never appear.
2002-10-25 23:02:54 +00:00
ache
537979635e Add lt_LT.ISO8859-13 2002-10-25 22:00:34 +00:00
markm
62dccc615d No need for this config file; games are gone. 2002-10-25 19:11:19 +00:00
thomas
d5dea66743 Add newly-added sripts to FILES.
Reviewed by:	roberto
2002-10-25 15:23:26 +00:00
thomas
5f04582b98 Add a new /etc/periodic/security script to check for packets
rejected by ipfilter (510.ipfdenied), and a corresponding periodic.conf
knob (daily_status_security_ipfdenied_enable).

Reviewed by:	roberto
Approved by:	re@
2002-10-25 15:16:54 +00:00
thomas
aa8ebf7b66 Factor out code across various /etc/periodic/security scripts into a
separate file, /etc/periodic/security/security.functions.

Reviewed by:	roberto (mentor)
Approved by:	re@
2002-10-25 15:14:16 +00:00
luigi
d517a81715 Fix a bug in MAKEDEV -- when creating /dev/usb, the code was using
whatever random value was already in $unit. It happened to work
because the variable is often unset, but this is not always the
case e.g. when you call "MAKEDEV sio2 usb ..."

This affects -stable as well.

Reviewed by: n_hibma
Silence from: re
MFC after: 3 days
2002-10-24 17:59:58 +00:00
rwatson
c66d7781b2 # WARNING: lukemftpd does not support PAM, MAC, per-class nologin files,
# or any login.conf resource limits or features; use it only if this is
# appropriate for your environment.  If you require these features, use
# the regular FreeBSD ftpd below.

Discourage users from using lukemftpd if they rely any of these standard
FreeBSD features that are fully supported by our native ftpd.  There
may be other features that are not yet supported that I have not yet
discovered.
2002-10-24 15:46:10 +00:00
rwatson
b12ba102b7 Install mac_partition include files.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-24 15:25:37 +00:00
phk
26cf79a9d1 Invert the logic of the NO_MAKEDEV options to match the 5.0-R default install. 2002-10-22 15:01:50 +00:00
rwatson
88f38b7e83 Hook up a sample mac.conf to the install. The sample basically
tells applications to print labels for all of the TrustedBSD-
generated policies, if they are present.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-22 14:38:49 +00:00
markm
4e5361837a Do not build the majority of the games. Remaining are the
"utility-like" games and everyone's favourite, fortune(6).
2002-10-20 11:18:56 +00:00
scottl
d3d7d15e95 After much delay and anticipation, welcome RAIDFrame into the FreeBSD
world.  This should be considered highly experimental.

Approved-by:	re
2002-10-20 08:17:39 +00:00
ache
2297825a5f Add sr_YU locale directories
Submitted by: Toni Andjelkovic <toni@soth.at>
2002-10-19 12:56:56 +00:00
tmm
b5014214f1 Install the include files in sys/dev/ofw. 2002-10-18 15:30:50 +00:00
sam
b1242a881d install "fast ipsec" include files 2002-10-18 04:21:29 +00:00
rwatson
954853597a Exempt the "wheel group requirement" by default when su'ing to root if
the wheel group has no explicit members listed in /etc/group.  This adds
the "exempt_if_empty" flag to pam_wheel in the default configuration;
in some environments, it may be appropriate to remove this flag, however,
this default is the same as pre-pam_wheel.

Reviewed by:	markm
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-18 02:39:21 +00:00
sobomax
5e997d7aa2 Fix silly typo: loacal --> local. 2002-10-17 23:46:32 +00:00
keramida
e649981e1e Replace old, not-working URL for an online index of DNS blacklist
servers with a reference to the Google directory.

Reviewed by:	gshapiro
MFC after:	1 week
2002-10-16 22:52:56 +00:00
rwatson
14fa9f0572 Remove root from the 'guest' group: missed in a previous pass.
Spotted by:	jhb
2002-10-14 20:55:49 +00:00
rwatson
ddabf91b24 Remove root from the kmem, sys, tty, and staff groups in the default
configuration.  Root privileges override DAC on local file systems and
therefore root does not generally need to be a member of a group to
access files owned by that group.  In the NFS case, require explicit
authorization for root to have these privileges.

Leave root in operator for dump/restore broadcast reasons; leave root
in wheel until discrepencies in the "no users in wheel means any user
can su" policy are resolved (possibly indefinitely).
2002-10-13 17:00:37 +00:00
rwatson
85da7d49d6 For consistency with other entries in group, don't put the daemon or
xten users in their groups explicitly--we pick that up from the gid
field in master.passwd.
2002-10-13 16:26:26 +00:00
schweikh
376c4ff16d s/dependancy/dependency/ 2002-10-12 13:49:21 +00:00
schweikh
8fc6eb18c2 Fix style bugs:
* Space -> tabs conversion.
* Removed blanks before semicolon in "if ... ; then".
* Proper indentation of misindented lines.
* Put a full stop after some comments.
* Removed whitespace at end of line.

Approved by:	silence from gordon
2002-10-12 10:31:31 +00:00
dd
530cf8d0fc Aesthetics: Output a prefix before sourcing rc.local as the old rc
script did.  Stuff in rc.local frequently has lines like
"echo -n ' service_name'" which look ugly without a prefix and a
trailing period.  Likewise for rc.shutdown.local for consistency.
2002-10-12 07:23:43 +00:00
dd
de82f46034 Aesthetics: Most (all?) other messages output at boot time have
trailing periods, so why shouldn't this one?
2002-10-12 07:21:18 +00:00
joerg
c5e6c5cc69 When considering temporary files for deletion, don't examine the mtime
and atime only, but also the ctime.  Otherwise, files extracted from
tar or zip archives will immediately be declared stale since they've
got their mtime reset to the original mtime.

Reviewed by:	brian
MFC after:	1 week
2002-10-06 18:48:20 +00:00
scottl
b8d6b54f17 Remove matcd from MAKEDEV.
X-MFC after:	ASAP
2002-10-05 18:28:48 +00:00
sam
186bdf29fe add support for /dev/crypto 2002-10-04 20:44:46 +00:00
sam
c6145fa466 install sys/opencrypto include files in /usr/include/crypto 2002-10-04 20:44:28 +00:00
schweikh
7a908da275 Fix all whitespace style bugs where spaces have been used
where tabs should have been. Cut & paste disease?

Spotted by:	vi(1) tabstop=4
MFC after:	2 weeks
2002-10-03 20:39:29 +00:00
dd
badf7406b0 In a diskless setup, rc.d/initdiskless may overwrite parts of /etc on
a per-machine or per-cluster (with different ways of expressing what's
part of a cluster) basis.  In order for this to be effective, rc.conf
has to be reread after initdiskless is finished.  Implement this by
adding a hook to etc/rc which rereads rc.conf by request.  This can
also be implemented by renaming initdiskless to initdiskless.sh and
sourcing rc.conf there manually, but it was decided that, that would
be uglier than a hook in etc/rc.

Developed in concert with:	gordon
2002-10-02 00:59:14 +00:00
ru
a25cb2cb01 test -h is deprecated; use -L instead.
PR:             bin/40846
2002-10-01 13:29:45 +00:00
mdodd
1339acf1bc - Recognize 'idt' interfaces.
- The start command is 'atm_start' not 'start_cmd'.
2002-09-30 08:01:43 +00:00
mdodd
40688fb713 Recognize 'idt' interfaces. 2002-09-30 08:01:16 +00:00
imp
e0b86743f3 SAMSUNG SWL-2000P PCI Card
Submitted by: Robert Dezorzo
2002-09-30 01:19:52 +00:00
imp
a113fbcc96 Psion Dacom Gold Card Ethernet
Submitted by: Rick Hoppe
2002-09-30 01:07:28 +00:00
imp
a03c617d5b Generic Prism2.5 card
Submitted by: Matt Peterson
2002-09-30 00:59:05 +00:00
imp
c959529205 Belkin F5D5020 pccard.
Submitted by: Philip Pereira
2002-09-30 00:51:49 +00:00
imp
f76c678f62 Entry for I-O Data PCET/100-CL
Submitted by: MATSUO Masahiko-san
2002-09-30 00:40:23 +00:00
imp
1d7cc002be oops, last second botch: fix extra 'i' 2002-09-29 23:16:08 +00:00
imp
c96da06dbc o Belkin wireless card
PR: 38919
Submitted by: Tommy Johnson

o IBM IDE CDROM

PR: 39537
Submitted by: Kevin Van Maren

o T-Sunus 130 card

PR: 41802
Submitted by: Oliver Schneider
2002-09-29 23:13:08 +00:00
imp
14157d315e o FreeSPirit ISDN/56K modem card
o No-name OEM Prism card
o ActionTec Prism card
o ZoomAir 11Mbps High Rate wireless networking

PR: 41929, 41928
Submitted by: Bruce M Simpson

o Dynalink L100C16

PR: 41938
Submitted by: Marco van de Voort
2002-09-29 22:51:31 +00:00
imp
239ff6e820 Newer Netgear MA401RA entry.
Submitted by: Michael Ranner
2002-09-28 17:36:52 +00:00
gordon
77a32faecd Fix moused so you can use the stop command
Reported by:	wa1ter@myrealbox.com
2002-09-27 16:54:21 +00:00
imp
3842cc97c3 Two fixes:
1) Add new card entry for nortel eMobility wi card (from email
	   that I've lost the sender on :-(
	2) put ata devices at config 0x1 rather than auto.  This should be
	   better for nearly all cases.

MFC after: 3 days
2002-09-27 06:14:29 +00:00
jmallett
91c878cfae Document at least one meaningful RELENG_5 feature, the ability to hide from
a user processes which run with an inequivalent class of UID credentials.

Sponsored by:	Rachel Hestilow <rachel@jerkcity.com>
2002-09-25 22:17:18 +00:00
brian
f00792d994 Add a pkg_version variable so that it's possible to run portsversion instead
of pkg_version in periodic/weekly/400.status-pkg.
2002-09-25 03:01:42 +00:00
ache
3ef9121da4 Make it work with POSIX sort (POS arg).
All old sorts understand -k too.
2002-09-24 18:53:46 +00:00
phk
057abfc3e4 Use mdmfs(8) rather than rolling our own RAM-disks.
Sponsored by:	DARPA & NAI Labs.
2002-09-22 09:48:02 +00:00
markm
48995e5bf3 Rename the ftp log filename for compatability with OpenBSD and NetBSD.
Requested by:	ru
2002-09-21 12:07:35 +00:00
markm
c44cacd7b6 Install empty ftp.log file to start off ftp logging. 2002-09-20 22:12:27 +00:00
markm
c981f012a2 Log ftpd stuff in the same way that we log lpd stuff. Too many ftpd's
are attacked for us to throw away this sort of evidence.
2002-09-20 22:10:01 +00:00
ume
0a1592f6f6 up gif during setup. 2002-09-20 18:31:55 +00:00
gordon
75e692569e Quiet warnings on shutdown. 2002-09-19 20:14:50 +00:00
truckman
b7e61bd801 Unbreak installworld.
Apparently /usr/include/dev grew a couple of subdirectories, but nobody
informed mtree.
2002-09-19 08:35:12 +00:00
kris
7a0374a880 Add some extra directories created by recent versions of XFree86-4
Reviewed by:    anholt (XFree86-4 maintainer)
MFC after:      1 day
2002-09-19 02:05:41 +00:00
rse
e66801ef59 Fix implementation of rc variables $amd_flags and $amd_map_program in
rcNG. The $amd_flags variable was already taken over into $rc_flags
by run_rc_command() when amd_precmd() is executed, so changing
$amd_flags there no longer effects the actual execution of amd.
Hence in amd_precmd() the $rc_flags have to be adjusted instead.
2002-09-18 08:49:50 +00:00
sam
9880adb481 MFC: Elan support;
o Recognize AMD Elan SC520 hostbridge.
o Add initialization code for the AMD Elan sc520 which maps the MMCR
  into KVM and sets the i8254 frequency to the correct value.
o MAKEDEV entry for elan-mmcr device

Reviewed by:	phk, jhb
Approved by:	re(jhb)
2002-09-17 22:39:57 +00:00
peter
3c7c11fd3e Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
gordon
c833eb64d2 Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from the
debug statement.
2002-09-12 17:31:09 +00:00
obrien
17738f685f Use bzip2 instead of gzip for those logs we compress.
Basic idea agreed to by:	rwatson
2002-09-12 17:28:07 +00:00
gordon
4162ccdae9 Remove the sourceing of rc.conf from the debug subroutine. This caused
problems when you try to override variables locally.
2002-09-12 17:27:36 +00:00
jhb
7225ecd822 Cosmetic cleanup to a message. 2002-09-11 19:49:43 +00:00
gordon
6f654f8b89 Quiet warnings about non-existent scripts. My own fault for not testing my
own patches as well as I should.
2002-09-11 01:00:57 +00:00
gordon
c63ff0eabe Fix syscons so it actually does start.
Reported by:	keramida, ume
Submitted by:	keramida
2002-09-09 22:40:34 +00:00
iwasaki
c1fac675ac Add an entry for corega WL PCCL-11.
PR:		conf/42481
Submitted by:	NINOMIYA Hideyuki <nin@jp.FreeBSD.org>
Approved by:	imp
MFC after:	1 week
2002-09-06 17:45:36 +00:00
gordon
608a95397e Convert from ${CMD_OSTYPE} to ${OSTYPE}. This saves a shell invocation on
OS-dependent case switches.
2002-09-06 16:18:05 +00:00
gordon
a5d5310f6f Add a support for a ${OSTYPE} which is set once in /etc/rc.subr. Also convert
all instances of `${CMD_OSTYPE}` to just using ${OSTYPE}. This saves us a
shell invocation on anything that is OS-dependent. I seriously doubt that we
will be spontaneously changing OS types during bootup.
2002-09-06 16:15:29 +00:00
peter
19c8df5e75 rev 1.6 claimed to add 'bootparams', but in fact added 'bootparamd' which
does not exist.
2002-09-06 01:23:31 +00:00
fenner
92c5c2e475 Only try to initialize syscons if /dev/ttyv0 exists and it's not a pcvt. 2002-09-05 23:51:28 +00:00
fenner
c52178c505 Only try to run /usr/sbin/ispcvt if it exists and is executable. 2002-09-05 23:50:34 +00:00
gordon
7df98d3b77 Add an archdep script and hook it up to the build.
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-09-05 20:29:18 +00:00
gordon
082c42fac0 Hook bootparams up to the world 2002-09-05 20:15:08 +00:00
gordon
a8e431204c Introduce bootparamd into the boot scripts. Add a bootparamd_enable and
_flags to rc.conf

Submitted by:	John Hay <jhay@zibbi.icomtek.csir.co.za>
2002-09-05 20:14:46 +00:00
gshapiro
5ddfb9da1b Deprecate the use of sendmail_enable="NONE" as it adversely affects the
new rcNG effort.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-09-03 22:15:57 +00:00
gordon
95fd3a64c7 nfsd doesn't die on SIGTERM but on SIGUSR1, correct script to kill nfsd with
the right signal.
2002-09-03 16:02:57 +00:00
gordon
29aff423a0 We don't use single_mountd_enable anymore. It's just mountd_enable. I must
have missed this in my earlier sweep.
2002-09-02 21:20:58 +00:00
gordon
7be0b4b841 Only install the scripts that actually used on FreeBSD. 2002-09-02 20:49:26 +00:00
gordon
236ea9a641 Commit a revised sendmail script that works the same way as rc.sendmail.
This should also quell warnings when sendmail_enable="NONE"
2002-09-02 20:37:03 +00:00
gordon
e70cf83add Turn rc_ng on by default now, it's time has come. While we are at it, I'd
like to thank Mike Makonnen for all his work on rcNG. Without him, none
of this would have been possible.
2002-09-02 16:35:01 +00:00
hm
407969348e establish default values for /etc/rc.d/pcvt script 2002-08-30 13:01:42 +00:00
hm
b6ea1cf107 integrate pcvt configuration into the new /etc/rc.d startup system
PR:           i386/7100
Reviewed by:  Gordon Tetlow <gordon@FreeBSD.org>
2002-08-30 12:43:23 +00:00
cjc
3193fb9888 Only create a temporary file if we are actually going to do something
in the script. Eliminates a bug where we create a temp file, but don't
delete it since the rm(1) is only done if the check is enabled.

PR:		bin/40960
Submitted by:	frf <frf@xocolatl.com>
MFC after:	3 days
2002-08-25 04:09:17 +00:00
gordon
796afa2620 Print out a carriage return to make the screen output make more sense
Submitted by:	mike@
2002-08-20 00:14:11 +00:00
gordon
8a9e7945f4 I missed the single_mountd_enable in rc.network.
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-15 03:29:19 +00:00
gordon
d19d5e2c08 Remove an accidental double chkdepend that snuck in during the last commit.
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-15 03:24:47 +00:00
gordon
235f9e8ceb Don't export variables from /etc/rc when doing rc_ng because the scripts
are sourced in a subshell.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-14 05:58:44 +00:00
gordon
c0a5dcd24e Clean up the scripts to use the new variables:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable -> mountd_enable
Changing the mountd flags brings us closer to NetBSD.

All of the old variable names are shimmed so you can continue to use the
old variable name.

Finally make /etc/rc.d/mountd no longer dependent on nfs as there are
(apparently) other consumers of mountd.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-14 05:44:32 +00:00
gordon
390d0f2e1b Clean up some variables that should have been done before:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable to mountd_enable.

We also include shims for all the old variable names.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-14 05:37:15 +00:00
schweikh
7cad281812 o Test and change to the correct directory, /var/spool/.hoststat
o Bring if/then style in sync with /etc/rc scripts

PR:		conf/41570
Submitted by:	Konstantin M Volevatch <cox@rosnet.ru>
MFC after:	1 week
2002-08-12 11:09:01 +00:00
schweikh
e98f885b38 Fix typos (s/seperat/separat/ et al); add FreeBSD ID.
Suggested by:	bde
MFC after:	3 days
2002-08-12 10:04:32 +00:00
iedowse
27aeb72762 Remove some unnecessary sanity checks that break "sh MAKEDEV cd"
and others, because test(1) does not do shortcut evaluation.

Fix the same off-by-one error for acd*t* that revision 1.326 fixed
for other *cd devices.

Suggested by:	bde
Reviewed by:	bde
2002-08-10 22:03:58 +00:00
iedowse
ffc18f670a Permit the creation of just cd0 if desired. Previously it always
created cd1 as well due to an off-by-one error left over from
revision 1.249.

PR:		conf/20436
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
MFC after:	1 week
2002-08-10 00:20:32 +00:00
fanf
bdbb34d16f Remove trailing whitespace. 2002-08-09 20:58:54 +00:00
gordon
be52c9f7d8 Make the othermta script DTRT when an mta startup script is not specified.
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-09 17:45:04 +00:00
gordon
b51ca866b0 Correct comment. We use rpcbind now, not portmap
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-09 17:34:13 +00:00
gordon
c9be71a1cb Correct comment
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-08-09 17:33:07 +00:00
ru
82aa7e9633 We no longer have a COPY. 2002-08-07 16:01:06 +00:00
jake
b52e96db68 Add example entries for ttya and ttyb (sab). 2002-08-04 19:16:13 +00:00
gshapiro
3c57fd05ee If all file systems are marked nosuid, the line:
MP=`mount -t ufs | grep -v " nosuid" | awk '{ print $3 }' | sort`

sets ${MP} to an empty string so the next line:

	set ${MP}

actually just dumps all of the shells variables to stdout (and therefore
the security report).  Fixed by surrounding the code which goes through the
mounts with a test for an empty string before using ${MP}.

Reviewed by:	brian
MFC after:	3 days
2002-08-03 22:33:34 +00:00
rwatson
69ed5feff0 Introduce support for Mandatory Access Control and extensible
kernel access control.

Create directories for per-policy include files.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-01 22:37:08 +00:00
ume
df72b1115f FreeBSD has setkey in different location from NetBSD.
Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-07-31 16:39:19 +00:00
blackend
7047ad5a38 Correct URL to the Handbook
MFC after:	1 week
2002-07-31 10:05:37 +00:00
ru
34de99cd26 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
dd
d54594015a Stock -current has more than 300 files in /etc, so 255 inodes for the
/etc filesystem isn't enough; consequently, add "-i 4096" to the newfs
command for /etc.  This results in 1022 inodes, which should be enough
for the forseeable future (although I don't know why we would ever
have more than 1000 files in a default /etc).

Silence by:	-current
2002-07-28 03:41:53 +00:00
dd
ac57ecfeb0 Add a period to the end of the "starting" message to be consistent
with the rest of the output during a boot.
2002-07-28 03:38:10 +00:00
imp
e493947d0c Add a generic NANOSPEED wi card.
Submitted by: matt peterson

While I'm here, kill the flags 0x10000 on all the prism based cards.
Both stable and current figure this out on their own and we've had at
least one releases where this is the case.
2002-07-26 06:12:14 +00:00
ume
0aa1154ddf Change the default setting of an IPv4-mapped IPv6 address to off.
Requested by:	many people
2002-07-25 15:44:01 +00:00
ume
39a5b00a12 be able to configure to run an IPv6 routing daemon even on
an end node (sync with rc.network6 1.30).

Approved by:	gordon
2002-07-21 19:12:21 +00:00
ru
88abc78dfc sys.mk no longer includes bsd.own.mk. 2002-07-20 10:56:00 +00:00
ru
5210b6ab90 Install scripts via FILES (purposedly not via SCRIPTS that would
strip the suffixes).
2002-07-18 12:33:01 +00:00
ru
0438f8a407 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
imp
37d91381bf The Compaq WL200 is a CL-PD6729 based pci card with a prism 2 pcmcia
card behind it (without the pcmcia form factor).  This entry gets to
the point of attaching, but there's something wrong with the '29
support, so it doesn't quite work yet.
2002-07-18 06:01:35 +00:00
dd
295f478117 Remove spurious "echo '.'". 2002-07-18 05:00:23 +00:00
bsd
a501158389 Apply same fix as Rev 1.19 of /etc/rc.diskless2: create sendmail
required directories if sendmail_enable is not set to "none".

Suggested by:   gordon
2002-07-18 05:00:22 +00:00
dougb
48c1052999 Anonymize the "portmap" program to get better compatibility with
rpcbind in -current.

Submitted by:   Alexander Kabaev <ak03@gte.com>
2002-07-18 05:00:21 +00:00
dougb
c200486311 Make nisdomainname=NO DTRT
Submitted by:   des, via Mike Makonnen <makonnen@pacbell.net>
2002-07-18 05:00:20 +00:00
dougb
e17d3b8da3 Cleanup some pollution from the NetBSD sync, and add gif setup.
Submitted by:   Mike Makonnen <makonnen@pacbell.net>
2002-07-18 05:00:19 +00:00
gordon
e34edbbcaf Fix a typo that caused dhclient not to work.
Submitted by:   Dennis Kristensen <snicki@snicki.dk>
Reviewed by:    Mike Makonnen <makonnen@pacbell.net>
2002-07-18 05:00:18 +00:00
gordon
923d575b82 Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by:   Mike Makonnen <makonnen@pacbell.net>
Reviewed by:    silence on -current and -hackers
Prodded by:     rwatson
2002-07-18 05:00:17 +00:00
ume
6164a2ec6b be able to configure to run an IPv6 routing daemon even on
an end node.

Requested by:	Masachika ISHIZUKA <ishizuka@ish.org>
MFC after:	1 week
2002-07-18 05:00:16 +00:00