Skip to content

fix(deps): update module github.com/opencontainers/runc to v1.3.0 #2434

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 29, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/opencontainers/runc v1.2.6 -> v1.3.0 age adoption passing confidence

Release Notes

opencontainers/runc (github.com/opencontainers/runc)

v1.3.0: runc v1.3.0 -- "Mr. President, we must not allow a mine shaft gap!"

Compare Source

This is the first release of the 1.3.z release branch of runc. It
contains a few minor fixes for issues found in 1.3.0-rc.2.

This is the first release of runc that will follow our new release and
support policy (see RELEASES.md for more details). This means that, as
of this release:

  • As of this release, the runc 1.2.z release branch will now only
    receive security and "significant" bugfixes.
  • Users are encouraged to plan migrating to runc 1.3.0 as soon as
    possible.
  • Due to its particular situation, runc 1.1.z is officially no longer
    supported and will no longer receive any updates (not even for
    critical security issues). Users are urged (in the strongest possible
    terms) to upgrade to a supported version of runc.
  • Barring any future changes to our release policy, users should expect
    a runc 1.4.0 release in late October 2025.
Fixed
  • Removed pre-emptive "full access to cgroups" warning when calling
    runc pause or runc unpause as an unprivileged user without
    --systemd-cgroups. Now the warning is only emitted if an actual permission
    error was encountered. (#​4709)
  • Several fixes to our CI, mainly related to AlmaLinux and CRIU. (#​4670,
    #​4728, #​4736)
Changed
  • In runc 1.2, we changed our mount behaviour to correctly handle clearing
    flags. However, the error messages we returned did not provide as much
    information to users about what clearing flags were conflicting with locked
    mount flags. We now provide more diagnostic information if there is an error
    when in the fallback path to handle locked mount flags. (#​4734)
  • Upgrade our CI to use golangci-lint v2.0. (#​4692)
  • runc version information is now filled in using //go:embed rather than
    being set through Makefile. This allows go install or other non-make
    builds to contain the correct version information. Note that
    make EXTRA_VERSION=... still works. (#​418)
  • Remove exclude directives from our go.mod for broken cilium/ebpf
    versions. v0.17.3 resolved the issue we had, and exclude directives are
    incompatible with go install. (#​4748)
Static Linking Notices

The runc binary distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":

The versions of these libraries were not modified from their upstream versions,
but in order to comply with the LGPL-2.1 (§6(a)), we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under the LGPL-2.1.

However we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.


Thanks to the following contributors for making this release possible:

Signed-off-by: Aleksa Sarai cyphar@cyphar.com


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 29, 2025
Copy link

sourcery-ai bot commented Apr 29, 2025

Reviewer's Guide

This pull request updates the github.com/opencontainers/runc dependency from v1.2.6 to v1.3.0 by modifying the go.mod and go.sum files and updating the corresponding vendored code.

File-Level Changes

Change Details Files
Update github.com/opencontainers/runc dependency.
  • Bump runc version in go.mod.
  • Update go.sum with new dependency hash.
  • Update vendored files for runc v1.3.0.
  • Note the new release and support policy for runc (1.2.z security/bugfix only, 1.1.z unsupported).
  • Include improved error messages for mount flag conflicts.
  • Embed version information using //go:embed instead of Makefile.
  • Remove exclude directives for cilium/ebpf.
go.mod
go.sum
vendor/github.com/opencontainers/runc/libcontainer/devices/device_unix.go
vendor/github.com/opencontainers/runc/libcontainer/utils/utils.go
vendor/github.com/opencontainers/runc/libcontainer/utils/utils_unix.go
vendor/modules.txt
vendor/github.com/opencontainers/runc/libcontainer/devices/device_deprecated.go
vendor/github.com/opencontainers/runc/libcontainer/devices/device.go

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

openshift-ci bot commented Apr 29, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: renovate[bot]
Once this PR has been reviewed and has the lgtm label, please ask for approval from luap99. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@renovate renovate bot force-pushed the renovate/github.com-opencontainers-runc-1.x branch 6 times, most recently from c0cbb7a to c185bd6 Compare May 6, 2025 09:04
@renovate renovate bot force-pushed the renovate/github.com-opencontainers-runc-1.x branch from c185bd6 to ec658dd Compare May 12, 2025 12:03
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/github.com-opencontainers-runc-1.x branch from ec658dd to 49654d3 Compare May 12, 2025 12:11
@Luap99
Copy link
Member

Luap99 commented May 16, 2025

#2443

@Luap99 Luap99 closed this May 16, 2025
Copy link
Contributor Author

renovate bot commented May 16, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v1.3.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/github.com-opencontainers-runc-1.x branch May 16, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants