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

From: Enrico Scholz (enrico.scholz_at_informatik.tu-chemnitz.de)
Date: Tue 02 Nov 2004 - 18:40:41 GMT


Herbert Poetzl <herbert_at_13thfloor.at> writes:

>> Currently there are two conflicting requirements:
>>
>> (a) 'vserver ... enter' and operating from the outside in the vserver, and
>> (b) cleaning /proc/mounts
>
> first, I would like to split up (a) into
>
> (a1) 'vserver ... enter' and
> (a2) operating from the outside in the vserver

ACK; (a2) is the real problem and required by tools like vrpm or vapt-get.

> 1. get a new namespace
> 2. create the vfsmount (for example via --bind)
> 3. pivot_root (or similar, maybe new cmd?) to the vfsmount
> 4. cleanup the namespace (remove host stuff)
> 5. do all required/listed mounts inside that namespace
> 6. create the context
>
> processes from outside can migrate into the namespace to satisfy (a1),
> and the host administrator can operate on the files in /vservers/<name>
> from the host (there could even be some script which does the same
> mounts the vserver did, on the host, if somebody needs that)

How do you recreate e.g. a tmpfs (inclusive its content)?

Enrico
_______________________________________________
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 02 Nov 2004 - 18:40:56 GMT by hypermail 2.1.3