From owner-freebsd-emulation@FreeBSD.ORG Fri Dec 15 17:37:18 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D8C316A4D1 for ; Fri, 15 Dec 2006 17:37:18 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADA3443CA5 for ; Fri, 15 Dec 2006 17:35:24 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kBFHam5n087867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Dec 2006 18:36:48 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kBFHaj4j087854; Fri, 15 Dec 2006 18:36:45 +0100 (CET) Date: Fri, 15 Dec 2006 18:36:45 +0100 From: Divacky Roman To: Alexander Leidinger Message-ID: <20061215173644.GA87389@stud.fit.vutbr.cz> References: <20061215040136.GA2466@triptrop.wlan.in.nicta.com.au> <20061215111523.bh59htm680ok4gk8@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061215111523.bh59htm680ok4gk8@webmail.leidinger.net> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-emulation@freebsd.org, Timothy Bourke Subject: Re: X11 through nullfs under chroot 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: Fri, 15 Dec 2006 17:37:18 -0000 On Fri, Dec 15, 2006 at 11:15:23AM +0100, Alexander Leidinger wrote: > Quoting Timothy Bourke (from Fri, 15 Dec 2006 > 15:01:36 +1100): > > >I would like to run chroot-ed gentoo-stage3 X client applications on my > >host X server through a Unix domain socket. > > > >It does work: > > * through a tcp socket > > * using a hardlink to /tmp/.X11-unix/X0 > > > >But it does not work via: > > mount -t nullfs /tmp /compat/linux/tmp > > This smells like a problem in nullfs regarding sockets (and maybe > other special files). I suggest to tell about this on the filesystem > mailinglist. Don't forget to tell them hich version of FreeBSD you are > using. there's a comment in compat/linux/linux_getcwd.c /* * XXX Untested vs. mount -o union; probably does the wrong thing. */ I guess it applies to nullfs too