Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 15:05:57 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        Andrew Hotlab <andrew.hotlab@hotmail.com>
Cc:        freebsd-emulation@freebsd.org, freebsd-jail@freebsd.org
Subject:   Re: linux-only jail possible?
Message-ID:  <201003021505.57820.lists@jnielsen.net>
In-Reply-To: <BLU138-W1150B64D8A2E70EA2726A5F63B0@phx.gbl>
References:  <BLU138-W1150B64D8A2E70EA2726A5F63B0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 March 2010 14:52:24 Andrew Hotlab wrote:
> ----------------------------------------
> 
> > From: lists@jnielsen.net
> > To: freebsd-emulation@freebsd.org
> > Date: Tue, 2 Mar 2010 13:25:27 -0500
> > CC: freebsd-jail@freebsd.org
> > Subject: linux-only jail possible?
> >
> > Has anyone tried to run a jail containing only Linux binaries? I need a
> > lightweight VM-ish solution to run an arbitrary number of test/dev/demo
> > servers (apache + python mostly) but would like it to be reasonably
> > close to the "real" servers (running Linux) in terms of software
> > installation and maintenance, etc. (Moving the whole show over to
> > FreeBSD is a battle for another day..)
> >
> > If you have attempted something like this I'd love to hear from you.
> 
> I didn't attempt that but, if I can make a suggestion, I would never
>  spend time in making a Linux userland run on a BSD kernel while I can
>  run Linux binaries directly on FreeBSD using the Linux ABI
>  (http://www.freebsd.org/handbook/linuxemu.html). I heard about a project
>  that aims to do what you are looking for
>  (http://www.debian.org/ports/kfreebsd-gnu), but I do not know at what
>  stage it is.

My plan IS to run Linux binaries directly on FreeBSD using the Linux ABI. I 
just want to do it in jails. Since all the software I plan to run in the 
jails will be Linux, I'm wondering if I can get away without using anything 
else.

The debian port is something else. Even if it has jails support it's not 
mature enough for what I have in mind and I'd like the FreeBSD host to be 
real FreeBSD.

> My genuine suggestion is to spend time to advocate BSD and persuade your
>  company to "move the whole show on it"!  ... please note that this
>  suggestion is coming from a multi-certified Microsoft specialist! ;)

My boss is actually a proponent of FreeBSD as well, but there are many man-
hours invested in getting the current infrastructure to work smoothly (which 
it does), and we don't have the time or the motivation to do a wholesale 
switchover at this point. A gradual switch is more likely, especially once 
some things like SUJ have time to mature in the tree.

R,

JN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003021505.57820.lists>