From owner-freebsd-doc Sat Feb 8 12:10:14 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C4C537B401 for ; Sat, 8 Feb 2003 12:10:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8858443FD7 for ; Sat, 8 Feb 2003 12:10:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h18KA8NS021000 for ; Sat, 8 Feb 2003 12:10:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h18KA8or020999; Sat, 8 Feb 2003 12:10:08 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFA1637B405 for ; Sat, 8 Feb 2003 12:08:37 -0800 (PST) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 660E643F75 for ; Sat, 8 Feb 2003 12:08:37 -0800 (PST) (envelope-from G.Czaplinski@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id 217AD7D009 for ; Sat, 8 Feb 2003 21:08:35 +0100 (CET) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1368) id C85C17CF1A; Sat, 8 Feb 2003 21:08:30 +0100 (CET) Message-Id: <20030208200830.C85C17CF1A@prioris.mini.pw.edu.pl> Date: Sat, 8 Feb 2003 21:08:30 +0100 (CET) From: Grzegorz Czaplinski Reply-To: Grzegorz Czaplinski To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/48095: Manual page for jail(8) does not mention mounting devfs under jail. Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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