NetBSD Problem Report #39163

From www@NetBSD.org  Fri Jul 18 00:58:55 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1B32063B89E
	for <gnats-bugs@gnats.netbsd.org>; Fri, 18 Jul 2008 00:58:55 +0000 (UTC)
Message-Id: <20080718005854.936D663B880@narn.NetBSD.org>
Date: Fri, 18 Jul 2008 00:58:54 +0000 (UTC)
From: userresu@sdf.lonestar.org
Reply-To: userresu@sdf.lonestar.org
To: gnats-bugs@NetBSD.org
Subject: Minor mistakes in ISC dhcp-options(5) and dhclient-script(8) manpages.
X-Send-Pr-Version: www-1.0

>Number:         39163
>Category:       misc
>Synopsis:       Minor mistakes in ISC dhcp-options(5) and dhclient-script(8) manpages.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 18 01:00:01 +0000 2008
>Closed-Date:    Sun Sep 23 13:55:23 +0000 2018
>Last-Modified:  Sun Sep 23 13:55:23 +0000 2018
>Originator:     Anonymous
>Release:        CURRENT
>Organization:
>Environment:
>Description:
The ISC dhcp-options(5) and dhclient-script(8) manpages contain some minor mistakes.
>How-To-Repeat:
"man 5 dhcp-options" and "man 8 dhclient-script"; search for the appropriate sections (see patches below).
>Fix:
Apply the following patches:

--- /usr/src/dist/dhcp/common/dhcp-options.5    2005-08-11 19:13:21.000000000 +0200
+++ dhcp-options.5.new  2008-07-18 02:23:06.000000000 +0200
@@ -27,7 +27,7 @@
 .\" ``http://www.isc.org/''.  To learn more about Vixie Enterprises,
 .\" see ``http://www.vix.com''.   To learn more about Nominum, Inc., see
 .\" ``http://www.nominum.com''.
-.TH dhcpd-options 5
+.TH dhcp-options 5
 .SH NAME
 dhcp-options - Dynamic Host Configuration Protocol options
 .SH DESCRIPTION
@@ -85,7 +85,7 @@
 .PP
 The
 .B domain-name
-data type specifies a domain name, which must not
+data type specifies a domain name, which must not be
 enclosed in double quotes.   This data type is not used for any
 existing DHCP options.   The domain name is stored just as if it were
 a text option.



--- /usr/src/dist/dhcp/client/dhclient-script.8 2005-08-11 19:13:21.000000000 +0200
+++ dhclient-script.8.new       2008-07-18 02:24:20.000000000 +0200
@@ -121,7 +121,7 @@
 new ip address is passed in $new_ip_address, and the interface name is
 passed in $interface.   The media type is passed in $medium.   Any
 options acquired from the server are passed using the option name
-described in \fBdhcp-options\fR, except that dashes ('-') are replaced
+described in \fBdhcp-options(5)\fR, except that dashes ('-') are replaced
 by underscores ('_') in order to make valid shell variables, and the
 variable names start with new_.   So for example, the new subnet mask
 would be passed in $new_subnet_mask.


Note that it's really `dhcp-options(5)' which is correct; not `dhcpd-options(5)'. Just look in other ISC manpages like dhclient.conf(5) and the name of the source file itself.

Please fix and report upstream at ISC (dhcp-bugs@isc.org?) as well; thanks.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 23 Sep 2018 13:55:23 +0000
State-Changed-Why:
dhclient removed. sorry your bug was not answered at the time.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.