This was the only test failure building systemd-252-51.el9 in a container, also previously reported against 252-rc1 under Gentoo in #25015 This is a forward-port of the patch we actually started using for CIQ's builds of the EL9-derived package, which was: ```diff --- systemd-252/src/test/test-cgroup.c 2022-10-31 18:59:18.000000000 +0000 +++ systemd-252-test/src/test/test-cgroup.c 2025-07-10 00:47:07.541000000 +0000 @@ -62,7 +62,7 @@ log_info("Paths for test:\n%s\n%s", test_a, test_b); r = cg_create(SYSTEMD_CGROUP_CONTROLLER, test_a); - if (IN_SET(r, -EPERM, -EACCES, -EROFS)) { + if (IN_SET(r, -EPERM, -EACCES, -EROFS, -ENOENT)) { log_info_errno(r, "Skipping %s: %m", __func__); return; } ``` I confirmed that the `ERRNO_IS_NEG_FS_WRITE_REFUSED` macro is equivalent to checking the first 3 error codes above, so the addition of the check for `ENOENT` is still just as relevant as it was in 252, but adding it into the macro would be inconsistent with its name, description, and possible other uses. Hence, in this PR I'm adding the extra check into the `if`.
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS
