[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running X server chroot?



On Thu, Aug 21, 2003 at 04:24:46PM -0500, Branden Robinson wrote:
> On Wed, Aug 20, 2003 at 01:49:04PM -0400, Norman Walsh wrote:
> > The backwards incompatibility of libc in unstable combined with my use
> > of a commercial X server leaves me...a little stuck. Attempts to simply
> > use the old libraries by overriding LD_LIBRARY_PATH have failed. Another
> > suggestion was to run the server chroot() with old libraries.
> > 
> > Yes, this works, at least the server starts, but apparently no one can
> > talk to it. Perhaps because /tmp/.X11-unix is in the chroot'd
> > partition.
> > 
> > Am I doomed to fail, or can this be made to work?
> 
> I can't think of any solutions off the top of my head.  Anyone else?
> 
> (Hmm, maybe you could use tmpfs for /tmp, and mount the same one in both
> the real root and the chroot?  I've never tried this myself.)

Guys, bind-mount!
mount -t bind /tmp /chroot/tmp

-- 
Daniel Stone                                              <daniel@fooishbar.org>
http://www.debian.org - http://www.kde.org - http://www.freedesktop.org
"Configurability is always the best choice when it's pretty simple to implement"
  -- Havoc Pennington, gnome-list

Attachment: pgpsvaK9_aAKO.pgp
Description: PGP signature


Reply to: