From owner-freebsd-arch@FreeBSD.ORG Fri Jan 30 10:20:49 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0815716A4CE for ; Fri, 30 Jan 2004 10:20:49 -0800 (PST) Received: from 82-41-27-158.cable.ubr04.edin.blueyonder.co.uk (82-41-27-158.cable.ubr04.edin.blueyonder.co.uk [82.41.27.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF3243D1F for ; Fri, 30 Jan 2004 10:20:44 -0800 (PST) (envelope-from andrew@mux.org.uk) Received: from mux.org.uk (spatula.flat [192.168.0.2]) by myriad.flat (Postfix) with ESMTP id A9E5EBA; Fri, 30 Jan 2004 17:12:08 +0000 (GMT) Message-ID: <401AA096.9080406@mux.org.uk> Date: Fri, 30 Jan 2004 18:21:10 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: arch@freebsd.org Subject: Re: init(8) in jails X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 18:20:49 -0000 Dag-Erling Smørgrav wrote: > Currently, the preferred mechanism to set up a virtual server in a > jail is 'jail /path/to/jail jail.host.name 1.2.3.4 /etc/rc'. > > How about modifying init instead and teach it how to run a jail? The > advantages of that approach would include the ability to send a signal > to a jailed init to have it run /etc/rc.shutdown inside the jail and > terminate the jail cleanly; currently, there is no clean method of > terminating a jail. This seems to be similar to the jailer command developed by Nate Nielsen. http://memberwebs.com/nielsen/freebsd/jails/jailer/ or sysutils/jailer Andrew