From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 22 12:05:24 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 3CD0D16A415 for ; Fri, 22 Sep 2006 12:05:24 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB5A243D5D for ; Fri, 22 Sep 2006 12:05:11 +0000 (GMT) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.128]) by hub.org (Postfix) with ESMTP id BE4E93A4677 for ; Fri, 22 Sep 2006 09:04:51 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 84992-01; Fri, 22 Sep 2006 12:03:32 +0000 (UTC) Received: from ganymede.hub.org (blk-137-86-60.eastlink.ca [24.137.86.60]) by hub.org (Postfix) with ESMTP id 53D563A4676; Fri, 22 Sep 2006 09:03:24 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1027) id 178495E599; Fri, 22 Sep 2006 09:03:28 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 135035CB0E; Fri, 22 Sep 2006 09:03:28 -0300 (ADT) Date: Fri, 22 Sep 2006 09:03:27 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: freebsd@ganymede.hub.org To: freebsd-emulation@FreeBSD.ORG, freebsd@hub.org In-Reply-To: <200609220902.k8M92l5W077107@lurza.secnetix.de> Message-ID: <20060922090239.F1031@ganymede.hub.org> References: <200609220902.k8M92l5W077107@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: Linux "jail" ... possible? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 12:05:24 -0000 On Fri, 22 Sep 2006, Oliver Fromme wrote: > 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). What about stuff like cron, syslog, etc? For instance, when we start up a freebsd jail, we run /etc/rc to make sure all processes are started ... is there an equivalent that can be run within the gentoo/linux tree? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664