From owner-freebsd-current@FreeBSD.ORG Tue Aug 21 11:53:12 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0BD110656D1; Tue, 21 Aug 2012 11:53:12 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7D3528FC17; Tue, 21 Aug 2012 11:53:12 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:8870:d54b:33e8:55b2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 13A1B4AC2D; Tue, 21 Aug 2012 15:53:10 +0400 (MSK) Date: Tue, 21 Aug 2012 15:53:08 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1959717636.20120821155308@serebryakov.spb.ru> To: Garrett Cooper , current@freebsd.org, jhb@FreeBSD.org In-Reply-To: <67977762.20120821154035@serebryakov.spb.ru> References: <20120821095527.GA33206@hell.ukr.net> <67977762.20120821154035@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Peter Jeremy Subject: Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2012 11:53:12 -0000 Hello, Garrett. You wrote 21 =E0=E2=E3=F3=F1=F2=E0 2012 =E3., 15:40:35: GC>> Try reverting r239356 -- if that works, then please let jhb@ know. LS> I'm confused by this commit, because it seems (from comment alone), LS> that dhclient will not work without devd anymore (with "synchronous LS> dhcp" option in rc.conf). LS> Am I right? And if I'm right about understanding what this change does, it is POLA violation for sure. Both consequences: unable to use dhcclient without devd (user will need to restart it by hands after each cable unplugging event) and removing IP address from interface on cable unplugging or other interface down event but before lease is expired. If I'm right in understanding this commit, I vote to back it out and find better solution, may be, two new options: one to remove IP and one to exit on interface down. And default behavior should be OLD ONE about IP address in any case and OLD ONE about exit in case when dhclient isn't started by devd, but by rc scripts directly. --=20 // Black Lion AKA Lev Serebryakov