From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 09:24:00 2003 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 623C037B40A for ; Fri, 13 Jun 2003 09:24:00 -0700 (PDT) Received: from dreambox.ryansmyth.org (adsl-63-235-100.mia.bellsouth.net [208.63.235.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C23443FE3 for ; Fri, 13 Jun 2003 09:23:58 -0700 (PDT) (envelope-from ryan@ryansmyth.org) Received: from audio (audio [10.0.1.29]) by dreambox.ryansmyth.org (8.12.9/8.12.8) with SMTP id h5DGNuS0098699 for ; Fri, 13 Jun 2003 12:23:57 -0400 (EDT) (envelope-from ryan@ryansmyth.org) From: "Ryan Smith" To: Date: Fri, 13 Jun 2003 12:26:10 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: I cant get a new "make world" to finish ( for a jailed system ) 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: Fri, 13 Jun 2003 16:24:00 -0000 I am trying to set up a jail on 4.8-release intel, I updated the /usr/src from the cd using /stand/sysinstall I just selected everything in src and copied it over. Then i run the script given in "man jail" and it barfs on a permission denied in make world destdir=$D line, does anyone know what file(s) i need to change permissions on? ===> usr.sbin/boot0cfg cc -O -pipe -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-a rith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch - Wshadow -c /usr/src/usr.sbin/boot0cfg/boot0cfg.c cc -O -pipe -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-a rith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch - Wshadow -o boot0cfg boot0cfg.o gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz ===> etc ===> etc/sendmail rm -f freebsd.cf (cd /usr/src/etc/sendmail && m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) > freebsd.cf chmod 444 freebsd.cf mkdir -p /tmp/install.96351 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.96351; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/u sr/src/i386/usr/games:/tmp/install.96351 make -f Makefile.inc1 reinstall make: permission denied *** Error code 126 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Also, Can anyone show me a decent how-to on setting up a jail in freebsd? I google'd & freebsd.org'd and there isnt much. My goal is to offer shell accounts using a jail.