Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 12:26:10 -0400
From:      "Ryan Smith" <ryan@ryansmyth.org>
To:        <freebsd-questions@freebsd.org>
Subject:   I cant get a new "make world" to finish ( for a jailed system )
Message-ID:  <LMELJJFDAPLDBIIONOPNEEFECCAA.ryan@ryansmyth.org>

next in thread | raw e-mail | index | archive | help
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?

<snip>
===> 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.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LMELJJFDAPLDBIIONOPNEEFECCAA.ryan>