From owner-freebsd-current@FreeBSD.ORG Thu Jul 4 15:59:25 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 23D2E2BE; Thu, 4 Jul 2013 15:59:25 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 143121E57; Thu, 4 Jul 2013 15:59:24 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 9757E1A3C1D; Thu, 4 Jul 2013 08:59:24 -0700 (PDT) Message-ID: <51D59BDB.90006@freebsd.org> Date: Thu, 04 Jul 2013 08:59:23 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Pawel Jakub Dawidek Subject: Re: HEADSUP! dhclient(8) sandboxing. References: <20130703225209.GE1405@garage.freebsd.pl> <51D51065.1090303@mu.org> <20130704093044.GA1381@garage.freebsd.pl> In-Reply-To: <20130704093044.GA1381@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 15:59:25 -0000 On 7/4/13 2:30 AM, Pawel Jakub Dawidek wrote: > On Wed, Jul 03, 2013 at 11:04:21PM -0700, Alfred Perlstein wrote: >> On 7/3/13 3:52 PM, Pawel Jakub Dawidek wrote: >>> Hi. >>> >>> I've just committed Capsicum sandboxing for the dhclient(8). >>> Let me know (ideally by sending e-mail to current@ and CCing me) if you >>> notice any weird behaviour. >>> >>> The work was sponsored by the FreeBSD Foundation. >>> >> It broke running dhclient on igb0 for me. It says "interface not found" >> or something to that effect. >> >> Can I help somehow? >> >> Basically just "ifconfig down igb0" then try to run dhclient. It will >> not work. If you "up" the interface and then run it, it is OK. >> >> See attached image. > Thanks for the report. Could you try this patch? > > http://people.freebsd.org/~pjd/patches/dhclient.c.patch > Thanks Pawel, That fixes it for me. I see it's also already committed. Sorry for taking so long to respond, I think we're on opposite time of day. :) -Alfred