CC: Andrey Borzenkov , oblin@mandriva.com MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Content-Disposition: inline X-Spam-Virus: No content-type: text/plain; charset="utf-8" Message-ID: <20090304083739.GC13465@mandriva.com> X-Virus-Scanned: amavisd-new at conectiva.com.br Received: from mx.isc.org (mx.isc.org [IPv6:2001:4f8:0:2::1c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.isc.org", Issuer "ISC CA" (verified OK)) by nexus.isc.org (Postfix) with ESMTPS id 7BAEF959A5 for ; Wed, 4 Mar 2009 08:38:29 +0000 (UTC) (envelope-from gustavodn@mandriva.com) Received: from mx1.mandriva.com (mx1.moondrake.net [212.85.150.166]) by mx.isc.org (Postfix) with ESMTP id C83AF11401F for ; Wed, 4 Mar 2009 08:38:15 +0000 (UTC) (envelope-from gustavodn@mandriva.com) Received: by mx1.mandriva.com (Postfix, from userid 501) id DF571274005; Wed, 4 Mar 2009 09:38:13 +0100 (CET) Received: from perninha.conectiva.com.br (perninha.conectiva.com.br [200.140.247.100]) by mx1.mandriva.com (Postfix) with ESMTP id 5E020274004; Wed, 4 Mar 2009 09:38:12 +0100 (CET) Received: from localhost (perninha.conectiva.com.br [127.0.0.1]) by perninha.conectiva.com.br (Postfix) with ESMTP id 8F71E2EE42; Wed, 4 Mar 2009 03:38:24 -0500 (EST) Received: from perninha.conectiva.com.br ([127.0.0.1]) by localhost (perninha.conectiva.com.br [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 2667URjug14T; Wed, 4 Mar 2009 03:38:24 -0500 (EST) Received: from localhost (189.26.8.31.dynamic.adsl.gvt.net.br [189.26.8.31]) by perninha.conectiva.com.br (Postfix) with ESMTP id BA2332EE41; Wed, 4 Mar 2009 03:38:23 -0500 (EST) User-Agent: Mutt/1.5.18 (2008-05-17) Subject: dhclient-script bug Return-Path: X-Original-To: dhcp-bugs@nexus.isc.org Date: Wed, 4 Mar 2009 05:38:11 -0300 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mx.isc.org To: dhcp-bugs@isc.org From: Gustavo De Nardin X-RT-Original-Encoding: iso-8859-1 Content-Length: 1152 Hello. dhclient-script (Linux version) puts the interface down on some circunstances, to flush caches and routes. At least some wireless drivers lose association when the interface is put down. Also, at least some (the same) drivers fail to signal deassociation when the interface is put down. So we get to Mandriva bug 43441. Please see comment 13 and 41 here: , As stated on #c41, Andrey Borzenkov pointed out "ifconfig inet 0" is enough. I also found Debian (+ Ubuntu) has this same fix since 2005 on their own script () which should demonstrate it works. If you don't see problems with this, I believe this should be fixed in your codebase. Little patch (so far without the "ifconfig up" fix, present in Debian's) here: Cc'ing our dhcp maintainer and Andrey, for refs. Please keep the Cc list on replies unless stated otherwise. Thanks.