Re: [Devel] [PATCH v4 3/7] Also pass cmd_p pointer to container open

2013-05-17 Thread Glauber Costa
On 05/17/2013 05:35 AM, Kir Kolyshkin wrote: This is kinda becoming over-engineered (and now I realized I should have said it earlier, when reviewing the patch that added the first param). I understand well why you need local_uid and local_gid from config and cmdline in ct_open(), but

Re: [Devel] [PATCH v4 3/7] Also pass cmd_p pointer to container open

2013-05-16 Thread Kir Kolyshkin
On 05/14/2013 03:52 AM, Glauber Costa wrote: We would like to know early on in the container lifetime (before creation) if the container should use user namespaces. At this point, we not yet have a ct s/not/do not/ configuration file, just the global one. It may very well be that the user

[Devel] [PATCH v4 3/7] Also pass cmd_p pointer to container open

2013-05-14 Thread Glauber Costa
We would like to know early on in the container lifetime (before creation) if the container should use user namespaces. At this point, we not yet have a ct configuration file, just the global one. It may very well be that the user have overriden the global configuration file information through