Re: [Vserver] Making and using devices inside vservers

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 27 May 2006 - 17:17:30 BST
Message-ID: <20060527161730.GC13254@MAIL.13thfloor.at>

On Thu, May 25, 2006 at 12:52:19AM +0200, Mark Maas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Corey Wright wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Hello all,
> >>
> >> Could someone elaborate on how to make devices available inside a
> >> vserver? (/dev/tty[0-9] or /dev/mem) etc.
> >
> > can't you just copy the desired file from /dev to /vservers/<name>/dev or
> > do a mknod, either one as root from the host?
> >
> >> I would like to be able to burn a cd under a vserver, or even run X.
> >
> > appears you need some additional capabilities for writing optical media.
> > search for Akito's conversations in these irc transcripts.
> >
> > http://irc.13thfloor.at/LOG/2005-12/LOG_2005-12-19.txt
> > http://irc.13thfloor.at/LOG/2005-12/LOG_2005-12-21.txt
>
> Thanks guys, I now know that "making devices" means nothing more then
> copying it from the host, to the guest (while still in the host. Am I
> making sense here?)

yes, either that or using mknod (again on the host)

> One other question, as this is meant for a testing server for home
> use, and public access is available, I don't really need the security.
>
> Is there a way to turn off all "security" so I'm left with a vserver
> Basically a computer within a computer?

yes, just add the 'missing' capabilities to your guest
and it will be able to mess with all the hardware, etc.

best,
Herbert

> - --
> Mark Maas-martin (OpenPGP: 0xA8F5C970)
> mark@maas-martin.nl
> http://www.maas-martin.nl/mark/blog
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEdOOiA2PZO6j1yXARAtgLAJ9jZsuKpla2uHqTZrrISIbGzL3lUgCdGo1F
> ERmtQm8c7G3zd01W+o1GczE=
> =apP9
> -----END PGP SIGNATURE-----
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat May 27 17:26:42 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 27 May 2006 - 17:26:47 BST by hypermail 2.1.8