From rse@en1.engelschall.com  Tue Aug  8 02:24:51 2000
Return-Path: <rse@en1.engelschall.com>
Received: from slarti.muc.de (slarti.muc.de [193.149.48.10])
	by hub.freebsd.org (Postfix) with SMTP id 8854837B772
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Aug 2000 02:24:49 -0700 (PDT)
	(envelope-from rse@en1.engelschall.com)
Received: (qmail 8075 invoked by uid 66); 8 Aug 2000 09:33:24 -0000
Received: from en by slarti with UUCP; Tue Aug  8 09:33:24 2000 -0000
Received: by en1.engelschall.com (Sendmail 8.11.0+)
	id e789Lwm25513; Tue, 8 Aug 2000 11:21:58 +0200 (CEST)
Message-Id: <200008080921.e789Lwm25513@en1.engelschall.com>
Date: Tue, 8 Aug 2000 11:21:58 +0200 (CEST)
From: "Ralf S. Engelschall" <rse@en1.engelschall.com>
Reply-To: rse@engelschall.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: updates for rc.conf.5 manpage
X-Send-Pr-Version: 3.2

>Number:         20479
>Category:       conf
>Synopsis:       updates for rc.conf.5 manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 02:30:01 PDT 2000
>Closed-Date:    Sun Aug 19 17:29:23 PDT 2001
>Last-Modified:  Sun Aug 19 17:29:49 PDT 2001
>Originator:     Ralf S. Engelschall <rse@engelschall.com>
>Release:        5.0-CURRENT, 4.1-STABLE
>Organization:
Engelschall, Germany.
>Environment:

FreeBSD en1.engelschall.com 4.1-STABLE FreeBSD 4.1-STABLE #0: Mon Aug  7
21:02:25 CEST 2000     rse@en1.engelschall.com:/usr/src/sys/compile/EN1  i386

>Description:

rc.conf(5) is not up-to-date.
My changes (see appended patch below) were:
- added entry for "firewall_flags"
- added entry for "enable_quota"
- added entry for "amd_map_program"
- extended entry for "check_quota"
- fixed reference "ypxfrd" -> "rpc.ypxfrd"
- fixed reference "yppasswdd" -> "rpc.yppasswdd"
- fixed type name "(integer)" -> "(int)"
- added missing type specifications

>How-To-Repeat:

compare src/share/man/man5/rc.conf.5 with src/etc/defaults/rc.conf

>Fix:

Apply this to rc.conf.5 on HEAD for 5.0-CURRENT.
The same also should be MFC'ed to RELENG_4.

Index: rc.conf.5
===================================================================
RCS file: /home/ncvs/src/share/man/man5/rc.conf.5,v
retrieving revision 1.76
diff -u -d -r1.76 rc.conf.5
--- rc.conf.5	2000/07/03 12:56:00	1.76
+++ rc.conf.5	2000/08/08 09:15:47
@@ -156,6 +156,12 @@
 .Ar YES ,
 and the kernel was not built with IPFIREWALL, the ipfw
 kernel module will be loaded.
+.It Ar firewall_flags
+(str) Flags passed to 
+.Xr ipfw 8
+if 
+.Ar firewall_type 
+specifies the path to file.
 .It Ar firewall_script
 (str) If you want to run a firewall script other than
 .Pa /etc/rc.firewall ,
@@ -199,14 +205,14 @@
 .Xr divert 4
 sockets must be enabled in your kernel.
 .It Ar natd_interface
-This is the name of the public interface on which natd should run.  It
+(str) This is the name of the public interface on which natd should run.  It
 is mandatory if
 .Ar natd_enable
 is set to
 .Ar YES .
 The interface may be given as an interface name or as an IP address.
 .It Ar natd_flags
-Additional natd flags should be placed here.  The
+(str) Additional natd flags should be placed here.  The
 .Fl n
 or
 .Fl a
@@ -396,6 +402,7 @@
 if you want to run a Kerberos authentication server
 at boot time.
 .It Ar kadmind_server_enable
+(bool) Set to
 .Ar YES
 if you want to run
 .Xr kadmind 8
@@ -443,6 +450,18 @@
 .Xr amd 8
 .Xr info 1
 page for more information.
+.It Ar amd_map_program
+(str) Can be set to a program which outputs
+the list of available
+.Xr amd 8
+maps. If 
+.Xr amd 8
+maps are stored in NIS, one usually
+sets this to "ypcat -k amd.master" and creates
+the additional NIS map named "amd.master" listing the
+NIS files containing 
+.Xr amd 8
+maps.
 .It Ar update_motd
 (bool) If set to 
 .Ar YES ,
@@ -465,7 +484,7 @@
 .Xr nfsiod 8
 daemon.
 .It Ar nfs_access_cache
-if
+(int) If
 .Ar nfs_client_enable
 is set to 
 .Ar YES ,
@@ -507,7 +526,7 @@
 .Ar YES ,
 provide NFS services only on a secure port.
 .It Ar nfs_bufpackets
-(integer) If set to a number, indicates the number of packets worth of
+(int) If set to a number, indicates the number of packets worth of
 socket buffer space to reserve on an NFS client.  If set to
 .Ar DEFAULT ,
 the kernel default is used (typically 4).  Using a higher number may be
@@ -565,6 +584,7 @@
 .Xr pppoed 8 
 daemon at boot time to provide PPP over Ethernet services.
 .It Ar pppoed_provider
+(str)
 .Xr pppoed 8
 listens to requests to this
 .Ar provider
@@ -574,15 +594,15 @@
 .Ar system
 argument of the same name.
 .It Ar pppoed_flags
-Additional flags to pass to
+(str) Additional flags to pass to
 .Xr pppoed 8 .
 .It Ar pppoed_interface
-The network interface to run pppoed on.  This is mandatory when
+(str) The network interface to run pppoed on.  This is mandatory when
 .Ar pppoed_enable
 is set to
 .Dq YES .
 .It Ar timed_enable
-(boot) if
+(boot) If
 .Ar YES
 then run the
 .Xr timed 8
@@ -688,7 +708,7 @@
 (bool) If set to
 .Ar YES
 then run the
-.Xr ypxfrd 8
+.Xr rpc.ypxfrd 8
 daemon at system boot time.
 .It Ar nis_ypxfrd_flags
 (str) If
@@ -696,13 +716,13 @@
 is set to
 .Ar YES ,
 these are the flags to pass to the
-.Xr ypxfrd 8
+.Xr rpc.ypxfrd 8
 daemon.
 .It Ar nis_yppasswdd_enable
 (bool) If set to
 .Ar YES
 then run the
-.Xr yppasswdd 8
+.Xr rpc.yppasswdd 8
 daemon at system boot time.
 .It Ar nis_yppasswdd_flags
 (str) If
@@ -710,7 +730,7 @@
 is set to
 .Ar YES ,
 these are the flags to pass to the
-.Xr yppasswdd 8
+.Xr rpc.yppasswdd 8
 daemon.
 .It Ar defaultrouter
 (str) If not set to
@@ -789,7 +809,7 @@
 .Ar YES
 then enable global proxy ARP.
 .It Ar forward_sourceroute
-If set to
+(bool) If set to
 .Ar YES
 then when
 .Ar gateway_enable
@@ -797,7 +817,7 @@
 .Ar YES ,
 source routed packets are forwarded.
 .It Ar accept_sourceroute
-If set to
+(bool) If set to
 .Ar YES
 then the system will accept source routed packets directed at it.
 .It Ar rarpd_enable
@@ -1123,12 +1143,22 @@
 directory by the
 .Xr savecore 8
 program.
+.It Ar enable_quotas
+(bool) Set to 
+.Ar YES
+if you want to turn on quotas on system startup via
+the 
+.Xr quotaon 8
+command.
 .It Ar check_quotas
 (bool) Set to
 .Ar YES
 if you want to enable user disk quota checking via the 
 .Xr quotacheck 8
-command.
+command. Requires
+.Ar enable_quotas
+to be set to
+.Ar YES .
 .It Ar accounting_enable
 (bool) Set to
 .Ar YES

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Tue Jun 19 17:57:59 PDT 2001 
Responsible-Changed-Why:  
I'll forward-port and commit this patch. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20479 
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sun Aug 19 17:29:23 PDT 2001 
State-Changed-Why:  
Forward-ported and applied to -current, thanks!  I'll MFC after a while. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20479 
>Unformatted:
