From owner-freebsd-questions@FreeBSD.ORG Sat Dec 23 00:05:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3672316A407 for ; Sat, 23 Dec 2006 00:05:26 +0000 (UTC) (envelope-from fred@fredcondo.net) Received: from absinthe.tincture.us (adsl-67-113-224-217.dsl.snfc21.pacbell.net [67.113.224.217]) by mx1.freebsd.org (Postfix) with ESMTP id B1ABB13C455 for ; Sat, 23 Dec 2006 00:05:21 +0000 (UTC) (envelope-from fred@fredcondo.net) Received: from [10.0.0.34] (sashimi.quinn.com [64.81.244.60]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by absinthe.tincture.us (Postfix) with ESMTP id 04FFB1CC7F; Fri, 22 Dec 2006 15:46:28 -0800 (PST) In-Reply-To: <458982FB.1010906@chamonix.reportlab.co.uk> References: <458982FB.1010906@chamonix.reportlab.co.uk> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Fred Condo Date: Fri, 22 Dec 2006 15:46:26 -0800 To: Robin Becker X-Mailer: Apple Mail (2.752.3) Cc: freebsd-questions@freebsd.org Subject: Re: make world for a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Dec 2006 00:05:26 -0000 On Dec 20, 2006, at 10:37 AM, Robin Becker wrote: > I'm trying to make world for a jail build following the recipe in > http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html > > First off I started by updating the src tree. I copied /usr/share/ > examples/cvsup/stable-supfile edited the host name > > then I ran > > SERVER=`fastest_cvsup -q -c ca,us` > cvsup -L2 -h $SERVER /root/bin/stable-supfile > > that seemd fine and stuff appeared in /usr/src as expected. > > mkdir /usr/jails > mkdir /usr/jails/mailserver > cd /usr/src > make world DESTDIR=/usr/jails/mailserver > > > Now I get an error building sendmail > > chmod 444 freebsd.cf > rm -f freebsd.submit.cf > m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/ > src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 /usr/src/etc/ > sendmail/freebsd.submit.mc > freebsd.submit.cf > chmod 444 freebsd.submit.cf > ERROR: Required audit group is missing, see /usr/src/UPDATING. > *** Error code 1 > > I'm not sure what this means. I looked in UPDATING and see > references to FreeBSD 6.1-RELEASE; so am I trying to build a 6.1 > kernel with my 6.0 system? > > I'm guessing that > > *default release=cvs tag=RELENG_6 > > should have been > > *default release=cvs tag=RELENG_6_0 > > One other thing is that during the build I saw sub makes going on > that had a different DESTDIR. > > Eg > make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp par-all > > how do I get things built into my desired location or is the make > world eventually going to put them in the right place? I'd suggest not using make world. Use make buildworld followed by make installworld. Here is my very terse set of notes on building a fat jail: http://phryd.vox.com/library/post/freebsd-jail-howto-in-a- nutshell.html Note that my experience was with RELENG_6_1 -- fred