Date: Sun, 06 Nov 2011 03:02:23 -0800 From: Xin LI <delphij@delphij.net> To: freebsd-rc@FreeBSD.ORG Cc: Eygene Ryabinkin <rea@FreeBSD.ORG> Subject: Annoying ERROR: 'wlan0' is not a DHCP-enabled interface Message-ID: <4EB6693F.2020102@delphij.net>
next in thread | raw e-mail | index | archive | help
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 <delphij@delphij.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EB6693F.2020102>