The spec has:
pid (int, REQUIRED when status is created or running) is the ID of the container process, as seen by the host.
bundle (string, REQUIRED) is the absolute path to the container's bundle directory.
I'm assuming those are both “in the runtime namespace”. However the “runtime namespace” wording needs to be tightened up in this case, because create and state may have been called from different namespaces. Is the pid value always in the create runtime namespace? Or when state is called from another PID namespace, is the container process ID translated into that PID namespace (if it is even visible)? The same ambiguity applies to bundle and mount namespaces.
I'd raised this issue on dev@ a while back, but with 1.0 approaching (#726), and dev@-based discussions being pretty quiet, I thought I'd cross-post here in case that helps with triage/prioritization.
The spec has:
pid(int, REQUIRED whenstatusiscreatedorrunning) is the ID of the container process, as seen by the host.bundle(string, REQUIRED) is the absolute path to the container's bundle directory.I'm assuming those are both “in the runtime namespace”. However the “runtime namespace” wording needs to be tightened up in this case, because
createandstatemay have been called from different namespaces. Is thepidvalue always in thecreateruntime namespace? Or whenstateis called from another PID namespace, is the container process ID translated into that PID namespace (if it is even visible)? The same ambiguity applies tobundleand mount namespaces.I'd raised this issue on dev@ a while back, but with 1.0 approaching (#726), and dev@-based discussions being pretty quiet, I thought I'd cross-post here in case that helps with triage/prioritization.