Skip to content

v0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 11:54
696ed8c

What's Changed

πŸ’₯ Breaking Changes

  • feat: bridge container PTY to host stdio for foreground run and exec by @utam0k in #3639
  • set process.terminal to true in youki spec to match runc by @utam0k in #3834

πŸ’ͺ Improvements

  • feat(checkpoint): Added support for the --tcp-skip-in-flight option by @donkomura in #3650
  • [ID-Mapped Mount] handle init sync messages in event loop by @YamasouA in #3577
  • feat(libcgroups): Support sub-cgroups for unified systemd cgroup manager by @logica0419 in #3563
  • [FEATURE]: consolidate validate functions from utils into validator.rs by @tommady in #3661
  • feat: Support --empty-ns checkpoint/restore option by @donkomura in #3700
  • feat: add support for --blkio-weight in youki update by @aayush0325 in #3698
  • feat(libcontainer): support the tmpcopyup mount option by @ItzExotical in #3769
  • fix(libcontainer): reject duplicate namespace types by @ddy314 in #3782
  • feat(systemd): implement DeviceAllow/DevicePolicy cgroup controller by @nayuta723 in #3721
  • feat(checkpoint): Added support for the page-server option by @donkomura in #3777
  • fix(youki): match runc list output by @utam0k in #3864
  • feat(libcgroups): map more unified keys to systemd properties by @ARMeeru in #3889
  • fix(libcontainer): label mqueue with an xattr instead of context= by @ItzExotical in #3773

πŸ› Bug Fixes

  • fix(wasmer): enable tokio dependency for wasm-wasmer feature by @jtakakura in #3673
  • feat: implement OCI per-mount propagation options by @saku3 in #3699
  • fix(libcgroups): set SOCK_CLOEXEC on the D-Bus connection socket by @r14dd in #3744
  • fix io weight order by @saku3 in #3778
  • fix(libcontainer): accept recursive rootfsPropagation values by @ItzExotical in #3767
  • fix(libcontainer): derive default cgroupfs path from current cgroup by @Theodore-Liu in #3706
  • fix(youki): keep the workload's exit status when run fails to delete by @ItzExotical in #3796
  • fix(libcgroups): tolerate EEXIST when creating cgroup v2 directories by @ARMeeru in #3809
  • fix(youki): validate container id when loading a container by @saku3 in #3750
  • fix(libcontainer): mount overlays whose lowerdir exceeds 255 bytes by @ItzExotical in #3763
  • fix(libcontainer): skip exit handlers when a clone3 child exits by @pat-s in #3825
  • fix(libcgroups): encode systemd cpuset properties as byte arrays by @utam0k in #3861
  • fix: keep OPOST on host terminal to render newlines correctly by @aayush0325 in #3853
  • fix(libcgroups): write each line of a unified value separately by @ARMeeru in #3831
  • fix(youki): honor run --keep for foreground containers by @utam0k in #3863
  • fix(libcontainer): set rlimits before userns by @saku3 in #3865
  • fix(wasmedge): disable unused async SDK feature by @xz-dev in #3867
  • ci: honor matrix targets in lint and tests by @xz-dev in #3866
  • Allow device paths outside /dev by @Arthur031221 in #3797
  • fix(libcgroups): only read v2 stats for enabled controllers by @ARMeeru in #3813
  • fix(libcgroups): write every unified key to cgroupfs under systemd by @ARMeeru in #3869
  • fix(libcontainer): fix parent dir mode by @saku3 in #3891
  • fix(libcontainer): branch seccomp init on no_new_privileges value and propagate prctl error by @ItzExotical in #3828
  • fix: fail contest tests when contest exits with a non-zero status by @saku3 in #3896
  • fix(libcontainer): fail create when a rootless container can't join its cgroup by @r14dd in #3803
  • fix(libcontainer): mount cgroup2 without the SELinux mount label by @ARMeeru in #3902
  • feat(libcgroups): set OOMPolicy from unified memory.oom.group by @ARMeeru in #3906

πŸ“– Documentation improvements

πŸ§ͺ Test improvements and Misc Fixes

  • test(contest): add update cgroup cpu limits integration test by @hayama17 in #3654
  • refactor(contest): make netns setup an explicit checkpoint test step by @donkomura in #3682
  • specify systemd as Podman's cgroup manager for rootless-podman-test by @saku3 in #3691
  • test(contest): add update cpuset integration test by @moz-sec in #3653
  • test(integration_test): port runtime-tools/validation/process_capabilities by @aayush0325 in #3696
  • test: port OCI state validation by @ITSMERNB in #3697
  • grouping netlink by @saku3 in #3712
  • test(utils): Add normalize method unit test in libcontainer/utils.rs by @Scanf-s in #3707
  • test(rootfs): Add adjust_root_mount_propagation unit tests by @Scanf-s in #3710
  • chore(deps): bump nix from 0.29.0 to 0.31.3 by @daschinmoy21 in #3628
  • harden unified cgroup config by @saku3 in #3692
  • refactor(contest): extract run_container_with_console helper into test_utils by @aniketch07 in #3693
  • remove cgroupv1 test by @saku3 in #3727
  • test(contest): add cgroup v2 memory integration tests by @ARMeeru in #3725
  • refactor: extract can_run into a helper utility for cgroups v2 tests by @aayush0325 in #3736
  • fix(contest): skip rsvd hugetlb test when hugetlb is unavailable by @r14dd in #3734
  • ci: run contest integration tests on aarch64 by @Suhail98 in #3738
  • fix(contest): mask /sys/firmware instead of /proc/acpi in mount_test by @r14dd in #3742
  • utility function for check whether the cgroup v2 interface file exists by @saku3 in #3737
  • fix(contest): skip memory_policy tests that need NUMA by @r14dd in #3739
  • test(contest): add cgroup v2 pids integration tests by @ARMeeru in #3741
  • harden mount source by @saku3 in #3745
  • tests: added tests for validating default symlinks in the container environment. by @karthik20066002 in #3743
  • test(contest): migrate huge_tlb tests to cgroup v2 by @ARMeeru in #3752
  • ci: bump runc from 1.4.1 to 1.5.2 by @nayuta723 in #3787
  • test(contest): add cgroup v2 cpuset integration tests by @ARMeeru in #3779
  • ci: run contest on Fedora with SELinux enabled by @saku3 in #3791
  • docs: use current just recipes for development tests by @ddy314 in #3780
  • contest: add cgroup v2 test for tests for blkio by @aayush0325 in #3731
  • fix(contest): treat zombie processes as stopped in checkpoint tests by @ARMeeru in #3790
  • fix(libcgroups): convert cgroup v2 CPU times to nanoseconds by @ddy314 in #3785
  • fix(libcgroups): allow CPU stats without throttling fields by @ddy314 in #3786
  • fix(libcontainer): harden cgroup path by @saku3 in #3807
  • test(contest): wait for the container to stop before deleting it in poststop_fail by @ItzExotical in #3811
  • test(contest): add cgroup v2 unified integration tests by @ARMeeru in #3806
  • chore: use cargo update --workspace to update Cargo.lock by @saku3 in #3812
  • fix cross build for musl by @saku3 in #3827
  • fix(libcgroups): write zero swap limit when memory and swap are equal by @ddy314 in #3784
  • chore(contest): use std scoped threads and available_parallelism in test_framework by @FalkWoldmann in #3842
  • chore: replace nc with libc for sched_setattr and sched_getattr by @FalkWoldmann in #3845
  • chore(deps): disable unused procfs and oci-spec default features by @FalkWoldmann in #3850
  • chore(contest): use Uuid::new_v4 in generate_uuid by @FalkWoldmann in #3852
  • bump wasmtime by @saku3 in #3747
  • fix(libcontainer): propagate process error chains to parent by @yihuaf in #3849
  • cleanup oci-tests by @saku3 in #3851
  • test(libcontainer): skip ptmx tests when /dev/ptmx isn't on devpts by @FalkWoldmann in #3859
  • bump rust to v1.99.1 by @saku3 in #3868
  • fix(libcgroups): close the D-Bus socket when its connection is dropped by @YubinghanBai in #3839
  • fix lint for dbus by @saku3 in #3874
  • docs(liboci-cli): mark features and update in the command tables by @ZainnQureshii in #3878
  • chore(libcontainer): replace unsafe fd and byte casts with std by @FalkWoldmann in #3882
  • fix tmpfs mode inheritance from existing mount target by @saku3 in #3789
  • fix(tests): report runc compatibility failures and bound test runs by @nayuta723 in #3872
  • test(runc): unskip the per-device multiple iops via unified test by @ARMeeru in #3888
  • chore(libcontainer): use get_unix_user in get_pwuid by @FalkWoldmann in #3883
  • fix(libcgroups): correct the unified controller's error label by @ARMeeru in #3898
  • fix(libcontainer): dup the fd when cloning NotifyListener by @FalkWoldmann in #3892
  • chore: bump cross alpine by @saku3 in #3905
  • refactor(libcgroups): write the D-Bus variant header in one helper by @mateuscmtropical in #3912
  • fix(observability): runc-compatible log format in json by @t-akashi in #3822
  • run CI on the release PR with a GitHub App token by @utam0k in #3928
  • automate the release after the environment approval by @utam0k in #3927

Other Changes

  • (auto merged) chore(deps): bump the wasmtime group across 1 directory with 2 updates by @dependabot[bot] in #3674
  • chore(deps): bump fastrand from 2.4.1 to 2.5.0 by @dependabot[bot] in #3657
  • (auto merged) chore(deps): bump netlink-packet-core from 0.8.1 to 0.8.2 in the patch group by @dependabot[bot] in #3684
  • (auto merged) chore(deps): bump thiserror from 2.0.19 to 2.0.20 in the patch group by @dependabot[bot] in #3686
  • chore(deps): bump netlink-packet-route from 0.31.0 to 0.32.1 by @dependabot[bot] in #3694
  • chore(deps): bump the patch group across 1 directory with 2 updates by @dependabot[bot] in #3695
  • (auto merged) chore(deps): bump the wasmtime group across 1 directory with 2 updates by @dependabot[bot] in #3701
  • chore(deps): bump uuid from 1.24.1 to 1.25.0 by @dependabot[bot] in #3709
  • chore(deps): bump wasmer-wasix from 0.700.1 to 0.701.0 by @dependabot[bot] in #3704
  • (auto merged) chore(deps): bump which from 8.0.5 to 8.0.6 in the patch group by @dependabot[bot] in #3713
  • (auto merged) chore(deps): bump flate2 from 1.1.9 to 1.1.10 in the patch group by @dependabot[bot] in #3716
  • chore(deps): bump the netlink group across 1 directory with 3 updates by @dependabot[bot] in #3715
  • chore(deps): bump uuid from 1.25.0 to 1.26.0 by @dependabot[bot] in #3714
  • chore(deps): bump tokio from 1.52.1 to 1.53.1 by @dependabot[bot] in #3685
  • (auto merged) chore(deps): bump crossbeam from 0.8.4 to 0.8.5 in the patch group by @dependabot[bot] in #3722
  • (auto merged) chore(deps): bump pathrs from 0.2.5 to 0.2.6 in the patch group by @dependabot[bot] in #3724
  • chore(deps): bump serial_test from 3.5.0 to 4.0.1 by @dependabot[bot] in #3669
  • (auto merged) chore(deps): bump uuid from 1.26.0 to 1.26.1 in the patch group by @dependabot[bot] in #3728
  • (auto merged) chore(deps): bump rand from 0.10.2 to 0.10.3 in the patch group by @dependabot[bot] in #3748
  • (auto merged) chore(deps): bump thiserror from 2.0.20 to 2.0.21 in the patch group by @dependabot[bot] in #3759
  • (auto merged) chore(deps): bump xxhash-rust from 0.8.15 to 0.8.19 by @dependabot[bot] in #3788
  • (auto merged) chore(deps): bump libc from 0.2.189 to 0.2.190 in the patch group by @dependabot[bot] in #3800
  • chore(deps): bump uuid from 1.26.1 to 1.27.0 by @dependabot[bot] in #3801
  • (auto merged) chore(deps): bump tokio from 1.53.1 to 1.53.2 in the patch group by @dependabot[bot] in #3802
  • chore(deps): bump uuid from 1.27.0 to 1.28.0 by @dependabot[bot] in #3821
  • chore(deps): bump serde_json from 1.0.151 to 1.0.154 in the patch group across 1 directory by @dependabot[bot] in #3820
  • (auto merged) chore(deps): bump tokio from 1.53.2 to 1.53.3 in the patch group by @dependabot[bot] in #3835
  • (auto merged) chore(deps): bump libc from 0.2.190 to 0.2.191 in the patch group by @dependabot[bot] in #3840
  • chore(deps): bump tokio from 1.53.3 to 1.54.1 by @dependabot[bot] in #3855
  • chore(deps): bump uuid from 1.28.0 to 1.29.0 by @dependabot[bot] in #3858
  • chore(deps): bump wasmer-wasix from 0.701.0 to 0.702.1 by @dependabot[bot] in #3857
  • chore(deps): bump wasmtime-wasi from 48.0.7 to 50.0.1 in the wasmtime group across 1 directory by @dependabot[bot] in #3856
  • chore(deps): bump netlink-packet-route from 0.33.0 to 0.34.0 in the netlink group by @dependabot[bot] in #3877
  • (auto merged) chore(deps): bump the patch group with 2 updates by @dependabot[bot] in #3879
  • (auto merged) chore(deps): bump fixedbitset from 0.5.7 to 0.5.9 in the patch group by @dependabot[bot] in #3884
  • (auto merged) chore(deps): bump errno from 0.3.14 to 0.3.15 in the patch group by @dependabot[bot] in #3893
  • (auto merged) chore(deps): bump the patch group with 2 updates by @dependabot[bot] in #3895
  • (auto merged) chore(deps): bump rand from 0.10.3 to 0.10.4 in the patch group by @dependabot[bot] in #3899
  • (auto merged) chore(deps): bump wasmtime-wasi from 50.0.1 to 50.0.2 in the wasmtime group by @dependabot[bot] in #3900
  • (auto merged) chore(deps): bump the patch group with 2 updates by @dependabot[bot] in #3925
  • (auto merged) chore(deps): bump wasmtime-wasi from 50.0.2 to 50.0.3 in the wasmtime group by @dependabot[bot] in #3924
  • Release for v0.8.0 by @github-actions[bot] in #3666

New Contributors

Full Changelog: v0.7.0...v0.8.0