From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 16 16:01:20 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 99B1716A407 for ; Sat, 16 Dec 2006 16:01:20 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 717C143C9E for ; Sat, 16 Dec 2006 16:01:19 +0000 (GMT) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5F016.dip.t-dialin.net [84.165.240.22]) by redbull.bpaserver.net (Postfix) with ESMTP id 447412E190; Sat, 16 Dec 2006 17:01:12 +0100 (CET) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by outgoing.leidinger.net (Postfix) with ESMTP id 856925B480D; Sat, 16 Dec 2006 17:01:09 +0100 (CET) Date: Sat, 16 Dec 2006 17:01:09 +0100 From: Alexander Leidinger To: Divacky Roman Message-ID: <20061216170109.6bf0da68@Magellan.Leidinger.net> In-Reply-To: <20061215173644.GA87389@stud.fit.vutbr.cz> References: <20061215040136.GA2466@triptrop.wlan.in.nicta.com.au> <20061215111523.bh59htm680ok4gk8@webmail.leidinger.net> <20061215173644.GA87389@stud.fit.vutbr.cz> X-Mailer: Claws Mail 2.6.1 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No 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: Sat, 16 Dec 2006 16:01:20 -0000 Quoting Divacky Roman (Fri, 15 Dec 2006 18:36:45 +0100): > 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 I did test this with mysql now. You can not connect to a socket when mounted via nullfs, using a hardlink instead works as expected (tested with 2 jails). Bye, Alexander. -- Hmmm ... A hash-singer and a cross-eyed guy were SLEEPING on a deserted island, when ... http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137