From owner-freebsd-ports@FreeBSD.ORG Thu Jan 29 23:15:49 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C48C39A for ; Thu, 29 Jan 2015 23:15:49 +0000 (UTC) Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5011D94B for ; Thu, 29 Jan 2015 23:15:49 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id hq11so9799285vcb.2 for ; Thu, 29 Jan 2015 15:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Uctt3NeDhfcJyh9sxVbSr6iHQVzdxbckBpH72papcLI=; b=X1X6ttX227nQySpKPKfJLZowZajT8Zy25gcD2AzOCYGCCL6SBi1iPSoypMLWgB7VoR q0XqLBRlhugBklnj/LxVri1usswNaOWbAJ7poTj6ecOzgW3eJ2Ii+pJ7b6Z9iK+r/0RX lFWw3YBbhidiCDkBv0BIBG4boPfdWMniAJZyxa7lfu/Sl8+OPy/iERssVy8so7C2x46w yKeoYqkRR1b7LZwjXs0RGtHhv0bx1LrgJH9/J0OKzqQraQ9SFrBHQhJr2VE5fWG/d70d iEdu2uQktTFFvwZDh6J1mVST+SCIEiykVTJXQuAMQ0dW4r/IGCyVmLPmIOAZM4+/puJd YfIQ== MIME-Version: 1.0 X-Received: by 10.221.2.197 with SMTP id nv5mr1941862vcb.53.1422573348318; Thu, 29 Jan 2015 15:15:48 -0800 (PST) Received: by 10.52.26.40 with HTTP; Thu, 29 Jan 2015 15:15:48 -0800 (PST) In-Reply-To: References: Date: Thu, 29 Jan 2015 21:15:48 -0200 Message-ID: Subject: Re: Poudriere in a jail error From: Cassiano Peixoto To: Ben Woods Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2015 23:15:49 -0000 Hi Ben, I just found out a fix using the url you sent me. I used poudriere -x bulk... to debug the problem. By default a jail doesn't start with loopback interface and poudriere try to build a jail inside a jail using loopback interface. So to fix it i added the following to /etc/jail.conf in host system and restart my jail: ip4.addr=xx.xx.xx.xx, 127.0.0.1; Thanks for your tip. On Thu, Jan 29, 2015 at 8:39 PM, Ben Woods wrote: > That looks similar to this bug entry: > https://github.com/freebsd/poudriere/issues/216 > > Does that information help at all? > > > On Friday, January 30, 2015, Cassiano Peixoto > wrote: > >> Hi, >> >> I'm trying to run Poudriere inside a jail to build my packages but i'm >> having the following error: >> >> [00:00:00] ====>> Creating the reference jail... done >> [00:00:03] ====>> Mounting system devices for 10amd64-system >> [00:00:03] ====>> Mounting ports/packages/distfiles >> [00:00:03] ====>> Using packages from previously failed build >> [00:00:03] ====>> Mounting packages from: >> /poudriere/data/packages/10amd64-system >> [00:00:03] ====>> Mounting /var/db/ports from: >> /usr/local/etc/poudriere.d/options >> [00:00:03] ====>> Appending to make.conf: >> /usr/local/etc/poudriere.d/make.conf >> /etc/resolv.conf -> /poudriere/data/.m/10amd64-system/ref/etc/resolv.conf >> [00:00:03] ====>> Starting jail 10amd64-system >> jail: jail_set: Operation not permitted >> [00:00:03] ====>> Cleaning up >> [00:00:03] ====>> Umounting file systems >> >> Any idea what's going on? >> >> Thanks >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > > > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com >