weekly portage stable package updates 2026-07-06 security edition#4132
Conversation
It's from Gentoo commit c57f55232814e5968dac23710b7c8927cb6b7e5e. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org> Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the portage-stable package set with a focus on security-related bumps, primarily refreshing OpenSSL ebuilds/manifests (including new patching where needed) and aligning container runtime dependencies (containerd → newer runc).
Changes:
- Update OpenSSL ebuilds across multiple maintained branches, including verify-sig key dependency bumps and build/install logic alignment for newer OpenSSL series.
- Refresh OpenSSL distfiles in
dev-libs/openssl/Manifest, add an x86 AVX2 guard patch for 4.0.1, and drop no-longer-used patch files/older ebuilds. - Add
runc-1.3.6and bump containerd’s minimum required runc version accordingly, with corresponding Manifest updates.
Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-4.0.9999.ebuild | Bump verify-sig OpenSSL key dependency version for the OpenSSL 4.0 live ebuild. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-4.0.1.ebuild | Update OpenSSL 4.0.1 ebuild logic (sysroot/multibuild flow) and apply new x86 AVX2-related patch. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.6.9999.ebuild | Bump verify-sig OpenSSL key dependency version for the OpenSSL 3.6 live ebuild. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.6.3.ebuild | Update OpenSSL 3.6.3 ebuild logic to the newer sysroot/multibuild-based flow. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.5.9999.ebuild | Bump verify-sig OpenSSL key dependency version for the OpenSSL 3.5 live ebuild. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.5.7.ebuild | Bump verify-sig OpenSSL key dependency version and drop obsolete ppc64 patch application. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.4.9999.ebuild | Bump verify-sig OpenSSL key dependency version for the OpenSSL 3.4 live ebuild. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.4.6.ebuild | Bump verify-sig OpenSSL key dependency version for OpenSSL 3.4.6. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.0.9999.ebuild | Bump verify-sig OpenSSL key dependency version for the OpenSSL 3.0 live ebuild. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.0.21.ebuild | Bump verify-sig OpenSSL key dependency version for OpenSSL 3.0.21. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/openssl-3.3.7.ebuild | Remove the OpenSSL 3.3.7 ebuild from the snapshot. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/Manifest | Update OpenSSL distfile list and checksums to match the new version set. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/files/openssl-4.0.1-x86-avx2.patch | Add patch to constrain AVX2 base64 path to x86_64 builds. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/files/openssl-3.5.5-ppc64.patch | Remove obsolete OpenSSL ppc64 patch file. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/files/openssl-3.5.5-ppc64-be.patch | Remove obsolete OpenSSL ppc64 big-endian patch file. |
| sdk_container/src/third_party/portage-stable/dev-libs/openssl/files/openssl-3.3.2-silence-warning.patch | Remove unused OpenSSL patch file previously tied to older versions. |
| sdk_container/src/third_party/portage-stable/app-containers/runc/runc-1.3.6.ebuild | Add runc 1.3.6 ebuild. |
| sdk_container/src/third_party/portage-stable/app-containers/runc/Manifest | Update runc distfile checksums for 1.3.6. |
| sdk_container/src/third_party/portage-stable/app-containers/containerd/Manifest | Update containerd distfile entry (2.2.5). |
| sdk_container/src/third_party/portage-stable/app-containers/containerd/containerd-2.2.5.ebuild | Bump containerd’s minimum runc dependency to >=1.3.6. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Thanks. We should be able to close flatcar/Flatcar#2178, as runc gets bumped to 1.3.6. |
krnowak
left a comment
There was a problem hiding this comment.
Package automation didn't report anything else worth mentioning - the ebuilds didn't change in significant way.
| @@ -0,0 +1,2 @@ | |||
| - openssl ([3.5.7](https://openssl-library.org/news/openssl-3.5-notes/)) | |||
There was a problem hiding this comment.
| - openssl ([3.5.7](https://openssl-library.org/news/openssl-3.5-notes/)) | |
| - base, dev: openssl ([3.5.7](https://openssl-library.org/news/openssl-3.5-notes/)) |
| @@ -0,0 +1,2 @@ | |||
| - openssl ([3.5.7](https://openssl-library.org/news/openssl-3.5-notes/)) | |||
| - sysext-containerd: containerd ([2.2.5](https://github.com/containerd/containerd/releases/tag/v2.2.5)) | |||
There was a problem hiding this comment.
| - sysext-containerd: containerd ([2.2.5](https://github.com/containerd/containerd/releases/tag/v2.2.5)) | |
| - sysext-containerd: containerd ([2.2.5](https://github.com/containerd/containerd/releases/tag/v2.2.5) (includes [2.2.4](https://github.com/containerd/containerd/releases/tag/v2.2.4), [2.2.3](https://github.com/containerd/containerd/releases/tag/v2.2.3))) |
There is no runc bump happening - we are currently running 1.4.0-r1, which seems to be still vulnerable. |
|
I think cherry-picking app-container/runc from weekly updates branch should be enough - we have accept keywords in line for 1.4* line of releases. |
It's from Gentoo commit 92ad322050427f76c2b3575e947c9c4453bc30a4. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org> Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
c2fc555 to
03235b2
Compare
Upstream PR is opened Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
03235b2 to
84d959f
Compare
Ok done, runc commit has been cherry-picked, runc security issue has been linked and CI has been restarted. |
chewi
left a comment
There was a problem hiding this comment.
You missed my additional containerd commit to require Go >=1.25, but that's no big deal, we'll have that anyway.
|
pkg auto reports and some quick comments:
This will fail the build, because we enable selinux for app-containers/containerd in coreos/base/package.use, but don't have sec-policy/selinux-docker imported in portage-stable. Also, why on earth it is a build dependency?
kmem USE flag is dropped, and its only use in the ebuild was
|
It looks like it was added to |
|
Yes, a mistake - please fix it up if you can. I was wondering about the apparmor thing too but didn't have a chance to check that. |
|
Fixed in gentoo/gentoo@890b6da. |
|
@krnowak thanks for providing additional informations.
The build did not fail because it seems we did not ask for That said, the CI looks good and downloaded image gives: I'll merge the PR once the CI will be fully green. |
That's probably because it was |
|
On closer inspection, you're right, we only enable it on runc for some reason. |
In this PR, we extract security updates from the weekly update.
Testing done
Manually emerged
Closes:
changelog/directory (user-facing change, bug fix, security fix, update)/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.