From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 23:10:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D33C16A4CE for ; Wed, 9 Feb 2005 23:10:48 +0000 (GMT) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5215343D1D for ; Wed, 9 Feb 2005 23:10:47 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from twinmp (12-218-40-24.client.mchsi.com[12.218.40.24]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20050209231046m9100ov3ode>; Wed, 9 Feb 2005 23:10:46 +0000 From: Josh Paetzel To: pete wright Date: Wed, 9 Feb 2005 17:10:44 -0600 User-Agent: KMail/1.7 References: <200502091412.06282.josh@tcbug.org> <57d7100005020912321f10b163@mail.gmail.com> In-Reply-To: <57d7100005020912321f10b163@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200502091710.44929.josh@tcbug.org> cc: questions@freebsd.org Subject: Re: jail manpage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 23:10:48 -0000 On Wednesday 09 February 2005 14:32, pete wright wrote: > On Wed, 9 Feb 2005 14:12:06 -0600, Josh Paetzel wrote: > > I've been trying get jails working on my 5.3-RELEASE-p2 machine. > > I've tried following the instructions in man 8 jail > > > > D=/here/is/the/jail > > cd /usr/src > > mkdir -p $D > > make world DESTDIR=$D > > cd etc > > make distribution DESTDIR=$D > > mount_devfs devfs $D/dev > > cd $D > > ln -sf dev/null kernel > > > > It dies at make world DESTDIR=$D with the following error: > > > > cc -0 -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 /jail/test/usr/lib/libc.a. Stop > > ***Error code 2 > > Stopping /usr/src > > couple things, I have this process scripted pretty much the same > way you have mentioned here with no problems. have you cvsup'd > your source tree recenetly...also are you able to do a normal > buildworld? > I'm running 5.3-RELEASE-p2 but just for kicks I rm -rf'd /usr/src and /usr/obj and did: cvsup to RELENG_5_3 make buildworld make KERNCONF=MYKERNEL buildkernel make KERNCONF=MYKERNEL installkernel reboot make installworld reboot Now I'm running 5.3-RELEASE-p5 Trying the steps outlined in man 8 jail gives me the exact same error that I started with. > > Surprisingly I found a post to -questions that has the exact same > > error using the same commands that I did. The thread never does > > make clear as to whether the poster got it working. > > > > 57d710000501131800788ec662@mail.gmail.com > > this link does not work.... http://www.freebsd.org/cgi/getmsg.cgi?fetch=2806914+2810640+/usr/local/www/db/text/2005/freebsd-questions/20050116.freebsd-questions Sorry about that. > > > =pete -- Thanks, Josh Paetzel