podman e2e: delegate cgroup v2 controllers in the sibling; clear 424 when a node lacks one #62

Closed
CanuteTheGreat wants to merge 4 commits from prefer-podman-oci-v5 into main
Owner
No description provided.
- ContainerRuntime::default() and default_oci_runtime(): Podman first
  (choose_oci_runtime: podman if installed, docker only when podman is absent
  and docker present; HORCRUX_OCI_RUNTIME overrides); stack rows default to podman
- API default features, UI forms/pages, CLI default: podman first, docker second
- metrics: engine API via Podman's compat socket when present; libpod cgroup scans;
  podman-first container discovery
- packaging: USE=+podman, sets/ISO package list, OpenRC (podman, podman-restart) and
  systemd (podman.socket/service, podman-restart) ordering for guests/api
- tests: unit test for the preference order; integration container/stack suites
  parametrized (HORCRUX_TEST_OCI); new 'Podman e2e' CI step runs them against real
  Podman in a docker-less privileged sibling and asserts the default runtime
podman e2e: delegate cgroup v2 controllers in the sibling; clear 424 when a node lacks one
All checks were successful
coverage-check / coverage (push) Successful in 8s
CI / Mobile theme (light/dark) (pull_request) Successful in 10s
CI / Overlay Manifests (pull_request) Successful in 9s
CI / Plan (what needs to run) (pull_request) Successful in 11s
CI / public-leak-guard (pull_request) Successful in 12s
CI / UX QA (static checkers) (pull_request) Successful in 9s
CI / Web UI theme (light/dark) (pull_request) Successful in 7s
coverage-check / coverage (pull_request) Successful in 1m4s
CI / Check (pull_request) Successful in 2m16s
CI / Security Audit (pull_request) Successful in 3m37s
CI / Build Web UI (pull_request) Successful in 2m57s
CI / USE-flag feature builds (pull_request) Successful in 12m53s
CI / UI E2E (browser) (pull_request) Successful in 17m45s
CI / Test (pull_request) Successful in 45m21s
CI / Gentoo Docker Build (pull_request) Successful in 45m31s
CI / Build (pull_request) Successful in 7m7s
CI / Build-1 (pull_request) Successful in 9m4s
CI / Gentoo USE-flag matrix (ebuild install) (pull_request) Successful in 52m55s
ee4ee48c53
The privileged podman sibling kept its processes in its cgroup namespace
root, so memory/io could not be enabled for child cgroups and crun failed
every limited container (memory.max: No such file or directory). Move them
into a leaf /init and enable memory, pids, cpu and io before podman first
runs (as docker:dind does), and print what got delegated.

A real node with the same gap now gets a 424 cgroup-controller-missing
that names the controller and the fix, instead of a raw crun/runc error;
the requested limit is never dropped.

The stack networking test checks service reachability over TCP: Podman
drops CAP_NET_RAW by default, so busybox ping is refused there.
CanuteTheGreat closed this pull request 2026-11-15 05:03:04 -08:00
All checks were successful
coverage-check / coverage (push) Successful in 8s
CI / Mobile theme (light/dark) (pull_request) Successful in 10s
CI / Overlay Manifests (pull_request) Successful in 9s
CI / Plan (what needs to run) (pull_request) Successful in 11s
CI / public-leak-guard (pull_request) Successful in 12s
CI / UX QA (static checkers) (pull_request) Successful in 9s
CI / Web UI theme (light/dark) (pull_request) Successful in 7s
coverage-check / coverage (pull_request) Successful in 1m4s
CI / Check (pull_request) Successful in 2m16s
CI / Security Audit (pull_request) Successful in 3m37s
CI / Build Web UI (pull_request) Successful in 2m57s
CI / USE-flag feature builds (pull_request) Successful in 12m53s
CI / UI E2E (browser) (pull_request) Successful in 17m45s
CI / Test (pull_request) Successful in 45m21s
CI / Gentoo Docker Build (pull_request) Successful in 45m31s
CI / Build (pull_request) Successful in 7m7s
CI / Build-1 (pull_request) Successful in 9m4s
CI / Gentoo USE-flag matrix (ebuild install) (pull_request) Successful in 52m55s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
CanuteTheGreat/horcrux!62
No description provided.