Tags: cedana/runc
Tags
v1.1.9 -- "There is a crack in everything. That's how the light gets … …in." This is the ninth patch release of the 1.1.z release branch of runc. It fixes a regression introduced in 1.1.8, a bugfix in intelrdt, and a libcontainer fix to cgroup v2 statistics reporting. * Added go 1.21 to the CI matrix; other CI updates. (opencontainers#3976, opencontainers#3958) * Fixed losing sticky bit on tmpfs (a regression in 1.1.8). (opencontainers#3952, opencontainers#3961) * intelrdt: fixed ignoring ClosID on some systems. (opencontainers#3550, opencontainers#3978) * Sum `anon` and `file` from `memory.stat` for cgroupv2 root usage, as the root does not have `memory.current` for cgroupv2. This aligns cgroupv2 root usage more closely with cgroupv1 reporting. Additionally, report root swap usage as sum of swap and memory usage, aligned with v1 and existing non-root v2 reporting. (opencontainers#3933) Thanks to all of the contributors who made this release possible: * Akhil Mohan <[email protected]> * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * Alexander Eldeib <[email protected]> * Cory Snider <[email protected]> * Kir Kolyshkin <[email protected]> * lifubang <[email protected]> * Mrunal Patel <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
v1.1.8 -- "海纳百川 有容乃大" This is the eighth patch release of the 1.1.z release branch of runc. The most notable change is the addition of RISC-V support, along with a few bug fixes. + Support riscv64. (opencontainers#3905) * init: do not print environment variable value. (opencontainers#3879) * libct: fix a race with systemd removal. (opencontainers#3877) * tests/int: increase num retries for oom tests. (opencontainers#3891) * man/runc: fixes. (opencontainers#3892) * Fix tmpfs mode opts when dir already exists. (opencontainers#3916) * docs/systemd: fix a broken link. (opencontainers#3917) * ci/cirrus: enable some rootless tests on cs9. (opencontainers#3918) * runc delete: call systemd's reset-failed. (opencontainers#3932) * libct/cg/sd/v1: do not update non-frozen cgroup after frozen failed. (opencontainers#3921) * CI: bump Fedora, Vagrant, bats. (opencontainers#3878) * `.codespellrc`: update for 2.2.5. (opencontainers#3909) Thanks to all of the contributors who made this release possible: * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * Brian Goff <[email protected]> * Kir Kolyshkin <[email protected]> * lfbzhm <[email protected]> * Sebastiaan van Stijn <[email protected]> * Zoe <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
v1.1.7 -- "Ночевала тучка золотая на груди утеса-великана." This is the seventh patch release in the 1.1.z release of runc, and is the last planned release of the 1.1.z series. It contains a fix for cgroup device rules with systemd when handling device rules for devices that don't exist (though for devices whose drivers don't correctly register themselves in the kernel -- such as the NVIDIA devices -- the full fix only works with systemd v240+). * When used with systemd v240+, systemd cgroup drivers no longer skip `DeviceAllow` rules if the device does not exist (a regression introduced in runc 1.1.3). This fix also reverts the workaround added in runc 1.1.5, removing an extra warning emitted by runc run/start. (opencontainers#3845, opencontainers#3708, opencontainers#3671) * The source code now has a new file, `runc.keyring`, which contains the keys used to sign runc releases. (opencontainers#3838) Thanks to all of the contributors who made this release possible: * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * Kir Kolyshkin <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
v1.1.6 -- "In this world nothing is certain but death and taxes." This is the sixth path release in the 1.1.z series of runc, which fixes a series of cgroup-related issues. Note that this release can no longer be built from sources using Go 1.16. Using a latest maintained Go 1.20.x or Go 1.19.x release is recommended. Go 1.17 can still be used. * systemd cgroup v1 and v2 drivers were deliberately ignoring `UnitExist` error from systemd while trying to create a systemd unit, which in some scenarios may result in a container not being added to the proper systemd unit and cgroup. (opencontainers#3780, opencontainers#3806) * systemd cgroup v2 driver was incorrectly translating cpuset range from spec's `resources.cpu.cpus` to systemd unit property (`AllowedCPUs`) in case of more than 8 CPUs, resulting in the wrong AllowedCPUs setting. (opencontainers#3808) * systemd cgroup v1 driver was prefixing container's cgroup path with the path of PID 1 cgroup, resulting in inability to place PID 1 in a non-root cgroup. (opencontainers#3811) * runc run/start may return "permission denied" error when starting a rootless container when the file to be executed does not have executable bit set for the user, not taking the `CAP_DAC_OVERRIDE` capability into account. This is a regression in runc 1.1.4, as well as in Go 1.20 and 1.20.1 (opencontainers#3715, opencontainers#3817) * cgroup v1 drivers are now aware of `misc` controller. (opencontainers#3823) Thanks to all of the contributors who made this release possible: * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * Chengen, Du <[email protected]> * dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Kir Kolyshkin <[email protected]> * Mrunal Patel <[email protected]> * Peter Hunt~ <[email protected]> * Rodrigo Campos <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
v1.1.5 -- "囚われた屈辱は 反撃の嚆矢だ" This is the fifth patch release in the 1.1.z series of runc, which fixes three CVEs found in runc. * CVE-2023-25809 is a vulnerability involving rootless containers where (under specific configurations), the container would have write access to the /sys/fs/cgroup/user.slice/... cgroup hierarchy. No other hierarchies on the host were affected. This vulnerability was discovered by Akihiro Suda. <GHSA-m8cg-xc2p-r3fc> * CVE-2023-27561 was a regression which effectively re-introduced CVE-2019-19921. This bug was present from v1.0.0-rc95 to v1.1.4. This regression was discovered by @Beuc. <GHSA-vpvm-3wq2-2wvm> * CVE-2023-28642 is a variant of the same bug and was fixed by the same patch. This variant of the above vulnerability was reported by Lei Wang. <GHSA-g2j6-57v7-gm8c> In addition, the following other fixes are included in this release: * Fix the inability to use `/dev/null` when inside a container. (opencontainers#3620) * Fix changing the ownership of host's `/dev/null` caused by fd redirection (a regression in 1.1.1). (opencontainers#3674, opencontainers#3731) * Fix rare runc exec/enter unshare error on older kernels, including CentOS < 7.7. (opencontainers#3776) * nsexec: Check for errors in `write_log()`. (opencontainers#3721) Thanks to all of the contributors who made this release possible: * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * Evan Phoenix <[email protected]> * Jaroslav Jindrak <[email protected]> * Kir Kolyshkin <[email protected]> * Mrunal Patel <[email protected]> * Rodrigo Campos <[email protected]> * Sebastiaan van Stijn <[email protected]> * Shengjing Zhu <[email protected]> * Tianon Gravi <[email protected]> [Due to the security-critical nature of this release, it was released without a direct vote but was agreed to by the required number of maintainers.] Signed-off-by: Aleksa Sarai <[email protected]>
v1.1.4 -- "If you look for perfection, you'll never be content." This is the fourth patch release in the 1.1.z series of runc, primarily fixing a regression introduced in 1.1.3 related to device rules. It also fixes a few other bugs. * Fix mounting via wrong proc fd. When the user and mount namespaces are used, and the bind mount is followed by the cgroup mount in the spec, the cgroup was mounted using the bind mount's mount fd. (opencontainers#3511) * Switch `kill()` in `libcontainer/nsenter` to `sane_kill()`. (opencontainers#3536) * Fix "permission denied" error from `runc run` on `noexec` fs. (opencontainers#3541) * Fix failed exec after `systemctl daemon-reload`. Due to a regression in v1.1.3, the `DeviceAllow=char-pts rwm` rule was no longer added and was causing an error `open /dev/pts/0: operation not permitted: unknown` when systemd was reloaded. (opencontainers#3554) Thanks to all of the contributors who made this release possible: * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * guodong <[email protected]> * Kir Kolyshkin <[email protected]> * Mrunal Patel <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
v1.1.3 -- "In the beginning there was nothing, which exploded." This is the third release of the 1.1.z series of runc, and contains various minor improvements and bugfixes. * Our seccomp `-ENOSYS` stub now correctly handles multiplexed syscalls on s390 and s390x. This solves the issue where syscalls the host kernel did not support would return `-EPERM` despite the existence of the `-ENOSYS` stub code (this was due to how s390x does syscall multiplexing). (opencontainers#3478) * Retry on dbus disconnect logic in libcontainer/cgroups/systemd now works as intended; this fix does not affect runc binary itself but is important for libcontainer users such as Kubernetes. (opencontainers#3476) * Inability to compile with recent clang due to an issue with duplicate constants in libseccomp-golang. (opencontainers#3477) * When using systemd cgroup driver, skip adding device paths that don't exist, to stop systemd from emitting warnings about those paths. (opencontainers#3504) * Socket activation was failing when more than 3 sockets were used. (opencontainers#3494) * Various CI fixes. (opencontainers#3472, opencontainers#3479) * Allow to bind mount /proc/sys/kernel/ns_last_pid to inside container. (opencontainers#3493) * runc static binaries are now linked against libseccomp v2.5.4. (opencontainers#3481) Thanks to all of the contributors who made this release possible: * Akihiro Suda <[email protected]> * Aleksa Sarai <[email protected]> * CrazyMax <[email protected]> * Erik Sjölund <[email protected]> * Irwin D'Souza <[email protected]> * Kang Chen <[email protected]> * Kir Kolyshkin <[email protected]> * Sebastiaan van Stijn <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]>
PreviousNext