[Top] [All Lists]

misc/40062: Manpage afterboot(8) needs improvements

Subject: misc/40062: Manpage afterboot(8) needs improvements
Date: Sat, 29 Nov 2008 01:10:14 UTC
Newsgroups: fa.netbsd.bugs

>Number:         40062
>Category:       misc
>Synopsis:       Manpage afterboot(8) needs improvements
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 29 01:10:00 +0000 2008
>Originator:     Bug Hunting
>Release:        5.99.3
Manpage afterboot(8) needs improvements:
- the case of the `YES' and `NO' keywords are, in most locations,
  not in sync with those given in the rc.conf(5) manpage;
- the manpage could use some additional minor improvements.

It is in the attached patch proposed to replace the `.Cm' mdoc(7)
macros by `.Dq', as the mdoc(7) manpage states that the former is
meant for (interactive) command flags, which is not what
`PermitRootLogin' and `GATEWAY' actually are.
"man 8 afterboot"; look up the appropriate sections.
Optionally compare with the rc.conf(5) manpage.
Apply the following patch:

$ diff -u /usr/src/share/man/man8/afterboot.8  
--- /usr/src/share/man/man8/afterboot.8 2008-10-21 10:43:15.000000000 +0200
+++     2008-11-29 01:43:31.000000000 +0100
@@ -99,11 +99,13 @@
 .Dq Ic root .
 You can do so on the console, or over the network using
 .Xr ssh 1 .
-If you have enabled the ssh daemon and wish to allow root logins over
+If you have enabled the SSH daemon (see
+.Xr sshd(8) )
+and wish to allow root logins over
 the network, edit the
 .Pa /etc/ssh/sshd_config
 file and set
-.Cm PermitRootLogin
+.Dq PermitRootLogin
 .Dq yes
@@ -337,16 +339,16 @@
 .Dl net.inet6.ip6.forwarding=1
 As an alternative, compile a new kernel with the
 Packets are not forwarded by default, due to RFC requirements.
-.Ss Secure Shell (ssh)
+.Ss Secure Shell (SSH)
 By default, all services are disabled in a fresh
-installation, and ssh is no exception.
+installation, and SSH is no exception.
 You may wish to enable it so you can remotely control your system.
-.Dq Va sshd=yes
+.Dq Va sshd=YES
 .Pa /etc/rc.conf
 and then starting the server with the command
@@ -377,7 +379,7 @@
 If using a caching name server add the line "nameserver" first.
 To get a local caching name server to run
-you will need to set "named=yes" in
+you will need to set "named=YES" in
 .Pa /etc/rc.conf
 and create the
 .Pa named.conf
@@ -542,8 +544,8 @@
 .Pa /etc/rc.conf
 contains the following:
-.Dl ntpdate=yes
-.Dl ntpd=yes
+.Dl ntpdate=YES
+.Dl ntpd=YES
 .Xr date 1 ,
@@ -648,10 +650,12 @@
 the X Display Manager.
 To do this, set the variable
 .Dq xdm
-to yes in
+.Dq YES
 .Pa /etc/rc.conf ,
-.Dq xdm=yes
+.Dq xdm=YES .
 .Ss Printers
 .Pa /etc/printcap
@@ -699,7 +703,7 @@
 .Pa /etc/postfix/
 and enable the daemon in
 .Pa /etc/rc.conf
-using "postfix=yes".
+using "postfix=YES".
 It is very important to configure
 .Pa /etc/mailer.conf
 to point to Postfix binaries.
@@ -713,7 +717,7 @@
 as needed.
 You will have to make sure
 .Pa /etc/rc.conf
-has "dhcpd=yes"
+has "dhcpd=YES"
 or run
 .Xr dhcpd 8
@@ -725,15 +729,15 @@
 as needed.
 You will have to turn it on in
 .Pa /etc/rc.conf
-by adding "bootparamd=yes".
+by adding "bootparamd=YES".
 .Ss NFS server
 If this is an NFS server, make sure
 .Pa /etc/rc.conf
 .Bd -literal -offset indent

<Prev in Thread] Current Thread [Next in Thread>