From owner-freebsd-doc@FreeBSD.ORG Mon Oct 24 17:40:55 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CF2216A41F; Mon, 24 Oct 2005 17:40:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF0643D48; Mon, 24 Oct 2005 17:40:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j9OHesZc010153; Mon, 24 Oct 2005 10:40:54 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j9OHesfL010152; Mon, 24 Oct 2005 10:40:54 -0700 Date: Mon, 24 Oct 2005 10:40:54 -0700 From: Brooks Davis To: Giorgos Keramidas Message-ID: <20051024174054.GA7433@odin.ac.hmc.edu> References: <200510230010.j9N0AKEc038996@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <200510230010.j9N0AKEc038996@freefall.freebsd.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-doc@freebsd.org Subject: Re: 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: Mon, 24 Oct 2005 17:40:55 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 23, 2005 at 12:10:20AM +0000, Giorgos Keramidas wrote: > The following reply was made to PR docs/87351; it has been noted by GNATS. >=20 > From: Giorgos Keramidas > To: "Eli K. Breen" > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: docs/87351: Jail building instructions don't work as describ= ed with default CSH shell > Date: Sat, 22 Oct 2005 20:32:32 +0300 >=20 > On 2005-10-13 00:05, "Eli K. Breen" wrote: > > 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=3D/path/to/your/jail > > > > ..which does not work under csh, this returns a Command Not Found erro= r. > =20 > > switch to csh, try to build a jail using the supplied instructions > > from the jail(8) manpage. > =20 > > user@box# csh > > user@box# D=3D/path/to/your/jail > > D=3D/path/to/your/jail: Command not found. > > user@box# > =20 > > jail manpage currently reads: > > > > D=3D/here/is/the/jail > > cd /usr/src > > mkdir -p $D > > make world DESTDIR=3D$D > > cd etc > > make distribution DESTDIR=3D$D > > mount_devfs devfs $D/dev > > cd $D > > ln -sf dev/null kernel > > > > ..and should read: > > > > set D=3D/here/is/the/jail > > cd /usr/src > > mkdir -p $D > > make world DESTDIR=3D$D > > cd etc > > make distribution DESTDIR=3D$D > > mount_devfs devfs $D/dev > > cd $D > > ln -sf dev/null kernel > > > > .. or specify that the instructions do not work under csh. > =20 > I'd certainly support adding a note that these commands work fine fror > sh(1) and other Bourne shells. Then we can probably add another set of > commands for csh, if that seems nice to have. Shell examples are traditionally in sh. I'd really rather not see use bloat every instance of them with a csh example. Users can always type "sh". -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDXRylXY6L6fI4GtQRAtthAJ9j1euhkPTiQXSxP5g0XeybuKKbDACfZEUJ jKu+nSLiq39mhAgTu0NuWEU= =179F -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--