From owner-freebsd-rc@FreeBSD.ORG Sun Nov 6 22:17:22 2011 Return-Path: Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 3D4B9106564A; Sun, 6 Nov 2011 22:17:22 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id DD67920282F; Sun, 6 Nov 2011 22:17:21 +0000 (UTC) Message-ID: <4EB71580.20507@FreeBSD.org> Date: Sun, 06 Nov 2011 15:17:20 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: d@delphij.net References: <4EB6693F.2020102@delphij.net> In-Reply-To: <4EB6693F.2020102@delphij.net> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.ORG, Xin LI , Eygene Ryabinkin Subject: Re: Annoying ERROR: 'wlan0' is not a DHCP-enabled interface X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 22:17:22 -0000 On 11/06/2011 03:02, Xin LI wrote: > Hi, > > It seems that 226879 have introduced an error indication where if an > interface is up and is not set to DHCP, the devd invoked > /etc/rc.d/dhclient wlan0 call would generate an annoying message. > > I think this message is not necessary at all -- normally > /etc/rc.d/dhclient is used by the system and it's just legitimate that > a network interface comes up and have not assigned as DHCP. > > I'd like to propose the attached change, which turns this message into > debug message but keep the exit intact. > > Comments? What harm is the error message causing? It seems useful to me to know if something is happening in the background that may need the administrator's attention. Doug -- "We could put the whole Internet into a book." "Too practical." Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/