Commit Graph

138 Commits

Author SHA1 Message Date
Crist J. Clark
29c0f078e2 There is no reason to demand the administrator set 'natd_interface'
when running natd(8) out of the rc-files. It is perfectly valid for
the interface or alias address to be set in a natd(8) configuration
file, not on the command line. Also, loosen up the restrictions on
identifying an IP address argument in 'natd_interface.'

Fix the documentation, rc.conf(5), to reflect this change.

Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf.

MFC after:	3 days
2002-02-20 10:31:01 +00:00
Gregory Neil Shapiro
feb15b97ab Add infrastructure for sendmail 8.12. If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started
(sendmail_submit_enable) as it is needed to accept mail from command line
submissions.  If this isn't desired, see etc/mail/README for more hints.

Optionally (sendmail_msp_queue_enable) start a queue runner for the
submission queue in case a daemon isn't available to accept command line
submitted mail at submission time.

Note that the syslog labels for all of these sendmail processes have been
uniquified for easier log parsing.
2002-02-17 22:19:14 +00:00
Crist J. Clark
f44609fe71 Make the rc.conf(5) 'log_in_vain' knob an integer.
Try this out in -CURRENT, MFC, and then consider dropping the
'log_in_vain' knob all together. It really is something for
sysctl.conf(5).

PR:		bin/32953
Reviewed by:	-bugs discussion
MFC after:	1 week
2002-01-26 09:05:13 +00:00
Sheldon Hearn
4a8eeedbb1 Don't require operators to override the list of network filesystem
types (networkfs_types) with a version that includes the original
list.

This increases the scope for user error and also means that systems with
networkfs_types set in /etc/rc.conf will not benefit from changes to the
list in /etc/defaults/rc.conf on upgrade.

Instead, store the default list in /etc/rc itself and allow the operator
to append to that list by specifying her own list in networkfs_types.

Rename networkfs_types to extra_netfs_types accordingly, as the new name
better describes the purpose of the variable.  Default the value to
'NO'.
2001-12-29 19:42:55 +00:00
Sheldon Hearn
d7fb353a43 Re-introduce the fix that delays mounting of network filesystems until
the network is initialized.  This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.

The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.

Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.

With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.
2001-12-27 13:41:27 +00:00
Nick Sayer
284d8fda4d Add a commented-out defaultrouter entry for 6to4 users. See RFC-3068 2001-12-06 20:44:14 +00:00
Ruslan Ermilov
9e5b5675b4 Whitespace police.
Submitted by:	cjc, ru
2001-11-28 08:52:35 +00:00
Darren Reed
2129325c09 second part of the patches to complete ipf changes to rc
PR:		multiple
Submitted by:	Arjan de Vet <devet@devet.org>
2001-11-24 15:36:30 +00:00
Darren Reed
639e6db6e7 Put in place for using ipfs use on shutdown and startup.
PR:		27070
2001-10-20 04:33:02 +00:00
Alfred Perlstein
a1580c53a7 Update to note that rpc.statd and rpc.lockd are now needed for
client side NFS mounts.

Stumbled upon by: rwatson
2001-10-18 19:37:57 +00:00
John Baldwin
19d1491b60 Remove references to nfsiod and nfs_client_flags now that they are
obsolete.

Submitted by:	Gordon Tetlow <gordont@gnf.org>
2001-10-10 20:36:51 +00:00
Dag-Erling Smørgrav
4f18601a76 Add a dumpdir variable that determines where savecore stores crash dumps.
I've had this on my development box for ages...
2001-10-09 18:40:00 +00:00
Sheldon Hearn
1e58a712d9 Quote the value of pccard_ether_delay, the only unquoted value in the
entire file.
2001-10-05 09:01:42 +00:00
Hajimu UMEMOTO
861defc8e9 We don't ship pim6dd/pim6sd any more.
MFC after:	1 week
2001-10-03 16:15:59 +00:00
Brooks Davis
40995998c5 Add a new rc.conf variable, cloned_interfaces, to create cloned
interfaces at boot.
2001-09-19 21:27:27 +00:00
Warner Losh
8dac8c268d Due to a bug in the ed driver, which leads to hangs when using it with
dhclient and pccard_ether, introduce the concept of a "settle time" to
pccard_ether with the new pccard_ether_delay variable.  Defaults to 5
seconds, which is enough time for the ed driver to finish its
autoconfiguration for newer Linksys based cards.  This also can
eliminate the ed0: timeout messages that happen at startup as well.

MFC: after RE says OK.
2001-09-13 06:18:07 +00:00
Robert Watson
1088a254de o Add sample syslogd_flags for "-ss" which causes syslogd not to bind
an inet socket.
2001-09-02 23:34:19 +00:00
David E. O'Brien
cb2fb6f378 Remove more vestages of diskcheckd, which is now in ports/sysutils. 2001-08-29 05:39:07 +00:00
Jun Kuriyama
6d9e09d7d0 Invoke named with privilege of bind:bind.
Change pidfile location to /var/run/named/pid.
2001-08-23 13:34:45 +00:00
Mark Murray
e7f2f42f1b Upgraded launchpad for kerberos. Noe kerberos IV OR kerberos 5
may be started at boot for kerberos servers.
2001-07-28 19:57:57 +00:00
Hellmuth Michaelis
0425c069fe change the default for isdn_fsdev to NO. specifying a device here
results in a potential conflict with a getty running on that device.
PR:		26818
Submitted by:	Clement Ballabriga <clement@asso.ups-tlse.fr>
2001-07-23 14:24:31 +00:00
Peter Pentchev
1d17292c23 Add a script_name_sep rc.conf knob to specify the IFS character
for separating the startup scripts' list into individual filenames.

Run the shutdown scripts in reverse alphabetical order, so dependent
services are stopped before the services they depend upon.

Reviewed by:	-arch, -audit
MFC after:	3 weeks
2001-07-17 14:33:52 +00:00
Hajimu UMEMOTO
cfb687fab8 Change default of ipv6_default_interface to NO. This is meaningless
in most cases and rather harmful.

Reported by:	Kevin Oberman <oberman@es.net>
MFC after:	1 week
2001-06-28 21:45:47 +00:00
Dima Dorfman
df4afc8b95 Introduce syslogd_program and inetd_program variables in case somebody
wants to replace one of those programs.

PR:		13609
Submitted by:	Goran Lowkrantz <goran.lowkrantz@infologigruppen.se>
2001-06-28 03:32:10 +00:00
Hajimu UMEMOTO
d6a0444fff Change default value of rtadvd_enable to NO to be compatible with
the following description in RFC2461:

    AdvSendAdvertisements
	    A flag indicating whether or not the router sends
	    periodic Router Advertisements and responds to
	    Router Solicitations.

	    Default: FALSE

	    Note that AdvSendAdvertisements MUST be FALSE by
	    default so that a node will not accidentally start
	    acting as a router unless it is explicitly
	    configured by system management to send Router
	    Advertisements.

Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after:	1 week
2001-06-20 13:17:07 +00:00
Hajimu UMEMOTO
18379cf918 Add configuration for a FAITH IPv6-to-IPv4 TCP translator.
To use a FAITH actually, you also need faithd(8) setup.
Please consult faithd(8) manpage.
2001-06-19 19:27:51 +00:00
Dima Dorfman
d997ca82d0 Explicitly set arpproxy_all and start_vinum to "NO" for consistency.
PR:		28185
Submitted by:	Gordon Tetlow <gordont@bluemtn.net>
2001-06-16 00:27:31 +00:00
Hajimu UMEMOTO
449eb73569 prefixcmd_enable was obsoleted by syncing recent KAME. New prefix(8)
is just a shell script for backward compatibility.  Now, we always use
ifconfig(8) instead of prefix(8).

MFC after:	3 weeks
2001-06-11 13:28:05 +00:00
Poul-Henning Kamp
7afdb22d23 Add diskcheckd to /etc/rc with a knob in rc.conf.
Make the default setting YES for now to get some experience with it.

Note: If people starts seeing disk errors because of this then it
should not be backed.
2001-06-03 20:15:13 +00:00
Brian Somers
c34b6be0cd Move gif_interfaces from an IP6 option to a regular IP option.
PR:		26543
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
MFC after:	3 weeks
2001-06-03 12:26:56 +00:00
David E. O'Brien
11c8719c55 I didn't fix the comment in rev 1.107. 2001-05-25 01:46:39 +00:00
David E. O'Brien
7830e160d6 Turn on TCP_EXTENSIONS (rfc1323) by defualt. 2001-05-25 01:43:42 +00:00
Dima Dorfman
692bb1c3bb Introduce a background_fsck rc.conf option which allows the user to
enable or disable background fsck'ing all in one shot.  Default is
currently 'YES'.

Reviewed by:	jkh
2001-05-22 00:05:48 +00:00
Jens Schweikhardt
b2be78381d New option isdn_screenflags to set the syscons screen params for isdnd,
plus documentation.

Submitted by:	Alexander Leidinger <Alexander@Leidinger.net>
Not objected to by:	hm
MFC after:	1 week
2001-05-14 20:51:10 +00:00
Jens Schweikhardt
315e40d22b Use foo () instead of foo ( ) for function definition,
so zsh can parse this file as well.
2001-05-07 14:15:02 +00:00
Dima Dorfman
ac25a66fb3 Add an allscreens_kbdflags option. Same thing as allscreens_flags,
but runs kbdcontrol instead of vidcontrol.

Reviewed by:	ru
2001-04-28 20:56:53 +00:00
Jens Schweikhardt
1208c7eed2 Add isdn_ttype (moved to rc.conf from rc.isdn)
PR:		conf/24865
Submitted by:	schweikh
Reviewed by:	hm
2001-04-24 20:02:31 +00:00
Andrey A. Chernov
557d3d1c9c Fix typo in mouse_char range 2001-04-21 16:22:26 +00:00
Andrey A. Chernov
b9ea7307d3 Add mousechar_start hook
Reviewed by:	Nick Hibma <n_hibma@qubesoft.com>
2001-04-19 14:53:47 +00:00
Bruce A. Mah
ddda68fb0d Add removable_interfaces to /etc/defaults/rc.conf. It is used
(undocumented until now) by /etc/pccard_ether.

MFC candidate.

Pointed out by:	Dave Crane <dave@trig.net>
Reviewed by:	-mobile
2001-04-04 16:48:57 +00:00
Poul-Henning Kamp
3caa1d24ab Change ntp_flags to "-b" to inspire people to set it right.
Note that "right" in this case is not universally recognized, but
NTP-practittioners as opposed to theoretians generally agree that
getting "inside the window" using ntpdate is TRTTD on PC hardware.

PR:		25514
Submitted by:	Chris Johnson <cjohnson-pr@palomine.net>
2001-03-28 17:51:03 +00:00
Dag-Erling Smørgrav
cc084f7587 Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(second of three commits)
2001-03-19 22:07:32 +00:00
Alfred Perlstein
8360efbd6c Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
2001-03-19 12:50:13 +00:00
Hajimu UMEMOTO
6277710941 Add `ipv6_ifconfig_IFN_aliasN' directive to allow multiple aliases.
PR:		conf/24239
2001-03-18 16:07:21 +00:00
Peter Wemm
b2c774aff4 At great personal risk, touch the sendmail startup again. This adds easy
seperate knobs for inbound (accepting SMTP connections) and outbound (just
occasionally dequeueing) sendmail daemon startup.
2001-03-13 05:53:16 +00:00
Doug Barton
670974f3df Add flags option for savecore.
Submitted by:	David A. Panariti <davep@who.net>
2001-03-12 05:18:03 +00:00
Doug Barton
de328d4a59 Avoid complicated tests of whether devices are present or not, and
enable all harvesting options by default since having them on for
devices not present doesn't hurt anything. Leave them on by default
since for the most part they are not producing noticable slowdown,
and are about to get a lot more efficient.

Re-order part of the cheesy entropy process in preparation for
its complete removal.
2001-03-10 05:33:38 +00:00
Doug Barton
bbee5785ca Add code to turn on the entropy harvesting sysctl's as early as possible
during the boot process. We're turning it on by default, based on the
actual presence of a configured ethernet card, and/or ppp/tun devices.
Of course, it's easy to disable in rc.conf.
2001-03-01 13:19:49 +00:00
Jordan K. Hubbard
66c35dfca4 Have coff be a default ibcs2 loader if we have ibcs2 support enabled. 2001-02-28 22:28:00 +00:00
Doug Barton
385a585a4b Introduce the option of running fsck -y if the initial preen fails.
Defaults to off.

Obtained from:	Yahoo!
2001-02-05 04:54:42 +00:00