poudriere jail as root on nfs?

Brandon Wandersee brandon.wandersee at zoho.com
Fri May 15 13:32:36 UTC 2015


On 05/15, Marko Cupać wrote:
> On Thu, 14 May 2015 09:36:29 -0500
> Brandon Wandersee <brandon.wandersee at zoho.com> wrote:
> > I believe the answer may be "Yes," but why?
> 
> Because creating a jail with poudriere takes a minute, while creating
> it in a traditional (buildworld/buildkernel) way takes an hour.

Correct, because poudriere's "ftp" method creates the jail using the pre-built
world and kernel packaged with the FreeBSD-RELEASE distribution. If you were to
use the "svn" method the jail would be compiled from source and take longer to
create, while using the "src" method would pull the compiled world and kernel
from `/usr/obj` if it exists (and thus take less time than even the "ftp" method).

I'm fairly certain poudriere itself doesn't perform any magic here---if what you
want are jails that don't need to be compiled from source then using poudriere
would probably be doing it the hard way, as the latter would add another layer
of complexity to jail creation and management. Just download the FreeBSD 10.1
distribution tarballs (or grab them from the installation image) and knock
yourself out. ;)

-- 
=============================================================================
            :: Brandon Wandersee :: brandon.wandersee at zoho.com ::
=============================================================================
"A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools."

                                                            - Douglas Adams
=============================================================================



More information about the freebsd-stable mailing list