Skip to content

Commit 6a727fd

Browse files
committed
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 <[email protected]>
1 parent 2818abf commit 6a727fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libpod/runtime_pod_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ func (r *Runtime) platformMakePod(pod *Pod, resourceLimits *spec.LinuxResources)
4141
if err != nil {
4242
return "", err
4343
}
44+
res.SkipDevices = true
4445
// Need to both create and update the cgroup
4546
// rather than create a new path in c/common for pod cgroup creation
4647
// just create as if it is a ctr and then update figures out that we need to

0 commit comments

Comments
 (0)