From owner-freebsd-arch@FreeBSD.ORG Fri Jan 30 09:03:12 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 5BFFF16A4CE for ; Fri, 30 Jan 2004 09:03:12 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87DEF43D60 for ; Fri, 30 Jan 2004 09:02:41 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id DC717530A; Fri, 30 Jan 2004 18:02:22 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id DFD425308 for ; Fri, 30 Jan 2004 18:02:04 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id CB34733C6A; Fri, 30 Jan 2004 18:02:04 +0100 (CET) To: arch@freebsd.org From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 30 Jan 2004 18:02:04 +0100 Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on flood.des.no X-Spam-Level: ss X-Spam-Status: No, hits=2.6 required=5.0 tests=RCVD_IN_DYNABLOCK, RCVD_IN_SORBS autolearn=no version=2.61 Subject: 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 17:03:12 -0000 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. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no