On Sun, 7 Nov 2004 07:57:27 +0100 Bj�rn Steinbrink <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
