Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 17:24:34 +0200
From:      Claudiu Dragalina-Paraipan <dr.clau@gmail.com>
To:        Paulo Fragoso <paulo@nlink.com.br>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Jail fails
Message-ID:  <c2d45d6e04112407241b53b892@mail.gmail.com>
In-Reply-To: <41A4A505.5070808@nlink.com.br>
References:  <41A4A505.5070808@nlink.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Try this way:

cd /usr/src
make buildworld
make installworld DESTDIR=<path to jail home>
cd etc
make distribution DESTDIR=<.....>

Now you sould have everything, including /etc in jail home dir.

cheers,



On Wed, 24 Nov 2004 12:13:09 -0300, Paulo Fragoso <paulo@nlink.com.br> wrote:
> Hi,
> 
> We are trying to create a jail with FreeBSD 5.3 but it's fails with this
> error:
> 
> cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c
> /usr/src/games/fortune/strfile/strfile.c
> make: don't know how to make /j/usr/lib/libc.a. Stop
> *** Error code 2
> 
> We are excuting those command in /usr/src:
> 
> export D=/j
> make world DESTDIR=$D
> 
> Are there any problem with FreeBSD 5.3? We have ever created some jails
> enviroments this way, before FreeBSD 5.3.
> 
> Thanks,
> Paulo.


-- 
Claudiu Dragalina-Paraipan
e-mail: dr.clau@gmail.com



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