Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 18:36:45 +0100
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-emulation@freebsd.org, Timothy Bourke <timbob@bigpond.com>
Subject:   Re: X11 through nullfs under chroot
Message-ID:  <20061215173644.GA87389@stud.fit.vutbr.cz>
In-Reply-To: <20061215111523.bh59htm680ok4gk8@webmail.leidinger.net>
References:  <20061215040136.GA2466@triptrop.wlan.in.nicta.com.au> <20061215111523.bh59htm680ok4gk8@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 15, 2006 at 11:15:23AM +0100, Alexander Leidinger wrote:
> Quoting Timothy Bourke <timbob@bigpond.com> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061215173644.GA87389>