mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
shimv2 : Remove workaround for sharedPidNs
Removing code that existed as a workaround for a bug in how shared process namespaces were handled in the agent. That has been long fixed in the agent. With this, sharedPidNs will now work with shimv2. Fixes #337 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
3bbb97add3
commit
f570a2cd40
@ -132,14 +132,6 @@ func loadSpec(r *taskAPI.CreateTaskRequest) (*specs.Spec, string, error) {
|
||||
return nil, "", err
|
||||
}
|
||||
|
||||
// Todo:
|
||||
// Since there is a bug in kata for sharedPidNs, here to
|
||||
// remove the pidns to disable the sharePidNs temporarily,
|
||||
// once kata fixed this issue, we can remove this line.
|
||||
// For the bug, please see:
|
||||
// https://github.com/kata-containers/kata-containers/src/runtime/issues/930
|
||||
removeNamespace(&ociSpec, specs.PIDNamespace)
|
||||
|
||||
return &ociSpec, bundlePath, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user