From owner-freebsd-questions@FreeBSD.ORG Wed Nov 3 00:00:55 2004 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 036C516A4D5 for ; Wed, 3 Nov 2004 00:00:55 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F8D43D3F for ; Wed, 3 Nov 2004 00:00:28 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CP8Ze-00058e-00 for ; Wed, 03 Nov 2004 01:00:26 +0100 Received: from static-151-201-138-242.pitt.east.verizon.net ([151.201.138.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Nov 2004 01:00:26 +0100 Received: from chad by static-151-201-138-242.pitt.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Nov 2004 01:00:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Chad Whitacre Date: Tue, 02 Nov 2004 13:18:47 -0500 Lines: 60 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: static-151-201-138-242.pitt.east.verizon.net User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Sender: news Subject: trouble with jail(8) example 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: Wed, 03 Nov 2004 00:00:55 -0000 Hey all, I am going through the jail examples here: http://tinyurl.com/54q6y [man page] Specifically: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D -DNO_MAKEDEV_RUN cd $D/dev sh MAKEDEV jail cd $D ln -sf dev/null kernel on step 6 I get the following output: cd /usr/src/etc; install -g wheel -m 644 -o root 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.diskless1 rc.diskless2 rc.firewall rc.firewall6 rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown rc.syscons rc.sysctl remote rpc services shells sysctl.conf 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 rc.isdn /jails/test_jail/etc; cap_mkdb /jails/test_jail/etc/login.conf; install -g wheel -m 755 -o root netstart pccard_ether rc.suspend rc.resume /jails/test_jail/etc; install -g wheel -m 600 -o root master.passwd nsmb.conf opieaccess /jails/test_jail/etc; pwd_mkdb -p -d /jails/test_jail/etc /jails/test_jail/etc/master.passwd usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-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. The problem is that /jails/test_jail/etc doesn't exist yet. If I create it manually, then 'make distribution' works fine until the next missing directory. So my question is this: do I need to create the structure manually? It seems like make distribution should do that for me. Thanks. chad P.S. This is 4.10-RELEASE.