Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of cgutil: handle panic from runc helper method into release/1.3.x #16188

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #16180 to be assessed for backporting due to the inclusion of the label backport/1.3.x.

The below text is copied from the body of the original PR.


This PR wraps the cgroups.IsCgroup2UnifiedMode() helper method from
runc in a defer/recover block because it might panic in some cases.

Upstream fix in: opencontainers/runc#3745

Closes #16179

Backports as far back as 1.3.x, when support for cgv2 was added.

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/cgv2-panic/rightly-working-raven branch from a56d077 to 935f61a Compare February 14, 2023 21:10
@hc-github-team-nomad-core hc-github-team-nomad-core merged commit e81a01f into release/1.3.x Feb 14, 2023
@hc-github-team-nomad-core hc-github-team-nomad-core deleted the backport/cgv2-panic/rightly-working-raven branch February 14, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants