Skip to content

Commit

Permalink
Fix updated runc dep breaking pod devices cgroup
Browse files Browse the repository at this point in the history
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 the fix.

[NO NEW TESTS NEEDED] fixes a test break

Signed-off-by: Matt Heon <[email protected]>
  • Loading branch information
mheon committed Feb 2, 2024
1 parent fd07c08 commit cb799fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpod/runtime_pod_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func (r *Runtime) platformMakePod(pod *Pod, p specgen.PodSpecGenerator) error {
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
Expand Down

0 comments on commit cb799fd

Please sign in to comment.