From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 22 09:04:06 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.ORG Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A697916A4AB for ; Fri, 22 Sep 2006 09:04:06 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E18243DB8 for ; Fri, 22 Sep 2006 09:03:21 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (axydil@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k8M92m3i077108; Fri, 22 Sep 2006 11:02:53 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k8M92l5W077107; Fri, 22 Sep 2006 11:02:47 +0200 (CEST) (envelope-from olli) Date: Fri, 22 Sep 2006 11:02:47 +0200 (CEST) Message-Id: <200609220902.k8M92l5W077107@lurza.secnetix.de> From: Oliver Fromme To: freebsd-emulation@FreeBSD.ORG, freebsd@hub.org In-Reply-To: <20060922012433.A1031@ganymede.hub.org> X-Newsgroups: list.freebsd-emulation User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 22 Sep 2006 11:02:53 +0200 (CEST) Cc: Subject: Re: Linux "jail" ... possible? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-emulation@FreeBSD.ORG, freebsd@hub.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 09:04:06 -0000 Marc G. Fournier wrote: > I know I can install the linux_dist_stage3 to get a linux environment > within a FreeBSD jail, and login, do 'chroot /compat/linux /bin/sh' and > actually run apache servers and such, just like I was logged into a linux > box ... > > *but* ... is it possible to do this without the FreeBSD jail running > first? > > ie: > > jail /compat/linux > > If so ... what would the start command be? Sure, I've done that before. Just use /bin/sh as start command to get a root shell within the linux jail. You can also directly run apachectl to start an apache within the linux jail, etc. (might require a wrapper script to setup $PATH and other things within the jail, though). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way.