mirror of
https://github.com/containers/podman.git
synced 2025-08-24 10:04:57 +08:00
Fix updated runc dep breaking pod devices cgroup
The update to runc broke creation of devices for containers in the pod cgroup. We don't support the device cgroup for pods at present, so just disable it for now, resolving the issue. Thanks to Giuseppe for finding this one! [NO NEW TESTS NEEDED] This is a fix for broken tests Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -43,6 +43,7 @@ func (r *Runtime) platformMakePod(pod *Pod, resourceLimits *spec.LinuxResources)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
res.SkipDevices = true
|
||||
// Need to both create and update the cgroup
|
||||
// rather than create a new path in c/common for pod cgroup creation
|
||||
// just create as if it is a ctr and then update figures out that we need to
|
||||
|
Reference in New Issue
Block a user