[Devel] Re: [C/R Test][PATCH 1/4] Add -P <pid-file> option to ns_exec

Serge E. Hallyn serue at us.ibm.com
Tue May 26 06:47:14 PDT 2009


Quoting sukadev at linux.vnet.ibm.com (sukadev at linux.vnet.ibm.com):
> From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
> 
> ns_exec knows the pid of the container-init in its own namespace (this
> is usually the global pid since we normally run ns_exec in init-pid-ns).
> If ns_exec writes out this pid from its own namespace, wrapper scripts
> can find the process they created more easily.
> 
> killall and pidof assume that all previous instances of the test program
> have thawed and exited gracefully :-) As such they are not very friendly
> during early testing and/or complicate the wrapper scripts.
> 
> Signed-off-by: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>

Thanks Suka, all 5 patches applied.

Are you working on any common functions to do the libcgroup
mountpoint detection in the .c test files?  (If not, I'll do
it)

thanks,
-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list