From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 16 09:02:30 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DECF4106564A for ; Tue, 16 Mar 2010 09:02:30 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 677528FC14 for ; Tue, 16 Mar 2010 09:02:30 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2DB57.dip.t-dialin.net [217.226.219.87]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 091DF844895; Tue, 16 Mar 2010 10:02:25 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 26BA8580F; Tue, 16 Mar 2010 10:02:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1268730142; bh=IlLern0dse60M9/VSGKYBkkdz+254AF2jH/tEz3qTHg=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=VMlPqSSm+ow/ukpXvtuu+AALI6cXHU6cEN6uLrrBN91K8rIeiPbvAr/UGPex77WOS FfqYZarGv8pwzb3HDT7b7Sn1+7PisQQQD+/9tlu93yAWoRO9Y11+p96pLVbxQ6PXMf sZqV+As72t+sHbGDXYWeFgyXIDLvBdy/zUaCUhunyGuKJyIP9ytMOSbmTiWKd3t6Pa xflLnQyKac8Gu305qMxjBzfNLx85ES2ueq7k4TQiL/jvXVpt46j74htJhz+lUCzWje Bt2y0FMYuU/SAxRO1I5JJrbzKAFvKuo8PRj2t0PmfECayYoaQsoGcZhtOXokDRZlmj wo+LvnomMaVLA== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o2G92LbS078777; Tue, 16 Mar 2010 10:02:21 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 16 Mar 2010 10:02:21 +0100 Message-ID: <20100316100221.19045bdtxsacbysc@webmail.leidinger.net> Date: Tue, 16 Mar 2010 10:02:21 +0100 From: Alexander Leidinger To: John Nielsen References: <201003021325.27197.lists@jnielsen.net> <20100307113538.00007555@unknown> <20100307104437.GM8200@hoeg.nl> <201003152046.05915.lists@jnielsen.net> In-Reply-To: <201003152046.05915.lists@jnielsen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 091DF844895.534F1 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.363, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, TW_KF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1269334945.96519@nyfIigdBP8jNqFzr7gDdqA X-EBL-Spam-Status: No Cc: Ed Schouten , freebsd-emulation@freebsd.org Subject: Re: linux-only jail possible? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 09:02:31 -0000 Quoting John Nielsen (from Mon, 15 Mar 2010 20:46:05 -0400): > On Sunday 07 March 2010 05:44:37 am Ed Schouten wrote: >> * Alexander Leidinger wrote: >> > On Sat, 6 Mar 2010 19:15:12 +0100 Ed Schouten wrote: >> > > I am still in doubt what to do. Maybe we could consider committing >> > > a patch like this: >> > >> > [...] >> > >> > > This is a bit more complete. What it does, is that it creates a >> > > symlink from /proc/%d/fd to /dev/fd, only if the calling process >> > > matches. Then when you mount fdescfs on /dev/fd, it also does the >> > > right thing, because it will always readlink() on a character >> > > device, which also returns an error code. >> > > >> > > Comments, suggestions anyone? >> > >> > Looks better than the one before. :) >> >> Great. Just committed it to SVN: >> >> http://svn.freebsd.org/viewvc/base?view=revision&revision=204825 > > I finally tried the patch from SVN today and it does NOT resolve the > openpty issue on FreeBSD 8-STABLE amd64 + CentOS 5.4 i386 jail + OpenSSH > 4.3p2. I still (or again) get the "fatal: openpty returns device for > which ttyname fails." message. Just to verify: You have fdeskfs mounted in the linux jail? Bye, Alexander. -- Every creature has within him the wild, uncontrollable urge to punt. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137