From owner-freebsd-arch@FreeBSD.ORG Sat Jan 31 00:05:33 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 53AF516A4CE for ; Sat, 31 Jan 2004 00:05:33 -0800 (PST) Received: from telecom.net.et (sparrow.telecom.net.et [213.55.64.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B694243D2D for ; Sat, 31 Jan 2004 00:05:06 -0800 (PST) (envelope-from mtm@identd.net) Received: from [213.55.66.238] (HELO pool-151-200-10-97.res.east.verizon.net) by telecom.net.et (CommuniGate Pro SMTP 3.4.8) with ESMTP-TLS id 35573425; Sat, 31 Jan 2004 10:59:24 +0300 Received: from mobile.acsolutions.com (localhost [127.0.0.1]) ESMTP id i0V84c3U001187; Sat, 31 Jan 2004 11:04:44 +0300 (EAT) (envelope-from mtm@mobile.acsolutions.com) Received: (from mtm@localhost) by mobile.acsolutions.com (8.12.10/8.12.10/Submit) id i0V84bS2001186; Sat, 31 Jan 2004 11:04:37 +0300 (EAT) (envelope-from mtm) Date: Sat, 31 Jan 2004 11:04:35 +0300 From: Mike Makonnen To: Dag-Erling Sm?rgrav Message-ID: <20040131080435.GA1172@mobile.acsolutions.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD/5.2-CURRENT (i386) 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: Sat, 31 Jan 2004 08:05:33 -0000 On Fri, Jan 30, 2004 at 06:02:04PM +0100, 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. I'm about to commit a patch submitted by someone else that will allow people to shutdown individual jails from /etc/rc.d/jail. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: 00E8 61BC 0D75 7FFB E4D3 6BF1 B239 D010 3215 D418 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !