From owner-freebsd-rc@FreeBSD.ORG Fri Nov 18 11:54:26 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 BB201106566C for ; Fri, 18 Nov 2011 11:54:26 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 698548FC0C for ; Fri, 18 Nov 2011 11:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=LWNll8cevbna5LI5BbZ72Qa4sskwsznQ3pwNuO9ZlLg=; b=ZbbZZGaDtCrixH75g8hLkskaGg2/iL3YqGn+vNwICSk6X75ZFdrdkGWmvMotFjFugd+D1laak7Y8nj8EiEw2i1+5IwgQ/fEoFz1jWrFUX2VZb23U6bj46Pv0AxcKg/aO/tp5iuuQpuk6gC70q76cFDXAiYmGyRX1mw3/+4nykwp9WGslA32W/NFmXu9zD9GTfaxrMFjCDtsEwuaZJrQp/YXSzq70t3x1g1nJusXFBcP3O3gED8ixdxmxZ5rq5T3MmpuaOw3PtevetL/dbJ8fyhHRiTzApHbRUNg5M2RbB+g9XlWz21yPNkl3WFVgJUy9JKqaI5ZdP9yn2wNIgdpacA==; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1RRMnq-000OaY-Jz; Fri, 18 Nov 2011 14:40:19 +0300 Date: Fri, 18 Nov 2011 15:40:16 +0400 From: Eygene Ryabinkin To: d@delphij.net Message-ID: References: <4EB6693F.2020102@delphij.net> <4EB71580.20507@FreeBSD.org> <4EB72290.8030104@delphij.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZfOjI3PrQbgiZnxM" Content-Disposition: inline In-Reply-To: <4EB72290.8030104@delphij.net> Sender: rea@codelabs.ru Cc: Doug Barton , freebsd-rc@FreeBSD.ORG 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: Fri, 18 Nov 2011 11:54:26 -0000 --ZfOjI3PrQbgiZnxM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > > know if something is happening in the background that may need the=20 > > administrator's attention. >=20 > 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. >=20 > 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. Thanks! --=20 Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EAREIAAYFAk7GRB8ACgkQFq+eroFS7PsdwQD+KGGO5BQKAPN4ExhB6/tR903l 6fXc3u3X8CQ3OhAw0FkBAIVAtibXPtean53jkPyCXCRbQl9CkEEnA0Ij0IP+uYam =Bdtr -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM--