Re: [Vserver] Screen inside vserver

From: Michael S. Zick <mszick_at_morethan.org>
Date: Sat 14 Jan 2006 - 14:59:18 GMT
Message-Id: <200601140859.18294.mszick@morethan.org>

On Sat January 14 2006 06:40, Oliver Welter wrote:
> eyck wrote:
> >> afair, you have to ssh into the box to use screen.
> >> vserver <name> enter and issuing a screen command does not work.
> > it's not that it doesn't work, it's that it easier and safer to tell
> > people 'just ssh into your guest' instead of explaining how to make it
> > work.
>
> As I dont have SSH running inside the guest and I am not afraid of some
> work, how :)
>
You could try making it 'by hand' - but that would only work for the pts
that you create by hand. Also recall, that on that system, you are using
udev and /dev is probably mounted in /tmpfs, not as persistent files on
the hard disk.
Gentoo gives you three ways to handle a missing device (follow the directions
for a missing /dev/console or /dev/null).

But what you want to handle is dynamic devices (pts 0...254) in the guest
with a device creation system that runs in the host.
 
First, grab all the udev manuals you can lay your hands on...

The 'stock' system scripts are creating devices in '/dev'; modify to create
them also in /<vserver>/<guestroot>/dev

Sorry, I don't know how only what.

Mike
> Oliver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Jan 14 14:59:41 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 14 Jan 2006 - 14:59:45 GMT by hypermail 2.1.8