About this list Date view Thread view Subject view Author view Attachment view

From: Björn Steinbrink (bjoern.steinbrink_at_isp4p.net)
Date: Tue 16 Nov 2004 - 22:41:57 GMT


On Sun, 7 Nov 2004 07:57:27 +0100
Björn Steinbrink <bjoern.steinbrink_at_isp4p.net> wrote:
>
> I'll send a patch for them later.
>

And here it finally is... It's a pretty hackish patch, but who cares? ;)
It might break any setup that does not use namespaces or does not
provide the migrate feature, so use at your own risk.
Start/Stop/Enter works, the vserver namespace is clean, i.e. only the
mounts below the vserver directory are available. The problem that host
tools are unavailable within the namespace is not solved yet.

Issues:
Currently a directory called "/.old" is used within the vserver
filesystem to hold the old root mount, if something is mounted on that
directory, the whole thing will fail in 'some' way (i didn't dare to
test). The temporary mounting of the host filesystem shouldn't be any
security risk as it is detached by the host tools before anything
from inside the vserver is started.

The mounts made below /vservers/xxx/ are also in the host namespace and
are not removed, since that would probably need some more intrusive
changes (or maybe my bash scripting abilities are just too limited ;).

Comments/Suggestions are welcome!

Bjoern
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 16 Nov 2004 - 22:42:23 GMT by hypermail 2.1.3