Releases: opencontainers/runc
runc v1.4.0-rc.3 -- "ใใฎๆฅใไบบ้กใฏๆใๅบใใใ"
Note
Some vendors were given patches corresponding to this release in
advance. This public release includes two extra patches to fix
regressions discovered very late during the embargo period and were
thus not included in the pre-release versions. Please update to this
version.
Security
This release includes fixes for the following high-severity security issues:
-
CVE-2025-31133 exploits an issue with how masked paths are implemented in
runc. When masking files, runc will bind-mount the container's/dev/null
inode on top of the file. However, if an attacker can replace/dev/null
with a symlink to some other procfs file, runc will instead bind-mount the
symlink target read-write. This issue affected all known runc versions. -
CVE-2025-52565 is very similar in concept and application to
CVE-2025-31133, except that it exploits a flaw in/dev/console
bind-mounts. When creating the/dev/consolebind-mount (to/dev/pts/$n),
if an attacker replaces/dev/pts/$nwith a symlink then runc will
bind-mount the symlink target over/dev/console. This issue affected all
versions of runc >= 1.0.0-rc3. -
CVE-2025-52881 is a more sophisticated variant of CVE-2019-19921,
which was a flaw that allowed an attacker to trick runc into writing the LSM
process labels for a container process into a dummy tmpfs file and thus not
apply the correct LSM labels to the container process. The mitigation we
applied for CVE-2019-19921 was fairly limited and effectively only caused
runc to verify that when we write LSM labels that those labels are actual
procfs files. This issue affects all known runc versions.
Fixed
- Switched to
(*CPUSet).Fillrather than our hacky optimisation when
resetting the CPU affinity of runc. (#4926, #4927) - Correctly close child fds during
(*setns).startif an error occurs.
(#4930, #4936)
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:
- Akihiro Suda [email protected]
- Aleksa Sarai [email protected]
- Kir Kolyshkin [email protected]
- Lei Wang [email protected]
- Li Fubang [email protected]
- Rodrigo Campos [email protected]
- Tรตnis Tiigi [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.3.3 -- "ๅฅดใใซๆฏ้ ใใใฆใใๆๆใ"
Note
Some vendors were given a pre-release version of this release.
This public release includes two extra patches to fix regressions
discovered very late during the embargo period and were thus not
included in the pre-release versions. Please update to this version.
This release contains fixes for three high-severity security
vulnerabilities in runc (CVE-2025-31133, CVE-2025-52565, and
CVE-2025-52881). All three vulnerabilities ultimately allow (through
different methods) for full container breakouts by bypassing runc's
restrictions for writing to arbitrary /proc files.
Security
-
CVE-2025-31133 exploits an issue with how masked paths are implemented in
runc. When masking files, runc will bind-mount the container's/dev/null
inode on top of the file. However, if an attacker can replace/dev/null
with a symlink to some other procfs file, runc will instead bind-mount the
symlink target read-write. This issue affected all known runc versions. -
CVE-2025-52565 is very similar in concept and application to
CVE-2025-31133, except that it exploits a flaw in/dev/console
bind-mounts. When creating the/dev/consolebind-mount (to/dev/pts/$n),
if an attacker replaces/dev/pts/$nwith a symlink then runc will
bind-mount the symlink target over/dev/console. This issue affected all
versions of runc >= 1.0.0-rc3. -
CVE-2025-52881 is a more sophisticated variant of CVE-2019-19921,
which was a flaw that allowed an attacker to trick runc into writing the LSM
process labels for a container process into a dummy tmpfs file and thus not
apply the correct LSM labels to the container process. The mitigation we
applied for CVE-2019-19921 was fairly limited and effectively only caused
runc to verify that when we write LSM labels that those labels are actual
procfs files. This issue affects all known runc versions.
Added
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:
- Akihiro Suda [email protected]
- Aleksa Sarai [email protected]
- Kir Kolyshkin [email protected]
- Lei Wang [email protected]
- Li Fubang [email protected]
- Rodrigo Campos [email protected]
- Tรตnis Tiigi [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.2.8 -- "้ณฅ็ฑ ใฎไธญใซๅใใใๅฑ่พฑใ"
Note
Some vendors were given a pre-release version of this release.
This public release includes two extra patches to fix regressions
discovered very late during the embargo period and were thus not
included in the pre-release versions. Please update to this version.
This release contains fixes for three high-severity security
vulnerabilities in runc (CVE-2025-31133, CVE-2025-52565, and
CVE-2025-52881). All three vulnerabilities ultimately allow (through
different methods) for full container breakouts by bypassing runc's
restrictions for writing to arbitrary /proc files.
Security
-
CVE-2025-31133 exploits an issue with how masked paths are implemented in
runc. When masking files, runc will bind-mount the container's/dev/null
inode on top of the file. However, if an attacker can replace/dev/null
with a symlink to some other procfs file, runc will instead bind-mount the
symlink target read-write. This issue affected all known runc versions. -
CVE-2025-52565 is very similar in concept and application to
CVE-2025-31133, except that it exploits a flaw in/dev/console
bind-mounts. When creating the/dev/consolebind-mount (to/dev/pts/$n),
if an attacker replaces/dev/pts/$nwith a symlink then runc will
bind-mount the symlink target over/dev/console. This issue affected all
versions of runc >= 1.0.0-rc3. -
CVE-2025-52881 is a more sophisticated variant of CVE-2019-19921,
which was a flaw that allowed an attacker to trick runc into writing the LSM
process labels for a container process into a dummy tmpfs file and thus not
apply the correct LSM labels to the container process. The mitigation we
applied for CVE-2019-19921 was fairly limited and effectively only caused
runc to verify that when we write LSM labels that those labels are actual
procfs files. This issue affects all known runc versions.
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:
- Aleksa Sarai [email protected]
- Kir Kolyshkin [email protected]
- Lei Wang [email protected]
- Li Fubang [email protected]
- Rodrigo Campos [email protected]
- Tรตnis Tiigi [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.4.0-rc.2 -- "็งใฎๅฝน็ฎใฏไฟกใใใใฉใใใงใฏใชใใ่กใใใฉใใใ ใ"
This is the second release candidate of the runc 1.4.0 release. It
includes a few minor features that did not make the cut-off for
v1.4.0-rc.1 (namely CLONE_INTO_CGROUP support and some new Intel RDT
features).
Users are strongly encouraged to test our release candidates over the
next month so we can fix issues before the general release. You should
expect runc 1.4.0 to be released at the end of October 2025 (at which
point, runc 1.2.z will only receive high-severity security fixes for 6
months and users are thus very strongly encouraged to migrate to a newer
version).
libcontainer API
- The deprecated
libcontainer/usernspackage has been removed; use
github.com/moby/sys/usernsinstead. (#4910, #4911)
Added
- Allow setting
user.*sysctls for user-namespaced containers, as they are
namespaced and thus safe to configure. (#4889, #4892) - Add support for using
clone3(2)'sCLONE_INTO_CGROUPflag when
configuring therunc execprocess. This also included some internal
changes to how we add processes to containers. (#4822, #4812, #4920) - Add support for configuring the NUMA pmemory policy for a container with
set_mempolicy(2). (opencontainers/runtime-spec#1282, #4726, #4915) - Add support for
intelRdt.schematato allow for configuration of all
schemas inresctrl. (opencontainers/runtime-spec#1230, #4830, #4915) - Add support for
intelRdt.enableMonitoringto allow for per-container
resctrlmonitoring. This replaces the oldintelRdt.enableCMTand
intelRdt.enableMBMoptions which were never implemented by runc and have
been removed from the runtime-spec. (opencontainers/runtime-spec#1287,
#4832, #4921)
Fixed
- Configure
personality(2)before applying seccomp profiles. (#4900, #4903) - Fixed integration test failure on ppc64, caused by 64K page size so the
kernel was rounding memory limit to 64K. (#4841, #4895, #4893) - seccompagent: fix fd close loop to prevent closing stdio in the error path.
(#4913, #4923)
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:
- Aleksa Sarai [email protected]
- Antti Kervinen [email protected]
- Donet Tom [email protected]
- Joshua Rogers [email protected]
- Kir Kolyshkin [email protected]
- Markus Lehtonen [email protected]
- Rodrigo Campos [email protected]
- Tycho Andersen [email protected]
- Vishal Chourasia [email protected]
- Li Fubang [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.3.2 -- "ะะพัั, ัะปะธัะฐ, ัะพะฝะฐัั, ะฐะฟัะตะบะฐ..."
This is the second patch release of the 1.3.z release series of runc.
It primarily includes some minor fixes for issues found in 1.3.1.
Changed:
- The conversion from cgroup v1 CPU shares to cgroup v2 CPU weight is
improved to better fit default v1 and v2 values. (#4772, #4785, #4897) - Dependency github.com/opencontainers/cgroups updated from v0.0.1 to
v0.0.4. (#4897)
Fixed:
- runc state: fix occasional "cgroup.freeze: no such device" error.
(#4798, #4808, #4897) - Fixed integration test failure on ppc64, caused by 64K page size so the
kernel was rounding memory limit to 64K. (#4841, #4895, #4893)
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 who made this release possible:
- Aleksa Sarai [email protected]
- Jared Ledvina [email protected]
- Kir Kolyshkin [email protected]
- Rodrigo Campos [email protected]
Signed-off-by: Kir Kolyshkin [email protected]
runc v1.4.0-rc.1 -- "ใใใงใใในใซใชใฃใใใ ใใ๏ผ"
This is the first release candidate of the runc 1.4.0 release. It
contains a couple of new features, but is mostly made up of some minor
bug fixes and some follow-ups for features deprecated in runc 1.3.0.
Users are strongly encouraged to test our release candidates over the
next two months so we can fix issues before the general release. You
should expect runc 1.4.0 to be released at the end of October 2025 (at
which point, runc 1.2.z will only receive high-severity security fixes
for 6 months and users are thus very strongly encouraged to migrate to a
newer version).
This version of runc requires Go 1.24 to build.
libcontainer API
- The deprecated
libcontainer/userpackage has been removed; use
github.com/moby/sys/userinstead. (#3999, #4617) libcontainer/apparmorvariables containing public functions have been
switched to wrapper functions. (#4725)
Breaking
-
runc update no longer allows
--l3-cache-schemaor--mem-bw-schemaif
linux.intelRdtwas not present in the containerโs originalconfig.json.Without
linux.intelRdtno CLOS (resctrl group) is created at container
creation, so it is not possible to apply the updated options withrunc update.Previously, this scenario did not work as expected. The
runc updatewould
create a new CLOS but fail to apply the schema, move only the init process
(omitting children) to the new group, and leave the CLOS orphaned after
container exit. (#4827) -
The deprecated
--criuflag has been removed entirely, instead thecriu
binary in$PATHwill be used. (#4722)
Added
- runc now supports the
linux.netDevicesfield to allow for devices to be
moved into container network namespaces seamlessly. (#4538) runc updatenow supports per-device weight and iops cgroup limits. (#4775)- intel rdt: allow explicit assignment to root CLOS. (#4854)
Fixed
- Container processes will no longer inherit the CPU affinity of runc by
default. Instead, the default CPU affinity of container processes will be
the largest set of CPUs permitted by the container's cpuset cgroup and any
other system restrictions (such as isolated CPUs). (#4041, #4815, #4858) - Use
chown(uid, -1)when configuring the console inode, to avoid issues
with unmapped GIDs. (#4679) - Add logging for the cases where failed keyring operations are ignored during
setup. (#4676) - Optimise
runc execby avoiding calling into SELinux'sSet.*Labelwhen
processLabelis not set. (#4354) - Fix mips64 builds for remap-rootfs. (#4723)
- Setting
linux.rootfsPropagationtosharedorunbindablenow functions
properly. (#1755, #1815, #4724) - runc delete and runc stop can now correctly handle cases where runc
create was killed during setup. Previously it was possible for the
container to be in such a state that neither runc stop nor runc
delete would be unable to kill or delete the container. (#4534,
#4645, #4757) - Close seccomp agent connection to prevent resource leaks. (#4796)
runc updatewill no longer clear intelRdt state information. (#4828)- runc will now error out earlier if intelRdt is not enabled. (#4829)
- Improve filesystem operations within intelRdt manager. (#4840, #4831)
- Resolve a certain race between
runc createandrunc deletethat would
previously result in spurious errors. (#4735) - CI: skip bpf tests on misbehaving udev systems. (#4825)
Changed
- Use Go's built-in
pidfd_send_signal(2)support when available. (#4666) - Make
state.json25% smaller. (#4685) - Migrate to Go 1.22+ features. (#4687, #4703)
- Provide private wrappers around common syscalls to make
-EINTRhandling
less cumbersome for the rest of runc. (#4697) - Ignore the dmem controller in our cgroup tests, as systemd does not
yet support it. (#4806) /proc/net/devis no longer included in the permitted procfs overmount
list. Its inclusion was almost certainly an error, and because
/proc/netis a symlink to/proc/self/net, overmounting this was
almost certainly never useful (and will be blocked by future kernel
versions). (#4817)- Simplify the prepareCriuRestoreMounts logic for checkpoint-restore.
(#4765) - The conversion from cgroup v1 CPU shares to cgroup v2 CPU weight is
improved to better fit default v1 and v2 values. (#4772, #4785) - Bump minimum Go version to 1.24. (#4851)
- CI: migrate virtualised Fedora tests from Vagrant + Cirrus to Lima + GHA. We
still use Cirrus for the AlmaLinux tests, since they can be run without
virtualisation. (#4664) - CI: install fewer dependencies (#4671), bump shellcheck and bats versions
(#4670). - CI: remove
toolchainfromgo.modand add a CI check to make sure it's
never added accidentally. (#4717, #4721) - CI: do not allow
excludeorreplacedirectives ingo.mod, to make sure
thatgo installdoesn't get accidentally broken. (#4750) - CI: fix exclusion rules and allow us to run jobs manually. (#4760)
- CI: Switch to GitHub-hosted ARM runners. Thanks again to @alexellis
for supporting runc's ARM CI up until now. (#4844, #4856) - Various dependency updates. (#4659, #4658, #4662, #4663, #4689, #4694,
#4702, #4701, #4707, #4710, #4746, #4756, #4751, #4758, #4764, #4768, #4779,
#4783, #4785, #4801, #4808, #4803, #4839, #4846, #4847, #4845, #4850, #4861,
#4860)
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:
- Akihiro Suda [email protected]
- Aleksa Sarai [email protected]
- Andrei Vagin [email protected]
- Antonio Ojea [email protected]
- Antti Kervinen [email protected]
- Henry Chen [email protected]
- HirazawaUi [email protected]
- Kir Kolyshkin [email protected]
- Markus Lehtonen [email protected]
- Martin Sivak [email protected]
- Mikhail Dmitrichenko [email protected]
- Pavel Liubimov [email protected]
- Peter Hunt [email protected]
- Prajwal S N [email protected]
- Rodrigo Campos [email protected]
- Sebastiaan van Stijn [email protected]
- Tigran Sogomonian [email protected]
- Yusuke Sakurai [email protected]
- jokemanfire [email protected]
- lifubang [email protected]
- ningmingxiao [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.3.1 -- "ใใฎ็ฆ็คซใฎๅฑฑใงใใ"
This is the first patch release of the 1.3.z release series of runc. It
primarily includes some minor fixes for issues found in 1.3.0.
Fixed
- Container processes will no longer inherit the CPU affinity of runc by
default. Instead, the default CPU affinity of container processes will be
the largest set of CPUs permitted by the container's cpuset cgroup and any
other system restrictions (such as isolated CPUs). (#4041, #4815, #4858) - Setting
linux.rootfsPropagationtosharedorunbindablenow functions
properly. (#1755, #1815, #4724, #4789) - Close seccomp agent connection to prevent resource leaks. (#4796, #4799)
runc deleteandrunc stopcan now correctly handle cases where
runc createwas killed during setup. Previously it was possible for the
container to be in such a state that neitherrunc stopnorrunc delete
would be unable to kill or delete the container. (#4534, #4645, #4757,
#4788)runc updatewill no longer clear intelRdt state information. (#4828,
#4833)- CI: Fix exclusion rules and allow us to run jobs manually. (#4760, #4763)
Changed
- Improvements to the deprecation warnings as part of the
github.com/opencontainers/cgroupssplit. (#4784, #4788) - Disable the dmem controller in our cgroup tests, as systemd does not yet
support it. (#4806, #4811) /proc/net/devis no longer included in the permitted procfs overmount
list. Its inclusion was almost certainly an error, and because/proc/net
is a symlink to/proc/self/net, overmounting this was almost certainly
never useful (and will be blocked by future kernel versions). (#4817, #4820)- Simplify the
prepareCriuRestoreMountslogic for checkpoint-restore.
(#4765, #4871) - CI: Bump
golangci-lintto v2.1. (#4747, #4754) - CI: Switch to GitHub-hosted ARM runners. Thanks again to @alexellis for
supporting runc's ARM CI up until now. (#4844, #4856, #4867)
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 who made this release possible:
- Akihiro Suda [email protected]
- Aleksa Sarai [email protected]
- HirazawaUi [email protected]
- Kir Kolyshkin [email protected]
- Markus Lehtonen [email protected]
- Martin Sivak [email protected]
- Pavel Liubimov [email protected]
- Peter Hunt [email protected]
- Rodrigo Campos [email protected]
- Yusuke Sakurai [email protected]
- lfbzhm [email protected]
- ningmingxiao [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.2.7 -- "ใใใใคใใใใใณๅฉ้้๏ผ"
This is the seventh release of the 1.2.z release branch of runc. It
contains some fixes for issues found in runc 1.3.z that were considered
"significant" bugfixes (as per our new release and support policy) and
thus be worth backporting.
Fixed
- Removed preemptive "full access to cgroups" warning when calling
runc pauseorrunc unpauseas an unprivileged user without
--systemd-cgroups. Now the warning is only emitted if an actual permission
error was encountered. (#4709, #4720) - Add time namespace to container config after checkpoint/restore. CRIU since
version 3.14 uses a time namespace for checkpoint/restore, however it was
not joining the time namespace in runc. (#4696, #4714) - Container processes will no longer inherit the CPU affinity of runc by
default. Instead, the default CPU affinity of container processes will be
the largest set of CPUs permitted by the container's cpuset cgroup and any
other system restrictions (such as isolated CPUs). (#4041, #4815, #4858) - Close seccomp agent connection to prevent resource leaks. (#4796, #4800)
- Several fixes to our CI, mainly related to AlmaLinux and CRIU. (#4670,
#4728, #4736, #4742) - Setting
linux.rootfsPropagationtosharedorunbindablenow functions
properly. (#1755, #1815, #4724, #4791) runc updatewill no longer clear intelRdt state information. (#4828,
#4834)
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, #4740) - Ignore the dmem controller in our cgroup tests, as systemd does not yet
support it. (#4806, #4811) /proc/net/devis no longer included in the permitted procfs overmount
list. Its inclusion was almost certainly an error, and because/proc/net
is a symlink to/proc/self/net, overmounting this was almost certainly
never useful (and will be blocked by future kernel versions). (#4817, #4820)- CI: Switch to GitHub-hosted ARM runners. Thanks again to @alexellis for
supporting runc's ARM CI up until now. (#4844, #4856, #4867) - Simplify the
prepareCriuRestoreMountslogic for checkpoint-restore.
(#4765, #4872)
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:
- Akihiro Suda [email protected]
- Aleksa Sarai [email protected]
- Andrei Vagin [email protected]
- Kir Kolyshkin [email protected]
- Markus Lehtonen [email protected]
- Martin Sivak [email protected]
- Pavel Liubimov [email protected]
- Peter Hunt [email protected]
- Rodrigo Campos [email protected]
- Yusuke Sakurai [email protected]
- lfbzhm [email protected]
- ningmingxiao [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.3.0 -- "Mr. President, we must not allow a mine shaft gap!"
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 pauseorrunc unpauseas 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 versioninformation is now filled in using//go:embedrather than
being set throughMakefile. This allowsgo installor other non-make
builds to contain the correct version information. Note that
make EXTRA_VERSION=...still works. (#418)- Remove
excludedirectives from ourgo.modfor brokencilium/ebpf
versions.v0.17.3resolved the issue we had, andexcludedirectives are
incompatible withgo 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:
- Akihiro Suda [email protected]
- Aleksa Sarai [email protected]
- Kir Kolyshkin [email protected]
- Rodrigo Campos [email protected]
- lifubang [email protected]
Signed-off-by: Aleksa Sarai [email protected]
runc v1.3.0-rc.2 -- "Eppur si muove."
This is the second release candidate of the runc 1.3.0 release. It
contains a few fixes for issues found in rc.1.
This is the first release series that will follow our new release
policy, meaning that users should expect runc 1.3.0 to be released at
the end of April 2025, at which point the support policy for the runc
1.2.z branch will change. Please see the new RELEASES.md document for
more information.
Users are strongly encouraged to test our release candidates so we can
fix issues before the general release.
Fixed
- Use the container's
/etc/passwdto set theHOMEenv var. After a refactor
for 1.3, we were setting it reading the host's/etc/passwdfile instead.
(#4693, #4688) - Override
HOMEenv var if it's set to the empty string. This fixes a
regression after the same refactor for 1.3 and aligns the behavior with older
versions of runc. (#4711) - Add time namespace to container config after checkpoint/restore. CRIU since
version 3.14 uses a time namespace for checkpoint/restore, however it was not
joining the time namespace in runc. (#4705)
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:
- Rodrigo Campos [email protected]
- Rudi Heitbaum [email protected]
- Kir Kolyshkin [email protected]
- lifubang [email protected]
- Akihiro Suda [email protected]
- Andrei Vagin [email protected]
Signed-off-by: Kir Kolyshkin [email protected]