From owner-freebsd-questions@FreeBSD.ORG Sun Jun 7 13:55:16 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49C68B07 for ; Sun, 7 Jun 2015 13:55:16 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7511F28 for ; Sun, 7 Jun 2015 13:55:14 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:45859] helo=raspberrypi.bildanet.com) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id FD/68-29934-B3D44755; Sun, 07 Jun 2015 13:55:07 +0000 Received: from [192.168.1.53] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1Z1b2Z-0005Mi-8k for freebsd-questions@freebsd.org; Sun, 07 Jun 2015 09:55:07 -0400 Message-ID: <55744D39.9020409@columbus.rr.com> Date: Sun, 07 Jun 2015 09:55:05 -0400 From: Baho Utot User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: jails X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 13:55:16 -0000 I have FreeBSD 10.1 and trying to setup a jail according to the handbook: 15.3. Creating and Controlling Jails |#| *|setenv D/|/staorage/jails/crochet|/|* |#| *|mkdir -p $D|* |#| *|cd /usr/src|* |#| *|make buildworld|* |#| *|make installworld DESTDIR=$D|* |#| *|make distribution DESTDIR=$D|* |#| *|mount -t devfs devfs $D/dev|* cat /etc/jail.conf crochet { path = /storage/jails/crochet; mount.devfs; host.hostname = crochet; ip4.addr = 192.168.1.40; interface = re0; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; } jail /storage/jails/crochet crochet.bildanet.com 192.168.1.40 /bin/sh gives jail: Undefined variable. How does one manually start the jail? I would like to start the jail manually not automagically on boot I want to be "in the jail" when it starts to run crochet from there ie a command prompt. OK what did I do incorrectly?