Date: Fri, 22 Dec 2006 15:46:26 -0800 From: Fred Condo <fred@fredcondo.net> To: Robin Becker <robin@reportlab.com> Cc: freebsd-questions@freebsd.org Subject: Re: make world for a jail Message-ID: <F32EEABC-98A2-40CA-ADDB-FFEEA0577178@fredcondo.net> In-Reply-To: <458982FB.1010906@chamonix.reportlab.co.uk> References: <458982FB.1010906@chamonix.reportlab.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F32EEABC-98A2-40CA-ADDB-FFEEA0577178>