From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 02:08:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC201065673 for ; Mon, 26 Jan 2009 02:08:20 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 021078FC12 for ; Mon, 26 Jan 2009 02:08:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 93FC2AFC209; Sun, 25 Jan 2009 17:08:14 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 25 Jan 2009 17:08:14 -0900 User-Agent: KMail/1.9.10 References: <20090125112517.GA33731@screwed.box> In-Reply-To: <20090125112517.GA33731@screwed.box> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901251708.14416.fbsd.questions@rachie.is-a-geek.net> Cc: Peter Vereshagin Subject: Re: jail devfs openpty X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 02:08:20 -0000 On Sunday 25 January 2009 02:25:17 Peter Vereshagin wrote: > Hello, > > I am doing the portupgrade inside my jail. > I see that script(1) have no permission on openpty. > I deleted all the devfs rules on tha jail's /dev both by hand and by > deleting the ruleset string in master's rc.conf. So i stopped jail and > mounted devfs by hand. Started jail. It appears to work, the portupgrade. I > suppose that if mounted with /etc/rc.d/jail the devfs has some tweak that > makes it different from mounted by hand. Are you sure that's the problem? When going inside a jail with jexec(8) there is no /dev/tty. You have to login using ssh to get fully functional tty's. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.