From jhein@timing.com  Thu Nov 15 08:02:45 2001
Return-Path: <jhein@timing.com>
Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218])
	by hub.freebsd.org (Postfix) with ESMTP id 97ECF37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Nov 2001 08:02:44 -0800 (PST)
Received: from brain.timing.com (brain.timing.com [206.168.13.195])
	by Daffy.timing.com (8.11.3/8.11.3) with ESMTP id fAFG2ii66673
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Nov 2001 09:02:44 -0700 (MST)
	(envelope-from jhein@timing.com)
Received: (from jhein@localhost)
	by brain.timing.com (8.11.3/8.11.3) id fAFG2iQ50043;
	Thu, 15 Nov 2001 09:02:44 -0700 (MST)
	(envelope-from jhein)
Message-Id: <200111151602.fAFG2iQ50043@brain.timing.com>
Date: Thu, 15 Nov 2001 09:02:44 -0700 (MST)
From: jhein@timing.com
Reply-To: jhein@timing.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: dhclient-script(8) error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32008
>Category:       docs
>Synopsis:       wrong path for dhclient.conf in dhclient-script(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keramida
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 15 08:10:02 PST 2001
>Closed-Date:    Wed Jan 23 05:57:14 PST 2002
>Last-Modified:  Wed Jan 23 05:58:37 PST 2002
>Originator:     John Hein
>Release:        both -STABLE & -CURRENT
>Organization:
Timing Solutions Corp.
>Environment:
-STABLE & -CURRENT
System: FreeBSD brain.timing.com 4.3-RELEASE-p14-TSC FreeBSD 4.3-RELEASE-p14-TSC #1: Tue Aug 28 13:44:14 MDT 2001 imp@brain.timing.com:/uv/staging/imp/FreeBSD-tsc-4/sys/compile/BRAIN i386


>Description:
	Since obrien updated the paths in the dhclient-script(8) man page
     (src/contrib/isc-dhcp/client/dhclient-script.8, rev 1.2,
      1999/02/10 21:02:32), the path to dhclient.conf has been wrong.

    It refers to /sbin/dhclient.conf but should be /etc/dhclient.conf.
     Or it should just not refer to a path at all except the man page
     for dhclient(8) since it can be overridden with the -cf switch
     anyway.

>How-To-Repeat:
	man dhclient-script
	search for dhclient.conf

>Fix:

	perl -pi -e 's,/sbin/dhclient.conf,/etc/dhclient.conf,g' dhclient-script.8

     or even better (since you can invoke dhclient with -cf to override
          the default location)...

	perl -pi -e 's,/sbin/dhclient.conf,dhclient.conf,g' dhclient-script.8
>Release-Note:
>Audit-Trail:

From: Hiten <hitmaster2k@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: jhein@timing.com
Subject: Re: docs/32008: wrong path for dhclient.conf in dhclient-script(8)
Date: Tue, 11 Dec 2001 14:09:38 +0000

 i am submitting a patch which will resolve this issue, and the PR can be
 closed
 after this follow up...
 
 patch is here...
 
 --- dhclient-script.8.old       Thu Jan 13 16:27:20 2000
 +++ dhclient-script.8   Tue Dec 11 12:44:28 2001
 @@ -61,11 +61,14 @@
  the actual client may work, so a pioneering user may well need to
 create
  a new script or modify an existing one.  In general, customizations
 specific
  to a particular computer should be done in the
 -.B /sbin/dhclient.conf
 +.B /etc/dhclient.conf
  file.   If you find that you can't make such a customization without
  customizing
 -.B /sbin/dhclient.conf
 +.B /etc/dhclient.conf
  or using the enter and exit hooks, please submit a bug report.
 +
 +An alternate location of config file can also be passed to
 \fBdhclient(8)\fR,
 +by specifying the \fB-cf [filename]\fR flag with the alternate
 filename.
  .SH HOOKS
  When it starts, the client script first defines a shell function,
  .B make_resolv_conf ,
 
 =Hiten
 =<hiten@uk.FreeBSD.org>

From: Hiten Pandya <hiten@uk.FreeBSD.org>
To: bug-followup@FreeBSD.org, jhein@timing.com
Cc:  
Subject: Re: docs/32008
Date: Fri, 28 Dec 2001 12:56:54 +0000

 This PR can now be closed without any problems as the issue can be
 resolved by using the [PATCH] which I supplied in my last follow-up.
 
 thanks,
 regards,
 
 =Hiten
 =<hiten@uk.FreeBSD.org>
 
 -- 
 SSH Fingerprint:
 1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 hitenp@hpdi.ath.cx
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Fri Jan 11 21:06:15 PST 2002 
State-Changed-Why:  
dhcp-client is contrib/ stuff. 
The change is OK, but it should be sent to the dhcp-client developers, 
so that the next import of the code will put it cleanly in FreeBSD. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32008 
State-Changed-From-To: closed->open 
State-Changed-By: keramida 
State-Changed-When: Sat Jan 12 17:28:13 PST 2002 
State-Changed-Why:  
John E Hein <jhein@timing.com> pointed out that this PR corrects a 
version of the manpage that is off the vendor branch.  Reopen it. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32008 
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Wed Jan 23 05:57:14 PST 2002 
State-Changed-Why:  
Changes made in CURRENT. 
Awaiting release-engineer approval for MFC. 


Responsible-Changed-From-To: freebsd-doc->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Wed Jan 23 05:57:14 PST 2002 
Responsible-Changed-Why:  
I'll MFC this when release-engineer(s) say 'aye'. 

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