From owner-freebsd-isp@FreeBSD.ORG Tue Oct 27 17:08:21 2009 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035B0106568B for ; Tue, 27 Oct 2009 17:08:21 +0000 (UTC) (envelope-from tonix@interazioni.it) Received: from mx02.interazioni.net (mx02.interazioni.net [80.94.114.204]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6E48FC19 for ; Tue, 27 Oct 2009 17:08:20 +0000 (UTC) Received: (qmail 41761 invoked by uid 88); 27 Oct 2009 17:08:17 -0000 Received: from unknown (HELO ?192.168.200.240?) (tonix@interazioni.it@217.19.158.67) by relay.interazioni.net with ESMTPA; 27 Oct 2009 17:08:09 -0000 Message-ID: <4AE728F8.7020809@interazioni.it> Date: Tue, 27 Oct 2009 18:08:08 +0100 From: "Tonix (Antonio Nati)" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-isp@freebsd.org References: <4AE6C7BD.907@interazioni.it> <4AE7232E.2070208@quip.cz> In-Reply-To: <4AE7232E.2070208@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Jails creation X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 17:08:21 -0000 Miroslav Lachman ha scritto: > Tonix (Antonio Nati) wrote: >> >> Is there any architectural reason for which jails must be created >> only starting from sources? >> Would not it be simpler to create a jail cloning the host environment >> binaries (and then using the normal freebsd-update to keep it updated)? >> Would it be possible to suggest a funded project with this goal? > > You are not the first one with this idea. You can easily use nullfs > mount of directories from base system, but people mostly prefer > independent directory with jail install shared by many jails. > > And sometimes somebody needs jails with modified binaries, so it is > not possible to share theme with base system in all cases. > > There are many ways to get jails running without sources, it is up to > you to choose one. > > Miroslav Lachman > > PS: there is freebsd-jail@freebsd.org mailinglist > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > I have nothing against shared dirs, but my question is this: why the basic jail creation command requires compilation? Given the fact jail must have exactly the same version of base system, why the base create command dos not simply copy the existing binaries? It would avoid local source, remote packages, etc... Regards, Tonino -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------