Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 10:25:03 -0600
From:      "Josh Paetzel" <josh@tcbug.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   docs/78883: man 8 jail has incorrect instructions for building a jail
Message-ID:  <1110903903.0@twinmp.tcbug.org>
Resent-Message-ID: <200503151630.j2FGU3SP050223@freefall.freebsd.org>

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

>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@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:



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