X11 through nullfs under chroot

Divacky Roman xdivac02 at stud.fit.vutbr.cz
Fri Dec 15 09:37:18 PST 2006


On Fri, Dec 15, 2006 at 11:15:23AM +0100, Alexander Leidinger wrote:
> Quoting Timothy Bourke <timbob at 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


More information about the freebsd-emulation mailing list