Date: Fri, 18 Nov 2011 12:42:27 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: d@delphij.net Cc: Doug Barton <dougb@freebsd.org>, freebsd-rc@freebsd.org, Eygene Ryabinkin <rea@freebsd.org> Subject: Re: Annoying ERROR: 'wlan0' is not a DHCP-enabled interface Message-ID: <CAGH67wRGqkJByQyOWTYwzCE5rHtSQVYMQq=AA_r9QX5GM0A4PA@mail.gmail.com> In-Reply-To: <4EC6C247.6040807@delphij.net> References: <4EB6693F.2020102@delphij.net> <4EB71580.20507@FreeBSD.org> <4EB72290.8030104@delphij.net> <Snqh5lmyPm2YvkGpN1vSomauXwU@g5jH1yj%2BTnAiSdLOy3xs5Jutvhc> <4EC6C247.6040807@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 18, 2011 at 12:38 PM, Xin LI <delphij@delphij.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRGqkJByQyOWTYwzCE5rHtSQVYMQq=AA_r9QX5GM0A4PA>