From owner-freebsd-rc@FreeBSD.ORG Fri Nov 18 20:38:32 2011 Return-Path: Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9697A1065670; Fri, 18 Nov 2011 20:38:32 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 791528FC0C; Fri, 18 Nov 2011 20:38:32 +0000 (UTC) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 3EC5A61A3; Fri, 18 Nov 2011 12:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1321648712; bh=uWlobWMgsHs8SrdEwcaKR98+NHXEv8P5r7foaagQRrU=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Gs7+e6ddp1IA1Qam4qUPXQQo+pOx1drlRgpnrm7IoZ67jd+wF/jVdKhY0FkM45/a7 KdaTjQrNNjHr4qQ1Z5BEhHDYCw5VSINRwCzomIkWORYBM5hSlJHGWt+Mcx2jpU/+Qe n3djG2lr85jcu+c8211gzYwkpmmxV/Kjp2Zrbh4g= Message-ID: <4EC6C247.6040807@delphij.net> Date: Fri, 18 Nov 2011 12:38:31 -0800 From: Xin LI Organization: The FreeBSD Project MIME-Version: 1.0 To: Eygene Ryabinkin References: <4EB6693F.2020102@delphij.net> <4EB71580.20507@FreeBSD.org> <4EB72290.8030104@delphij.net> In-Reply-To: OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.ORG, Doug Barton , d@delphij.net 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 Reply-To: d@delphij.net 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: Fri, 18 Nov 2011 20:38:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/18/11 03:40, Eygene Ryabinkin wrote: > Gentlemen, good day. > > Sun, Nov 06, 2011 at 04:13:04PM -0800, Xin LI wrote: >> On 11/06/11 15:17, Doug Barton wrote: >>> 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. >> >> It's harmful because it's not an error -- for example, a bge0 >> interface which is a member of lagg group, is usually marked >> explicitly as non-DHCP. On the other hand, can you give me an >> example where it *is* an error? :-) I can't seem to think about >> one but I could be wrong here. >> >> It sounds like to me a POLA violation by the way since it's not >> the way it was, but my argument is primarily about "this gives an >> error message for valid configuration" and not about POLA. > > Since devd.conf uses quietstart, there is a way to make everyone > happy or at least not so angry: check rc_quiet and act accordingly. > The patch is available at > http://codelabs.ru/fbsd/patches/dhclient/dhclient-respect-quiet-mode.diff > > please, test it and report back. Is there any counter reasoning about "having an interface marked as non-DHCP is not an error"? I'm still not convinced with the benefit of having it show an error message. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOxsJHAAoJEATO+BI/yjfB1DEIAK5R2xgC/4JIML1eWG6wTt3g 2dHp/e2hVZIqSrmVqrd3Dhm6yYsjn/ycTLCwulpdyhviZfZJneTuXHIKEo4fF8Bt o+NoqAYZiAt/9cUJXFO1x/FMm7h1scth4H5AsLqvz52XJkmxeGBGq1tCEv4oeT2/ CYWzsOwd3OjEaBBNtRX7PyP8i+G+Sd3gPK1SQpbYbrqBtYHPa3bTVbn6olbrA21E sQ0qRIakD5I/GhuEhnfAnLNAR7fYUW3/b6KVBBFsGa4aE5kF8fDW1OlIhRY3hm47 hx8lwBwOyAPL3cJ+xidGX9klzYcZsXdH84fgsn5bwXI9ZbIfEj3+VaOp+aZXjVA= =XGEv -----END PGP SIGNATURE-----