From owner-freebsd-questions Wed Jun 6 6:54:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gdmckee.local (pc-62-30-209-11-so.blueyonder.co.uk [62.30.209.11]) by hub.freebsd.org (Postfix) with ESMTP id CB2B237B405 for ; Wed, 6 Jun 2001 06:54:50 -0700 (PDT) (envelope-from freebsd@gdmckee.com) Received: from [192.168.0.10] (helo=p300) by gdmckee.local with smtp (Exim 3.22 #1) id 157dld-000OXd-00; Wed, 06 Jun 2001 14:54:37 +0100 Message-ID: <013101c0ee90$2a120820$0a00a8c0@gdmckee.local> From: "G D McKee" To: "Jim" Cc: "questions@FreeBSD.ORG" References: <000901c0ee62$4803fb00$0a00a8c0@gdmckee.local> <20010606083939.A5889@elwood.net> Subject: Re: Creating Jails!!!! Date: Wed, 6 Jun 2001 14:54:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Are you sure? I cvsupped the src before I did it. I did a make world and installed it before I tryied the jail stuff - just incase the tree was out of sync with the PC. Doing the make world with the DESTDIR=$D didn't put any files into the jail dir. Is this normal? Gordon ----- Original Message ----- From: "Jim" To: "G D McKee" Cc: "questions@FreeBSD.ORG" Sent: Wednesday, June 06, 2001 2:39 PM Subject: Re: Creating Jails!!!! > I created a Jail just the other day and it went fine. You might try > re-cvsuping your source, doing a make clean, then try again. The man > page walks through the process perfectly, follow it and it will work. > > On Wed, Jun 06, 2001 at 09:25:44AM +0100, G D McKee wrote: > > Hi > > > > Trying to dreate a jail on FreeBSD 4.3-STABLE (5/6/01). Following the > > instructions in man jail and getting the following error? > > > > Does anyone have any ideas? > > > > Thanks in advance. > > > > Gordon > > > > > > kursk# set D=/home/gdm/jail > > kursk# > > kursk# echo $D > > /home/gdm/jail > > kursk# > > kursk# > > kursk# cd /usr/src/ > > kursk# cd etc/ > > kursk# make distribution DESTDIR=$D NO_MAKEDEV=yes > > (cd /usr/src/etc; install -c -o root -g wheel -m 644 amd.map apmd.conf > > auth.conf crontab csh.cshrc csh.login csh.logout dhclient.conf dm.conf > > fbtab ftpusers gettytab group hosts hosts.allow host.conf hosts.equiv > > hosts.lpd inetd.conf login.access login.conf motd modems networks > > newsyslog.conf pam.conf phones printcap profile protocols rc rc.atm > > rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 rc.isdn > > rc.network rc.network6 rc.pccard rc.serial rc.shutdown rc.syscons rc.sysctl > > remote rpc security services shells syslog.conf usbd.conf etc.i386/disktab > > etc.i386/rc.i386 etc.i386/ttys > > /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config > > /usr/src/etc/../usr.bin/mail/misc/mail.rc > > /usr/src/etc/../usr.bin/locate/locate/locate.rc /home/gdm/jail/etc; > > install -c -o root -g wheel -m 755 netstart pccard_ether rc.suspend > > rc.resume /home/gdm/jail/etc; install -c -o root -g wheel -m 644 > > defaults/rc.conf /home/gdm/jail/etc/defaults/; install -c -o root -g > > wheel -m 644 defaults/make.conf /home/gdm/jail/etc/defaults/; install -c -o > > root -g wheel -m 644 defaults/pccard.conf /home/gdm/jail/etc/defaults/; > > install -c -o root -g wheel -m 644 defaults/periodic.conf > > /home/gdm/jail/etc/defaults/; install -c -o root -g wheel -m 600 /dev/null > > /home/gdm/jail/var/log/cron; install -c -o root -g wheel -m 600 > > master.passwd /home/gdm/jail/etc; ( cd /usr/src/etc/periodic; make > > install ); ( cd /usr/src/etc/../gnu/usr.bin/send-pr; make > > etc-gnats-freefall ); ( cd /usr/src/etc/../share/termcap; make > > etc-termcap ); ( cd /usr/src/etc/../usr.sbin/rmt; make etc-rmt ); ( cd > > /usr/src/etc/isdn; make install ); pwd_mkdb -p -d /home/gdm/jail/etc > > /home/gdm/jail/etc/master.passwd; install -c -o root -g wheel -m 555 > > MAKEDEV.local MAKEDEV /home/gdm/jail/dev ) > > usage: install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner] file1 > > file2 > > install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner] file1 > > ... > > fileN directory > > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > > *** Error code 64 > > > > Stop in /usr/src/etc. > > kursk# > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Jim O'Gorman > jameso@elwood.net > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message