Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Feb 2003 21:08:30 +0100 (CET)
From:      Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/48095: Manual page for jail(8) does not mention mounting devfs under jail.
Message-ID:  <20030208200830.C85C17CF1A@prioris.mini.pw.edu.pl>

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

>Number:         48095
>Category:       docs
>Synopsis:       Manual page for jail(8) does not mention mounting devfs under 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:   Sat Feb 08 12:10:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Czaplinski
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD tahoe.acn.waw.pl 5.0-RELEASE FreeBSD 5.0-RELEASE #14: Thu Feb  6 00:03:53 CET 2003   rgregory@tahoe.acn.waw.pl:/usr/obj/usr/src/sys/TAHOE  i386


	
>Description:
	

	The manual for jail(8) does not mention anything about mounting devfs
	under jail's /dev.
	I created a jail for sshd daemon. While tring to ssh into the jail,
	ssh process hangs.

gregory  1161  0.0  0.7  2392 1932  p3  S+J   8:48PM   0:00.07 ssh 192.168.0.5
root     1162  0.0  0.9  5372 2360  ??  IJ    8:48PM   0:00.02 sshd: gregory [pr
iv] (sshd)
gregory  1165  0.0  0.9  5372 2404  ??  SJ    8:48PM   0:00.01 sshd: gregory@not
ty (sshd)

	Thre are no free ttys.

>How-To-Repeat:
	
	Create a jail environment according to jail(8) manual, start 
	jailed sshd.
	Try to log into the jail more than once.
>Fix:

	
	Add a comment about mounting devfs under jail's /dev.
	mount -t devfs devfs /pathtojail/dev

	Thanks to nick@garage.freebsd.pl for the hint.
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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