Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 17:57:17 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        Grant Peel <grant@thenetnow.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Jails
Message-ID:  <20030804175717.79e1052f.sheepkiller@cultdeadsheep.org>
In-Reply-To: <017701c35a91$03725c50$6501a8c0@grant>
References:  <017701c35a91$03725c50$6501a8c0@grant>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Aug 2003 10:02:16 -0400
"Grant Peel" <grant@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



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