Messages in this thread | | | Date | Mon, 14 Apr 2008 08:03:57 -0700 | From | "Paul Menage" <> | Subject | Re: [RFC] Control Groups Roadmap ideas |
| |
On Mon, Apr 14, 2008 at 7:11 AM, Serge E. Hallyn <serue@us.ibm.com> wrote: > > then all tasks are mapped under /containers. If login does a > clone(CLONE_NEWNS) for hallyn's login to give him a private /tmp, > then hallyn ends up under /containers/node_xyz, but we don't want him > to be virtualized under there. So I assume we'd want a virt.lock file > or something like that so, that when I create a container, my > start_container script can echo 1 > /containers/node_abc/virt.lock
Yes, something like that.
> > I assume the container will also have to remount a fresh copy of the > cgroup composition so it can have the dentry for /containers/node_abc > as the root dentry for /containers?
Yes.
Paul
| |