From owner-freebsd-jail@FreeBSD.ORG Mon Jan 2 06:05:32 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40997106566B for ; Mon, 2 Jan 2012 06:05:32 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id CB1AA8FC08 for ; Mon, 2 Jan 2012 06:05:31 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so14723444wib.13 for ; Sun, 01 Jan 2012 22:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=kd8Ykptc5tKpnGDmdzle9IgQJZxskyVEnDde3T+7U2I=; b=Eq9gCYcCeyzgd0mNgYgTN5175h1uud59UGKb0RSIPfnSqMHbyDPH7yOccJNDie2151 ZVehWNHr27yXLOT/5ma6H+6xsv1zLJXjk5jMaUldsR9a0CiaL7elZlMRn4DsPAAHP1VV cOG00BAah8klZqKRkWMXWF4eDUccVeYVHje10= MIME-Version: 1.0 Received: by 10.216.209.99 with SMTP id r77mr25965054weo.25.1325482531706; Sun, 01 Jan 2012 21:35:31 -0800 (PST) Received: by 10.216.30.66 with HTTP; Sun, 1 Jan 2012 21:35:31 -0800 (PST) In-Reply-To: References: <20120102015015.GB2875@ma.sigsys.de> Date: Sun, 1 Jan 2012 23:35:31 -0600 Message-ID: From: Brandon Gooch To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-jail@freebsd.org, Raphael Eiselstein Subject: Re: conf/142972: JAILv2: a more complete mgmt solution? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 06:05:32 -0000 On Sun, Jan 1, 2012 at 10:59 PM, Devin Teske wr= ote: > > On Jan 1, 2012, at 5:50 PM, Raphael Eiselstein wrote: > >> Hello there, >> >> I'm responding to conf/142972: [jail] [patch] Support JAILv2 and vnet in= rc.d/jailconf/142972 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D142972. >> >> bz wrote: >>> As was said multiple times before, it is very unlikely that >>> the current rc script will be changed for the experimental >>> feature and a more complete mgmt solution is being sought of >>> for the final support. >> >> I understand, that /etc/rc.d/jail is currently far more than a "rc-scrip= t" >> should be. But I like to use it with traditional jails, it works good >> for me even with ifconfig and so on. >> >> I'm about planning our[1] "next generation" jailhosting platform based o= n >> FreeBSD 9 and with vimage support, maybe hierachical jails. Multiple-IP, >> v4+v6, ... I don't know yet what and how... >> >> My idea is something like that: >> >> * The host is booting several jails with epair-support. >> * I don't exactly how to configure epair in existing /etc/rc.d/* >> * Each Jails will do it's own (local) IP setup on startup using local >> =A0/etc/rc.conf , so the host just needs to know about subnets... maybe. >> * I'd like to have something which fits into /etc/rc.d/ and will be >> =A0configured through /etc/rc.conf >> >> What is best practise here? Are there any standards or prototypes yet >> or do I have to invent my own wheel here? I hope not! >> >> Hints and Howtos will be highly appreciated. > > I developed an rc.d script that you can download as a FreeBSD package and= then "pkg_add". > > http://druid.bsd.sourceforge.net/download/vimage-1.4.tbz > > http://druidbsd.sourceforge.net/vimage.html > -- > Devin > Quick correction: URL for downloading is actually: http://druidbsd.sourceforge.net/download/vimage-1.4.tbz Devin, your "utilities" (if I dare call them that) are turning out to be incredibly useful -- thanks! -Brandon