Subject: misc/4066: rc.conf(5); couple of typos and description of apmd is missing, etc.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <enami@but-b.or.jp>
List: netbsd-bugs
Date: 08/30/1997 13:25:53
>Number:         4066
>Category:       misc
>Synopsis:       rc.conf(5); couple of typos and description of apmd is missing, etc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 29 21:35:03 1997
>Last-Modified:
>Originator:     enami tsugutomo
>Organization:
>Release:        NetBSD-current as of 1997 Aug 28
>Environment:
	
System: NetBSD pavlov.enami.ba2.so-net.or.jp 1.2G NetBSD 1.2G (PAVLOV) #318: Sun Aug 24 10:28:41 JST 1997 enami@pavlov.enami.ba2.so-net.or.jp:/b/netbsd/kernel/compile/PAVLOV i386


>Description:
	There is a couple of typos in rc.conf(5).

>How-To-Repeat:
	(1) Do `man rc.conf', then you see:

				:
     sendmail          YES or NO.  Runs sendmail(8).  and passes it
                       sendmail_flags.
				:
     gated             YES or NO.  Runs gated(8),  the multiprotocol routing
                       daemon.  Passes gated_flags. This should be NO if
                       routed is YES.  gated(8) is not included with NetBSD.
				:
     rwhod             YES or NO.  Runs rwhod(8).  to support the rwho(8)
                       command.

	The typos are:
		* Period is not needed in sendmail description.
		* The last sentense doesn't start with capital letter
		in gated description.
		* Period is not needed in rwhod description.  Also,
		rwho is not an adiministration command.

	(2) There is setting about apm in /etc/rc.conf but not
	mentioned in rc.conf(5).

	(3) Now, longest word is not bootparamd_flags but
	net_interfaces.

>Fix:
	Here is my fix:

Index: rc.conf.5
===================================================================
RCS file: /a/cvsroot/NetBSD/src/share/man/man5/rc.conf.5,v
retrieving revision 1.1.1.8
diff -c -r1.1.1.8 rc.conf.5
*** rc.conf.5	1997/08/29 14:19:31	1.1.1.8
--- rc.conf.5	1997/08/30 04:22:16
***************
*** 76,82 ****
  values, a warning will be printed.
  .Pp
  Basic network configuration:
! .Bl -tag -width bootparamd_flags
  .It Sy hostname
  Name of host.
  If empty or not set, then the contents of
--- 76,82 ----
  values, a warning will be printed.
  .Pp
  Basic network configuration:
! .Bl -tag -width net_interfaces
  .It Sy hostname
  Name of host.
  If empty or not set, then the contents of
***************
*** 95,101 ****
  .El
  .Pp
  One time actions to perform or programs to run on boot-up:
! .Bl -tag -width bootparamd_flags
  .It Sy lkm
  YES or NO.  Runs /etc/rc.lkm.
  .It Sy savecore
--- 95,101 ----
  .El
  .Pp
  One time actions to perform or programs to run on boot-up:
! .Bl -tag -width net_interfaces
  .It Sy lkm
  YES or NO.  Runs /etc/rc.lkm.
  .It Sy savecore
***************
*** 113,119 ****
  .El
  .Pp
  Networking startup:
! .Bl -tag -width bootparamd_flags
  .It Sy ipfilter
  YES or NO.  Runs
  .Xr ipf 8
--- 113,119 ----
  .El
  .Pp
  Networking startup:
! .Bl -tag -width net_interfaces
  .It Sy ipfilter
  YES or NO.  Runs
  .Xr ipf 8
***************
*** 171,177 ****
  .El
  .Pp 
  Daemons required by other daemons:
! .Bl -tag -width bootparamd_flags
  .It Sy inetd
  YES or NO.  Runs the
  .Xr inetd 8
--- 171,177 ----
  .El
  .Pp 
  Daemons required by other daemons:
! .Bl -tag -width net_interfaces
  .It Sy inetd
  YES or NO.  Runs the
  .Xr inetd 8
***************
*** 196,202 ****
  .El
  .Pp
  Commonly used daemons:
! .Bl -tag -width bootparamd_flags
  .It Sy update
  YES or NO.  Runs
  .Xr update 8
--- 196,202 ----
  .El
  .Pp
  Commonly used daemons:
! .Bl -tag -width net_interfaces
  .It Sy update
  YES or NO.  Runs
  .Xr update 8
***************
*** 234,241 ****
  .Sy xntpd_flags .
  .It Sy sendmail
  YES or NO.  Runs
! .Xr sendmail 8 .
! and passes it
  .Sy sendmail_flags .
  .It Sy lpd
  YES or NO.  Runs
--- 234,241 ----
  .Sy xntpd_flags .
  .It Sy sendmail
  YES or NO.  Runs
! .Xr sendmail 8
! and passes
  .Sy sendmail_flags .
  .It Sy lpd
  YES or NO.  Runs
***************
*** 248,254 ****
  .El
  .Pp
  Routing daemons:
! .Bl -tag -width bootparamd_flags
  .It Sy routed
  YES or NO.  Runs
  .Xr routed 8 ,
--- 248,254 ----
  .El
  .Pp
  Routing daemons:
! .Bl -tag -width net_interfaces
  .It Sy routed
  YES or NO.  Runs
  .Xr routed 8 ,
***************
*** 265,271 ****
  This should be NO if
  .Sy routed
  is YES.
! .Xr gated 8
  is not included with
  .Nx .
  .It Sy mrouted
--- 265,271 ----
  This should be NO if
  .Sy routed
  is YES.
! .Xr Gated 8
  is not included with
  .Nx .
  .It Sy mrouted
***************
*** 276,282 ****
  .El
  .Pp
  Daemons used to boot other hosts over a network:
! .Bl -tag -width bootparamd_flags
  .It Sy rarpd
  YES or NO.  Runs
  .Xr rarpd 8 ,
--- 276,282 ----
  .El
  .Pp
  Daemons used to boot other hosts over a network:
! .Bl -tag -width net_interfaces
  .It Sy rarpd
  YES or NO.  Runs
  .Xr rarpd 8 ,
***************
*** 312,318 ****
  .El
  .Pp
  YP (NIS) daemons:
! .Bl -tag -width bootparamd_flags
  .It Sy ypbind
  YES or NO.  Runs
  .Xr ypbind 8 ,
--- 312,318 ----
  .El
  .Pp
  YP (NIS) daemons:
! .Bl -tag -width net_interfaces
  .It Sy ypbind
  YES or NO.  Runs
  .Xr ypbind 8 ,
***************
*** 338,344 ****
  .El
  .Pp
  NFS daemons and parameters:
! .Bl -tag -width bootparamd_flags
  .It Sy nfs_client
  YES or NO.  Runs 
  .Xr nfsiod 8
--- 338,344 ----
  .El
  .Pp
  NFS daemons and parameters:
! .Bl -tag -width net_interfaces
  .It Sy nfs_client
  YES or NO.  Runs 
  .Xr nfsiod 8
***************
*** 396,407 ****
  .El
  .Pp
  Other daemons:
! .Bl -tag -width bootparamd_flags
  .It Sy rwhod
  YES or NO.  Runs
! .Xr rwhod 8 .
  to support the
! .Xr rwho 8
  command.
  .It Sy kerberos
  YES or NO.  Runs the kerberos server
--- 396,412 ----
  .El
  .Pp
  Other daemons:
! .Bl -tag -width net_interfaces
! .It Sy apmd
! YES or NO.  Runs
! .Xr apmd 8
! and passes
! .Sy apmd_flags .
  .It Sy rwhod
  YES or NO.  Runs
! .Xr rwhod 8
  to support the
! .Xr rwho 1
  command.
  .It Sy kerberos
  YES or NO.  Runs the kerberos server

>Audit-Trail:
>Unformatted: