From owner-freebsd-rc@FreeBSD.ORG Sun Nov 6 11:02:28 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 125CE106564A; Sun, 6 Nov 2011 11:02:28 +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 EC7828FC12; Sun, 6 Nov 2011 11:02:24 +0000 (UTC) Received: from delta.delphij.net (c-76-102-50-245.hsd1.ca.comcast.net [76.102.50.245]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 8181F140A1; Sun, 6 Nov 2011 03:02:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1320577344; bh=LQ2CN6CkwfcUdb9+TryQKaF6bAAyOQI1MLIJZiWUPXg=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:CC:Subject: Content-Type; b=OwDQ1StCI9IS7uaBSuut/awIZySFr1AylbsooiIHCUSD4ae6EMSSVD4q0UQWkb9dx aXmH/RJBBE8c4rFhr0zN81Yv0xwqiBsSOV2lLks/sRy1Qs0rfHy6pdDSP0r2rEnIjn OG1hOj7Yq61gneBqMPyMC4oXwJD9uWR9zPZ8dhUA= Message-ID: <4EB6693F.2020102@delphij.net> Date: Sun, 06 Nov 2011 03:02:23 -0800 From: Xin LI Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-rc@FreeBSD.ORG OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: multipart/mixed; boundary="------------080900070303020306090805" Cc: Eygene Ryabinkin Subject: 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: Sun, 06 Nov 2011 11:02:28 -0000 This is a multi-part message in MIME format. --------------080900070303020306090805 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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? 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) iQEcBAEBCAAGBQJOtmk/AAoJEATO+BI/yjfBF3YIALd0n/Vl50oPuqVu1SJKv+2e B29YaSmg+KwcusDNu51ixO8N0ax7DWMWg+fKz68GsSCBiybPcw7cR+aFOnIqLN2e R9I31I0F6eemBlOKDN/XKeZcvA/17U9I1+yNK2xRzX1lsFU7pKSk8TiVIS6q+6X8 sN2xydQzwyAEq22/Q7uhO01QFUWArLMKFlc5xhYUBJ6UlfeHZ4phIrekMT1ZS63E ZgAs160oMlxXlMF0PFGRJ0WGDOlvSG+3GVItK2LT4ZX1TfcDods690Aq/aNet5VG p3rRMcXnQUzHnlu73kpg8itlkokcOmggEDzywhuyILsiByeIWQ+scxQfh3Afd8o= =zSrM -----END PGP SIGNATURE----- --------------080900070303020306090805 Content-Type: text/plain; name="dhclient.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="dhclient.diff" SW5kZXg6IGV0Yy9yYy5kL2RoY2xpZW50Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGV0Yy9yYy5kL2Ro Y2xpZW50CShyZXZpc2lvbiAyMjcxNDYpCisrKyBldGMvcmMuZC9kaGNsaWVudAkod29ya2lu ZyBjb3B5KQpAQCAtMjIsNyArMjIsOCBAQCBzdG9wX3ByZWNtZD0iZGhjbGllbnRfcHJlX2No ZWNrIgogZGhjbGllbnRfcHJlX2NoZWNrKCkKIHsKIAlpZiBbIC16ICIke3JjX2ZvcmNlfSIg XSAmJiAhIGRoY3BpZiAkaWZuOyB0aGVuCi0JCWVyciAxICInJGlmbicgaXMgbm90IGEgREhD UC1lbmFibGVkIGludGVyZmFjZSIKKwkJZGVidWcgIickaWZuJyBpcyBub3QgYSBESENQLWVu YWJsZWQgaW50ZXJmYWNlIgorCQlleGl0IDEKIAlmaQogfQogCg== --------------080900070303020306090805--