From owner-freebsd-rc@FreeBSD.ORG Fri Nov 18 21:08:06 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 B64091065675 for ; Fri, 18 Nov 2011 21:08:06 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 771F88FC12 for ; Fri, 18 Nov 2011 21:08:06 +0000 (UTC) Received: by ghbg20 with SMTP id g20so1243493ghb.13 for ; Fri, 18 Nov 2011 13:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=xIWmDDjD9rDVqcr0KxS3QTuElyeNojU1hqIzbzvTCQM=; b=t7zY6hf5gGEJYRuxJIgYAujOoWnDqK6Ggpc1HgvXifDwPUsdWXerC7DvteLUeAT/FZ BN7PnosIHcLAQGMTBJjEpB/OqHUlofG+uYQg++5jtUN3X5ynCuLnndgg25PTsh76RcnR q/DBVryOIr/xxbLSpPhgJv39ndPKDvkGorLck= MIME-Version: 1.0 Received: by 10.182.169.34 with SMTP id ab2mr1074623obc.27.1321648947699; Fri, 18 Nov 2011 12:42:27 -0800 (PST) Received: by 10.182.7.34 with HTTP; Fri, 18 Nov 2011 12:42:27 -0800 (PST) In-Reply-To: <4EC6C247.6040807@delphij.net> References: <4EB6693F.2020102@delphij.net> <4EB71580.20507@FreeBSD.org> <4EB72290.8030104@delphij.net> <4EC6C247.6040807@delphij.net> Date: Fri, 18 Nov 2011 12:42:27 -0800 Message-ID: From: Garrett Cooper To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , freebsd-rc@freebsd.org, 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: Fri, 18 Nov 2011 21:08:06 -0000 On Fri, Nov 18, 2011 at 12:38 PM, Xin LI wrote: > -----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. =A0On the other hand, can you give me an >>> example where it *is* an error? :-) =A0I 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.dif= f >> >> > please, test it and report back. > > Is there any counter reasoning about "having an interface marked as > non-DHCP is not an error"? =A0I'm still not convinced with the benefit > of having it show an error message. +1. I consider this to be debug noise. Thanks, -Garrett