Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2007 09:38:12 -0400
From:      Wesley Shields <wxs@atarininja.org>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Handbook chapter 15.6 problem
Message-ID:  <20070624133812.GC31645@atarininja.org>
In-Reply-To: <d7195cff0706231029g3542b9e7sd6d3738da8a70a85@mail.gmail.com>
References:  <20070622163041.GA31645@atarininja.org> <d7195cff0706231029g3542b9e7sd6d3738da8a70a85@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, Jun 23, 2007 at 12:29:24PM -0500, illoai@gmail.com wrote:
>  On 22/06/07, Wesley Shields <wxs@atarininja.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070624133812.GC31645>