docs/78883: man 8 jail has incorrect instructions for building a jail
Josh Paetzel
josh at tcbug.org
Tue Mar 15 16:30:03 UTC 2005
>Number: 78883
>Category: docs
>Synopsis: man 8 jail has incorrect instructions for building a jail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 15 16:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Josh Paetzel
>Release: FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD 5.3-RELEASE-p5 #0: Wed Feb 9 16:54:40 CST 2005
jpaetzel at twinmp.tcbug.org:/usr/obj/usr/src/sys/TWINMP
>Description:
The jail 8 manpage has the following instructions which do not work:
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
This process dies at make world DESTDIR=$D
>How-To-Repeat:
follow instructions in man jail
>Fix:
Apply the following patch to jail.8
--- jail.8.old Tue Mar 15 10:14:00 2005
+++ jail.8 Tue Mar 15 10:18:57 2005
@@ -120,7 +120,8 @@
D=/here/is/the/jail
cd /usr/src
mkdir -p $D
-make world DESTDIR=$D
+make buildworld
+make installworld DESTDIR=$D
cd etc
make distribution DESTDIR=$D
mount_devfs devfs $D/dev
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list