From owner-freebsd-doc@FreeBSD.ORG Sun Jun 24 13:33:30 2007 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3883C16A400 for ; Sun, 24 Jun 2007 13:33:30 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 1375C13C43E for ; Sun, 24 Jun 2007 13:33:29 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 7B37A5C2E; Sun, 24 Jun 2007 09:38:12 -0400 (EDT) Date: Sun, 24 Jun 2007 09:38:12 -0400 From: Wesley Shields To: "illoai@gmail.com" Message-ID: <20070624133812.GC31645@atarininja.org> References: <20070622163041.GA31645@atarininja.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-doc@freebsd.org Subject: Re: Handbook chapter 15.6 problem 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: Sun, 24 Jun 2007 13:33:30 -0000 On Sat, Jun 23, 2007 at 12:29:24PM -0500, illoai@gmail.com wrote: > On 22/06/07, Wesley Shields wrote: > > Someone on IRC just pointed out that following the directions in chapter > > 15.6 of the handbook doesn't work. It appears that these instructions > > were written before SA-07:01 was done. Setting a rootdir to /home > > doesn't work since /home is a symlink by default. > > > > Am I correct in thinking this? If so I will gladly write up a patch to > > fix the handbook. > > /home by default is only a symlink to /usr/home if > you do not set up /home on its own filesystem and > even then the instructions say: > : Note: This assumes that the jails are based under > : the /home partition. This can, of course, be changed > : to anything else, but this change will have to be > : reflected in each of the examples below. > > I can hardly see how qualifying it further will clarify > anything. The above message says nothing about the example being broken under default circumstances; that is, letting sysinstall create the partitions automatically results in /home being a symlink to /usr/home. Based upon the text you quoted above a user knows that putting jails anywhere is acceptable but they don't know that putting them anywhere with a symlink in the path is not. All I'm suggesting is that /home be changed to /usr/home in the examples. -- WXS