Updating packages in Jails

Gary Gatten Ggatten at waddell.com
Mon Feb 8 22:13:59 UTC 2010

-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Adam Vande
Sent: Monday, February 08, 2010 3:28 PM
To: Jason
Cc: Richard L. Houston; freebsd-questions at freebsd.org
Subject: Re: Updating packages in Jails

On Mon, Feb 8, 2010 at 3:15 PM, Jason <jhelfman at e-e.com> wrote:

> Use this as a starting point
>> http://www.freebsd.org/doc/handbook/jails.html
>> Anyways, host and jail need to run the exact same kernel.  Normally
>> build my kernel and install it into the base as well as each
>> jail
>> so everything is consistent.
> Why do they need to run the exact same kernel? I didn't see that
> in
> the document, unless I missed it.
> thanks

They aren't a full form of visualization in terms of having a
hypervisor, as
it is dependent the system calls coming from a jail being the same calls
that are present in the host kernel.  Mismatched kernel version could
that mapping.  Which is also why jails are a faster form of
because all the call mappings are 1:1.

At least that's my understanding.


Hopefully this isn't considered a hijack, but what are the *main* diffs
between jails and vm's?  I've never worked with jails but read about
them several times.  Do they allow controlling of CPU cycles, Memory
regions, etc. in the same manner as the file system(s) and network?

Asked another way, what are some Usage cases where jails would be equal
or more appropriate than full on vm's and vice-versa.  We use vm's quite
extensively and I'm wondering of some of these can be done in jails



PS: Note - no top posting this time!

<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."

More information about the freebsd-questions mailing list