Date: Fri, 25 Dec 2015 12:21:33 +0900 From: "Chad Leigh Shire.Net LLC" <chad@shire.net> To: Jake <milios@ccsys.com> Cc: David Mehler <dave.mehler@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: FreeBSD jail running a Debian or Centos distro Message-ID: <C6366BEE-DF03-4FDB-82C3-8E74D6DFCB60@shire.net> In-Reply-To: <CF647EB6-135F-4994-AD16-D2256A635001@ccsys.com> References: <CAPORhP7yRyQug7ybdYhxz%2B4GGTNTzcK2mCUyGQni6CKFrsOuYQ@mail.gmail.com> <98024BC5-356B-4F75-B0A6-078599F54472@shire.net> <CF647EB6-135F-4994-AD16-D2256A635001@ccsys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Dec 25, 2015, at 11:52 AM, Jake <milios@ccsys.com> wrote: >=20 >> On Dec 24, 2015, at 6:49 PM, Chad Leigh Shire.Net LLC = <chad@shire.net> wrote: >>=20 >>=20 >>> On Dec 25, 2015, at 8:41 AM, David Mehler <dave.mehler@gmail.com> = wrote: >>>=20 >>> Hello, >>>=20 >>> Has anyone got a FreeBSD jail to run either a Centos or a Debian >>> distro of Linux? >>=20 >>=20 >> Because of how jails work, that is not possible. Jails are like = multiple user installations on a single kernel rooted with a facility = like an =C3=BCber chroot, in general terms (more complicated than that = of course). It is not like separate VMs running. >=20 > It is indeed possible to run the userland portion of a Linux-based = distro, more-or-less unmodified, replacing the Linux kernel with = FreeBSD's "linuxulator" (Linux ABI translation), all inside of a jail, = atop a FreeBSD native filesystem. A great many things work (user-centric = applications), a great many things break (system/network administrative = tools). That was not the question. I know you can run a linux user land and = apps but it is not the same as running a Centos or Debian distort of = linux. >=20 > Don't forget about possibly mounting linprocfs, linsysfs and fdescfs = inside the jail for maximum success. I'm not certain of the current = security implications of linprocfs and linsysfs, so don't take my advice = without doing further investigation considering your use case. Depending = on your use case, it's worth trying with and without the virtualized = network stack options as well.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6366BEE-DF03-4FDB-82C3-8E74D6DFCB60>