From owner-freebsd-jail@FreeBSD.ORG Mon Aug 4 23:13:13 2014 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24DB5927; Mon, 4 Aug 2014 23:13:13 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CDBA029A2; Mon, 4 Aug 2014 23:13:12 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s74NDAnl061498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 4 Aug 2014 17:13:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s74NDARM061495; Mon, 4 Aug 2014 17:13:10 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 4 Aug 2014 17:13:10 -0600 (MDT) From: Warren Block To: Allan Jude Subject: Re: ezjail and mergemaster In-Reply-To: <53D81D43.6070503@freebsd.org> Message-ID: References: <53D81D43.6070503@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 04 Aug 2014 17:13:11 -0600 (MDT) Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 23:13:13 -0000 On Tue, 29 Jul 2014, Allan Jude wrote: > On 2014-07-29 17:44, Warren Block wrote: >> >> What process for running mergemaster should I suggest? Maybe different >> ones for trusted and untrusted jails? > > This will mount /usr/src into the basejail read-only: > > mount -t nullfs -o ro /usr/src /usr/jails/basejail/usr/src Thank you. I took the easy way out, by showing how to mount the source in the jails and just mentioning mergemaster. Draft version: http://www.wonkity.com/~wblock/jails/jails-ezjail.html