Re: Jail() in 4.6-pre*

From: Chris Faulhaber (jedgar@fxp.org)
Date: 05/05/02


Date: Sat, 4 May 2002 19:00:24 -0400
From: Chris Faulhaber <jedgar@fxp.org>
To: Michael Sharp <bsd@ec.rr.com>


On Sat, May 04, 2002 at 02:31:00PM -0400, Michael Sharp wrote:
> I used jail in 4.5-STABLE ( following man jail ), but today I went
> ahead and cvsup'ed to 4.6-pre*, made world, etc... no errors...
> followed man jail... no errors until:
>
> cd /path/to/jail/dev; sh MAKEDEV jail gave me :
> MAKEDEV unknown file or directory.
>
> MAKEDEV isnt even on the system.
>
> Is Jail not working in 4.6* yet, or has something changed with MAKEDEV?
>

This appears to be related to changes made in etc/Makefile revs.
1.219.2.27/1.247 where NO_MAKEDEV does not install MAKEDEV anymore
instead of only not running 'sh MAKEDEV all'. It appears we need to
MFC src/usr.sbin/jail/jail.8 rev. 1.24 to reflect this.

For the present time, use:

# make distribution DESTDIR=$D -DNO_MAKEDEV_RUN

to get ${jaildir}/dev/MAKEDEV installed (or install it manually)
then rerun:

# cd $D/dev
# sh MAKEDEV jail

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Relevant Pages

  • Re: MAKEDEV not run from `pwd` (was: Jail() in 4.6-pre*)
    ... > 1.219.2.27/1.247 where NO_MAKEDEV does not install MAKEDEV anymore ... > instead of only not running 'sh MAKEDEV all'. ... the device nodes in the current directory, ... /dev/MAKEDEV jail`. ...
    (FreeBSD-Security)
  • Re: Jail setup
    ... März 2004 00:31 schrieb Chris Meyers: ... > I need to set up a new mail server at a different building, ... > # sh MAKEDEV jail ... > This is where I had my first problem, MAKEDEV doesn't exist. ...
    (freebsd-questions)
  • How to get ptys (devfs) inside jail for FreeBSD 5.2?
    ... What do I use instead of MAKEDEV (for jail) in FreeBSD 5.2? ... I am getting "openpty: ...
    (freebsd-questions)
  • Re: Jail() in 4.6-pre*
    ... >> MAKEDEV unknown file or directory. ... >> MAKEDEV isnt even on the system. ... >> Is Jail not working in 4.6* yet, or has something changed with MAKEDEV? ...
    (FreeBSD-Security)
  • Re: Jail question
    ... > I want to install the jail for a mail server. ... with "unsubscribe freebsd-security" in the body of the message ...
    (FreeBSD-Security)