Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 16:51:34 -0600
From:      Dave Barnes <phpdave11@gmail.com>
To:        freebsd-doc@FreeBSD.org
Subject:   Possible Discrepency in Handbook - Section 14.5.1
Message-ID:  <CANyz=1jC1_soRxkGgv2mih5gdLB-RkEcX6XEDJyQB6Y2mrMmRg@mail.gmail.com>

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

Hello,

I have followed the instructions in section 14.5.1 to create a jail, but
there were 3 symlinks that did not work (I copied and pasted all the
commands).

# ln -s s/usr-local usr/local# ln -s s/usr-X11R6 usr/X11R6# ln -s
s/distfiles usr/ports/distfiles


I believe these 3 commands should actually be:

# ln -s ../s/usr-local usr/local# ln -s ../s/usr-X11R6 usr/X11R6# ln
-s ../../s/distfiles usr/ports/distfiles


Otherwise, the symlinks are not pointing at the correct directories, and
from within the jails, you can't access /usr/local

I also noticed that "ln -s ../s/usr-local usr/local" was referenced in
14.5.3, which appears to be the correct command.

I tried this on FreeBSD 10.2.

Thanks,
Dave Barnes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANyz=1jC1_soRxkGgv2mih5gdLB-RkEcX6XEDJyQB6Y2mrMmRg>