* Re: [C/R Test][PATCH 1/4] Add -P <pid-file> option to ns_exec
@ 2009-05-26 13:47 Serge E. Hallyn
0 siblings, 0 replies; only message in thread
From: Serge E. Hallyn @ 2009-05-26 13:47 UTC (permalink / raw)
To: sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Quoting sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org (sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org):
> From: Sukadev Bhattiprolu <sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
>
> 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-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-26 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 13:47 [C/R Test][PATCH 1/4] Add -P <pid-file> option to ns_exec Serge E. Hallyn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox