From owner-freebsd-doc@FreeBSD.ORG Thu Oct 13 00:10:20 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DD4F16A41F for ; Thu, 13 Oct 2005 00:10:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A15743D48 for ; Thu, 13 Oct 2005 00:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9D0AJ4h081908 for ; Thu, 13 Oct 2005 00:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9D0AJsc081907; Thu, 13 Oct 2005 00:10:19 GMT (envelope-from gnats) Resent-Date: Thu, 13 Oct 2005 00:10:19 GMT Resent-Message-Id: <200510130010.j9D0AJsc081907@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eli K. Breen" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5B0116A41F for ; Thu, 13 Oct 2005 00:05:29 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 929BD43D48 for ; Thu, 13 Oct 2005 00:05:29 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9D05THw027381 for ; Thu, 13 Oct 2005 00:05:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9D05Tnm027376; Thu, 13 Oct 2005 00:05:29 GMT (envelope-from nobody) Message-Id: <200510130005.j9D05Tnm027376@www.freebsd.org> Date: Thu, 13 Oct 2005 00:05:29 GMT From: "Eli K. Breen" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: docs/87351: Jail building instructions don't work as described with default CSH shell X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 00:10:20 -0000 >Number: 87351 >Category: docs >Synopsis: Jail building instructions don't work as described with default CSH shell >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 13 00:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Eli K. Breen >Release: FreeBSD 5.4-RELEASE >Organization: UNIX|Forge Heavy Industries >Environment: FreeBSD cannon.activestate.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue Aug 16 13:02:01 PDT 2005 root@cannon.activestate.com:/usr/obj/usr/src/sys/LONGSHOT_II i386 >Description: Building jails does not work as perscribed in the man (8) jail docs. The default shell for root on a new and stock FreeBSD box is csh, the instruction include the line: D=/path/to/your/jail ..which does not work under csh, this returns a Command Not Found error. >How-To-Repeat: switch to csh, try to build a jail using the supplied instructions from the jail(8) manpage. .. user@box# csh user@box# D=/path/to/your/jail D=/path/to/your/jail: Command not found. user@box# >Fix: jail manpage currently reads: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D mount_devfs devfs $D/dev cd $D ln -sf dev/null kernel ..and should read: set D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D cd etc make distribution DESTDIR=$D mount_devfs devfs $D/dev cd $D ln -sf dev/null kernel .. or specify that the instructions do not work under csh. >Release-Note: >Audit-Trail: >Unformatted: