From owner-freebsd-jail@FreeBSD.ORG Tue Jan 27 17:13:20 2015 Return-Path: Delivered-To: freebsd-jail@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 87B7846A for ; Tue, 27 Jan 2015 17:13:20 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5497A8FA for ; Tue, 27 Jan 2015 17:13:19 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 02B4B2101F for ; Tue, 27 Jan 2015 12:13:18 -0500 (EST) Received: from web2 ([10.202.2.212]) by compute6.internal (MEProxy); Tue, 27 Jan 2015 12:13:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=lG7qCyMC/BszU3opxyFc csLtHDA=; b=Y/JGnpq18V7KCnHLc8gdcr2wNCosuV3wqepC51ANK3XLvisKJw0W 4M7JvgrKKfdW5Kr3ZewqlCtgKhVW05BR+cnQPe5V4J4BSrHlfBdzO60xfqbOtCVQ UGYmkUTdalkoxLritei0hd+O49HS+fet9+zjiFOB8YJ2J8mrWg/M9w8= Received: by web2.nyi.internal (Postfix, from userid 99) id BC747540442; Tue, 27 Jan 2015 12:13:18 -0500 (EST) Message-Id: <1422378798.471657.219584245.23835460@webmail.messagingengine.com> X-Sasl-Enc: dLQH7CuLpjzqF/bt2KIkNlzScnxceLNNXLhNukhYlIMv 1422378798 From: Mark Felder To: Dirk Engling , freebsd-jail@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-46f3f2c7 Subject: Re: preferred jail management tool Date: Tue, 27 Jan 2015 11:13:18 -0600 In-Reply-To: <54C7C4C4.60908@erdgeist.org> References: <20150127012347.GA4940@lonesome.com> <20150127141239.V77290@sola.nimnet.asn.au> <54C7958B.40007@gmail.com> <1422377865.3055728.219576589.684C5A1B@webmail.messagingengine.com> <54C7C4C4.60908@erdgeist.org> X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 17:13:20 -0000 On Tue, Jan 27, 2015, at 11:03, Dirk Engling wrote: > On 27.01.15 17:57, Mark Felder wrote: > > > I'll admit that last time I used ezjail I found it frustratingly > > difficult to locate concise documentation on exactly how flavours > > worked, and how to use scripts to do things to the new jails as well as > > copying in the files I wanted. Maybe I just didn't look hard enough, > > though. > > Well, I built flavours as stupidly simply as it gets: all it does is to > copy files and some of them happen to be located in /etc/rc.d, being > executed at the first start up. If you would have taken a single look > into the example flavour, you should have noticed. > > Even in the old docs this was pointed out, the overhauled man pages do > that even more precisely. > Eventually I figured out I could just mirror hier(7) in the flavour and it would copy files in, but I swear there were references to people getting the flavour to run custom shell scripts during the creation of the jail but I couldn't find good examples of that. Again, this was a couple years ago. I don't have recent experience or memories of this exact problem.