From owner-freebsd-questions Wed Jun 6 12: 8:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.class.com (mail.class.com [207.91.36.227]) by hub.freebsd.org (Postfix) with ESMTP id 07F0F37B401 for ; Wed, 6 Jun 2001 12:08:03 -0700 (PDT) (envelope-from jameso@elwood.net) Received: from cab.elwood.net (lnk2-ogorman-1.binary.net [216.229.6.242]) by mail.class.com (Postfix) with ESMTP id E2D815920B; Wed, 6 Jun 2001 14:07:59 -0500 (CDT) Received: by cab.elwood.net (Postfix, from userid 1000) id 16B799952A; Wed, 6 Jun 2001 14:08:48 -0500 (CDT) Date: Wed, 6 Jun 2001 14:08:48 -0500 From: Jim To: G D McKee Cc: "questions@FreeBSD.ORG" Subject: Re: Creating Jails!!!! Message-ID: <20010606140847.A8109@elwood.net> References: <000901c0ee62$4803fb00$0a00a8c0@gdmckee.local> <20010606083939.A5889@elwood.net> <013101c0ee90$2a120820$0a00a8c0@gdmckee.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <013101c0ee90$2a120820$0a00a8c0@gdmckee.local>; from freebsd@gdmckee.com on Wed, Jun 06, 2001 at 02:54:11PM +0100 X-Whaa: You read headers? 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 Wait a sec, did you do a "make world DESTDIR=$D" first? not a "make buildworld DESTDIR=$D" or anything, just a strait make world. On Wed, Jun 06, 2001 at 02:54:11PM +0100, G D McKee wrote: > 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 -- Jim O'Gorman jameso@elwood.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message