Jails

Clement Laforet sheepkiller at cultdeadsheep.org
Mon Aug 4 08:56:44 PDT 2003


On Mon, 4 Aug 2003 10:02:16 -0400
"Grant Peel" <grant at thenetnow.com> wrote:

> Hi all,
> 
> I have recently completed a clean install of FreeBSD 5.1. I have
> followed the instructions to the letter for creating a jail. (see:
> http://www.freebsd.org/cgi/man.cgi?query=jail&apropos=0&sektion=0&manpath=FreeBSD+5.1-RELEASE&format=html)
> 
> The jail seems to start alright, I can see it with the jls command,
> and, I do see eprocesses in the ps window that have J's.
> 
> My problem is that noone can log in using ssh to the new jail. Iget
> the error
> "Server refused to allocate pty"

you need to mount devfs i.e.
mount_devfs devfs ${JAIL_ROOT}/dev
WARNING ! this is NOT SECURE ! you surely want to wait Mike Makonnen
update based on Scot W. Hetzel and Jens Rehsack patches.
The original script was written when devfs wasn't mandatory.

regards,

clem


More information about the freebsd-questions mailing list