Date: Wed, 11 Dec 2002 19:34:05 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Kris Kennaway <kris@obsecurity.org> Cc: Andrew Thompson <andy@fud.org.nz>, freebsd-current@FreeBSD.ORG Subject: Re: Jailing a 4.7 environment on 5.0? Message-ID: <20021212033405.GA77952@troutmask.apl.washington.edu> In-Reply-To: <20021212011712.GA87978@rot13.obsecurity.org> References: <20021212001931.GA76871@troutmask.apl.washington.edu> <20021212005216.GA87536@rot13.obsecurity.org> <02Dec12.135649nzdt.119048@homer.fire.org.nz> <20021212010846.GA77330@troutmask.apl.washington.edu> <20021212011712.GA87978@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 11, 2002 at 05:17:12PM -0800, Kris Kennaway wrote: > On Wed, Dec 11, 2002 at 05:08:46PM -0800, Steve Kargl wrote: > > > > This example shows how to setup a jail directory tree containing an > > entire FreeBSD distribution: > > > > D=/here/is/the/jail > > cd /usr/src > > mkdir -p $D > > make world DESTDIR=$D > > cd etc > > make distribution DESTDIR=$D > > cd $D/dev > > sh MAKEDEV jail > > cd $D > > ln -sf dev/null kernel > > > > Clearly, this doesn't work on a 5.0 system if you want to > > set up a 4.7 jail. > > Replace the 'cd %D/dev; sh MAKEDEV jail' with 'mount -t devfs / $D/dev' > Thanks for the pointer. The entire example doesn't apply because my /usr/src is FreeBSD 5.0. I have 4.7-disc2.iso and used a md device to copy the files into a jail. It appears to work, but I have a few more things to set up. I'll report with a full description of what I'm doing later. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021212033405.GA77952>