From owner-freebsd-stable@FreeBSD.ORG Fri May 15 06:42:41 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 118ECF8E for ; Fri, 15 May 2015 06:42:41 +0000 (UTC) Received: from smtp.mimar.rs (smtp.mimar.rs [193.53.106.135]) by mx1.freebsd.org (Postfix) with ESMTP id B78851D5D for ; Fri, 15 May 2015 06:42:40 +0000 (UTC) Received: from vscan.mimar.rs (vscan.mimar.rs [193.53.106.134]) by smtp.mimar.rs (Postfix) with ESMTP id C69C7898F8 for ; Fri, 15 May 2015 08:42:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mimar.rs; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:organization:references:in-reply-to:message-id:subject :subject:from:from:date:date:received:received; s=mimar-0901; t= 1431672154; x=1433486555; bh=6TchzbLv20skLpjjQ6uwh7iCh7RYY4+UZhG YAd0NRSQ=; b=BhP/uIo8N2AQV4i+qkMk3htEfv953F08xoX7fm+tBX96joXA/Jz hz2rgzExhZmnLNB67gk7vo7kSUgxxtvO2suFQQR4rAgT8BGLFquGrgrXs2EcMP6S 4xdTbTKpXoJyi6NEWUlotmoKJX2EP1bpmzF4i7Wcq91kze4AoAJYqbz4= X-Virus-Scanned: amavisd-new at mimar.rs Received: from smtp.mimar.rs ([193.53.106.135]) by vscan.mimar.rs (vscan.mimar.rs [193.53.106.134]) (amavisd-new, port 10026) with ESMTP id oLQ_zQLv1otz for ; Fri, 15 May 2015 08:42:34 +0200 (CEST) Received: from efreet (unknown [193.53.106.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by smtp.mimar.rs (Postfix) with ESMTPSA id BC05989469 for ; Fri, 15 May 2015 08:42:33 +0200 (CEST) Date: Fri, 15 May 2015 08:42:32 +0200 From: Marko =?UTF-8?B?Q3VwYcSH?= To: freebsd-stable@freebsd.org Subject: Re: poudriere jail as root on nfs? Message-ID: <20150515084232.0d94f17f@efreet> In-Reply-To: <20150514143629.GA17136@WorkBox.Home> References: <20150514152111.6d900adb@efreet> <20150514143629.GA17136@WorkBox.Home> Organization: Mimar X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 06:42:41 -0000 On Thu, 14 May 2015 09:36:29 -0500 Brandon Wandersee wrote: > On 05/14, Marko Cupa=C4=87 wrote: > > Hi, > >=20 > > I was wondering if poudriere jails created with ftp can be exported > > via NFS and mounted from diskless clients as described in handbook: > >=20 > > https://www.freebsd.org/doc/en/books/handbook/network-diskless.html > >=20 > > Are they 'complete' jails, with the same functionality as ones > > created with: > >=20 > > # cd /usr/src > > # make buildworld > > # make buildkernel > > # make installworld DESTDIR=3D${NFSROOTDIR} > > # make installkernel DESTDIR=3D${NFSROOTDIR} > > # make distribution DESTDIR=3D${NFSROOTDIR} > >=20 >=20 > I believe the answer may be "Yes," but why? Because creating a jail with poudriere takes a minute, while creating it in a traditional (buildworld/buildkernel) way takes an hour. Things get even more complicated with buildworld/buildkernel if I need multiple versions and architectures while with poudriere it's very easily achieved. > The package repository is separate from the jail. Unless you have > some exceptional case there's really nothing in the jail itself worth > exporting over a network. I need the jail itself, in order to mount it as / over NFS on a diskless client. --=20 Marko Cupa=C4=87 https://www.mimar.rs