From nobody@FreeBSD.org  Tue Dec  8 12:40:57 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1694210656C1
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Dec 2009 12:40:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0567E8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Dec 2009 12:40:57 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB8CeuhS044453
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 8 Dec 2009 12:40:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nB8Ceusp044430;
	Tue, 8 Dec 2009 12:40:56 GMT
	(envelope-from nobody)
Message-Id: <200912081240.nB8Ceusp044430@www.freebsd.org>
Date: Tue, 8 Dec 2009 12:40:56 GMT
From: "Viktor &#352;tujber" <viktor.stujber@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dhclient rc script should print something if it fails
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         141275
>Category:       conf
>Synopsis:       [request] dhclient(8) rc script should print something if it fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-rc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 08 12:50:01 UTC 2009
>Closed-Date:    Sat Nov 03 13:05:49 UTC 2012
>Last-Modified:  Sat Nov 03 13:05:49 UTC 2012
>Originator:     Viktor &#352;tujber
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD poring.netvor.sk 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Nov 27 15:12:20 CET 2009     umage@poring.netvor.sk:/usr/obj/usr/src/sys/PORING  i386

>Description:
The /etc/rc.d/dhclient script requires an 'interface' parameter to work,
and the specified interface needs to be dhcp-enabled to make it actually
run the dhclient binary.

In the event that the rc script is called without additional parameters,
the script should test for that (it doesn't right now) and print meaningful
instructions before exiting. Also, I miss the start|stop|restart instruction
message.

Furthermore, the script invokes the external 'dhcpif' subroutine on the
specified interface. If it fails, it should, again, display meaningful
information about the problem before exiting.

Finally, perhaps a message could be echoed on success, before/after
invoking run_rc_command.
>How-To-Repeat:
Type /etc/rc.d/dhclient
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Dec 8 17:42:54 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141275 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Sat Nov 3 13:05:48 UTC 2012 
State-Changed-Why:  
Fixed in head, merged to stable/[89], but will not make it back to 
stable/7 (r226345) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141275 
>Unformatted:
