From owner-freebsd-doc Thu Nov 15 8:10:28 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E45BF37B448 for ; Thu, 15 Nov 2001 08:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAFGA2B09755; Thu, 15 Nov 2001 08:10:02 -0800 (PST) (envelope-from gnats) Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by hub.freebsd.org (Postfix) with ESMTP id 97ECF37B405 for ; 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 ; 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 X-Send-Pr-Version: 3.113 Subject: docs/32008: dhclient-script(8) error Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32008 >Category: docs >Synopsis: wrong path for dhclient.conf in dhclient-script(8) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 15 08:10:02 PST 2001 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message