init parity phase 1: InitBackend (OpenRC+systemd), systemd as-shipped CI, audit doc #13

Closed
CanuteTheGreat wants to merge 0 commits from feat/init-parity-phase1 into main
Owner

See docs/design/init-parity.md

See docs/design/init-parity.md
init parity phase 1: InitBackend (OpenRC/systemd), call-site migration, systemd as-shipped CI
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 10s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 1m25s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m24s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m57s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 4m28s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 7m41s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 21m6s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Failing after 23m16s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 34m58s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 45m2s
Rust CI / Gentoo Docker Build (pull_request) Failing after 30m33s
6dd50f626c
- patronus-core::service: InitBackend trait with systemd/OpenRC/SysV backends,
  runtime detection via /run/systemd/system, Runner seam, native_name table,
  15 unit tests asserting both backends' command lines
- haproxy, snmp, l2tp, monitoring status/alerts, seg_dns, lan, supervise,
  web system: all service control through ServiceManager (was systemctl-only)
- applyd restarting itself no longer answers 500 (queued restart)
- ci/check-init-parity.sh (initd/unit pairs, ebuild symmetry, no direct init calls)
- ci/container-as-shipped-systemd.sh (systemd as PID 1 in the shipped image)
- docs/design/init-parity.md: gap table, embedded-tier verdict, plan
applyd self-restart: reply first, restart 800ms later (--no-block alone still killed the broker before it answered)
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 6s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m37s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 57s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m41s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 4m43s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 14m51s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 2m54s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 20m33s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 35m4s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 35m19s
Rust CI / Gentoo Docker Build (pull_request) Failing after 29m39s
a539458954
Dockerfile: build the commit under test (EGIT_OVERRIDE_REPO_PATRONUS never matched, so Gentoo Docker Build compiled main, not the PR)
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 8s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 1m1s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m48s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m1s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m57s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 7m11s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 22m22s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 29m34s
Rust CI / Gentoo Docker Build (pull_request) Failing after 2m9s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 34m15s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 37m9s
556445f6b0
Dockerfile: name the branch as well as the commit (git-r3 fetches only HEAD otherwise)
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 52s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m31s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m8s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 6m50s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 13m42s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m19s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 32m40s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 23m19s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 41m18s
Rust CI / Gentoo Docker Build (pull_request) Successful in 25m6s
b3dfea87cc
CanuteTheGreat force-pushed feat/init-parity-phase1 from b3dfea87cc
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 52s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m31s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m8s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 6m50s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 13m42s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m19s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 32m40s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 23m19s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 41m18s
Rust CI / Gentoo Docker Build (pull_request) Successful in 25m6s
to 9ff1a6edaa
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 6s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 1m53s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m37s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Has been cancelled
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Has been cancelled
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Has been cancelled
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Has been cancelled
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Has been cancelled
Rust CI / Operator tests against a real k3s cluster (pull_request) Has been cancelled
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Has been cancelled
Rust CI / Gentoo Docker Build (pull_request) Has been cancelled
2026-11-13 15:40:59 -08:00
Compare
init parity phase 1: InitBackend (OpenRC/systemd), call-site migration, systemd as-shipped CI
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 10s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 1m25s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m24s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m57s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 4m28s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 7m41s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 21m6s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Failing after 23m16s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 34m58s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 45m2s
Rust CI / Gentoo Docker Build (pull_request) Failing after 30m33s
6dd50f626c
- patronus-core::service: InitBackend trait with systemd/OpenRC/SysV backends,
  runtime detection via /run/systemd/system, Runner seam, native_name table,
  15 unit tests asserting both backends' command lines
- haproxy, snmp, l2tp, monitoring status/alerts, seg_dns, lan, supervise,
  web system: all service control through ServiceManager (was systemctl-only)
- applyd restarting itself no longer answers 500 (queued restart)
- ci/check-init-parity.sh (initd/unit pairs, ebuild symmetry, no direct init calls)
- ci/container-as-shipped-systemd.sh (systemd as PID 1 in the shipped image)
- docs/design/init-parity.md: gap table, embedded-tier verdict, plan
applyd self-restart: reply first, restart 800ms later (--no-block alone still killed the broker before it answered)
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 6s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m37s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 57s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m41s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 4m43s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 14m51s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 2m54s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 20m33s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 35m4s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 35m19s
Rust CI / Gentoo Docker Build (pull_request) Failing after 29m39s
a539458954
Dockerfile: build the commit under test (EGIT_OVERRIDE_REPO_PATRONUS never matched, so Gentoo Docker Build compiled main, not the PR)
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 8s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 1m1s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m48s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m1s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m57s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 7m11s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 22m22s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 29m34s
Rust CI / Gentoo Docker Build (pull_request) Failing after 2m9s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 34m15s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 37m9s
556445f6b0
Dockerfile: name the branch as well as the commit (git-r3 fetches only HEAD otherwise)
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 52s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m31s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m8s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 6m50s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 13m42s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m19s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 32m40s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 23m19s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 41m18s
Rust CI / Gentoo Docker Build (pull_request) Successful in 25m6s
b3dfea87cc
Merge GitHub feat/init-parity-phase1 (b3dfea87): same 4 commits (identical patch-ids), rebased on main on the Forgejo side; unblocks ctg-ghsync
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 4s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m26s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 48s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m31s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 5m8s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m2s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 17m36s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 18m57s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 35m33s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 25m39s
Rust CI / Gentoo Docker Build (pull_request) Successful in 36m52s
c4331b9c24
CanuteTheGreat force-pushed feat/init-parity-phase1 from c4331b9c24
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 4s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m26s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 48s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 3m31s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 5m8s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m2s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 17m36s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 18m57s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 35m33s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 25m39s
Rust CI / Gentoo Docker Build (pull_request) Successful in 36m52s
to f8738fb2ed
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m30s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 55s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 6m21s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m6s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 7m55s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 14m53s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 25m33s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 24m1s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 30m29s
Rust CI / Gentoo Docker Build (pull_request) Successful in 31m21s
2026-11-13 16:45:04 -08:00
Compare
CanuteTheGreat force-pushed feat/init-parity-phase1 from f8738fb2ed
All checks were successful
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m30s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 55s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 6m21s
Rust CI / Operator tests against a real k3s cluster (pull_request) Successful in 1m6s
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 7m55s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 14m53s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 25m33s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 24m1s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 30m29s
Rust CI / Gentoo Docker Build (pull_request) Successful in 31m21s
to 30d27a49c8
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Operator tests against a real k3s cluster (pull_request) Has been skipped
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 1m36s
Deploy Patronus site / deploy-site (push) Successful in 31s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 50s
Rust CI / Plan (what needs to run) (push) Successful in 6s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m43s
Deploy Patronus site / purge-cloudflare (push) Successful in 4s
Deploy Patronus site / indexnow (push) Successful in 7s
Rust CI / Dashboard UI (type-check + production build) (push) Successful in 2m42s
Rust CI / Check full 46-crate workspace (best-effort) (push) Successful in 3m13s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (push) Successful in 3m51s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 12m11s
Rust CI / Feature matrix (all features + one build per USE flag) (push) Successful in 13m35s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 22m35s
Rust CI / Check eBPF crate (compile only, no run) (push) Successful in 52s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (push) Successful in 26m27s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 23m48s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 35m21s
Rust CI / Gentoo Docker Build (pull_request) Has been skipped
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 33m19s
Rust CI / Operator tests against a real k3s cluster (push) Successful in 5m8s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (push) Failing after 25m34s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (push) Successful in 23m12s
Rust CI / Gentoo Docker Build (push) Successful in 34m4s
Nightly Firewall / SD-WAN Live Traffic Test / Real nftables traffic test (allow/deny/CIDR edge case) (push) Successful in 2m27s
Nightly Firewall / SD-WAN Live Traffic Test / Real WireGuard SD-WAN tunnel test (encrypted overlay) (push) Successful in 2m48s
2026-11-13 17:46:19 -08:00
Compare
Author
Owner

Merged to main by fast-forward: 30d27a49 (CI run rust-ci #1065 on f8738fb2, 11/11 green; 30d27a49 = f8738fb2 rebased over one live-iso common sync commit, no other file differs). Branch deleted.

Merged to main by fast-forward: 30d27a49 (CI run rust-ci #1065 on f8738fb2, 11/11 green; 30d27a49 = f8738fb2 rebased over one live-iso common sync commit, no other file differs). Branch deleted.
CanuteTheGreat closed this pull request 2026-11-13 17:48:28 -08:00
Some checks failed
Rust CI / Plan (what needs to run) (pull_request) Successful in 5s
Rust CI / Operator tests against a real k3s cluster (pull_request) Has been skipped
Rust CI / Check full 46-crate workspace (best-effort) (pull_request) Successful in 1m36s
Deploy Patronus site / deploy-site (push) Successful in 31s
Rust CI / Check eBPF crate (compile only, no run) (pull_request) Successful in 50s
Rust CI / Plan (what needs to run) (push) Successful in 6s
Rust CI / Dashboard UI (type-check + production build) (pull_request) Successful in 2m43s
Deploy Patronus site / purge-cloudflare (push) Successful in 4s
Deploy Patronus site / indexnow (push) Successful in 7s
Rust CI / Dashboard UI (type-check + production build) (push) Successful in 2m42s
Rust CI / Check full 46-crate workspace (best-effort) (push) Successful in 3m13s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (push) Successful in 3m51s
Rust CI / Privileged netfilter + raw-socket tests (NET_ADMIN) (pull_request) Successful in 12m11s
Rust CI / Feature matrix (all features + one build per USE flag) (push) Successful in 13m35s
Rust CI / Feature matrix (all features + one build per USE flag) (pull_request) Successful in 22m35s
Rust CI / Check eBPF crate (compile only, no run) (push) Successful in 52s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (push) Successful in 26m27s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (pull_request) Successful in 23m48s
Rust CI / Format + Clippy + Security Audit + Test (non-eBPF crates) (pull_request) Successful in 35m21s
Rust CI / Gentoo Docker Build (pull_request) Has been skipped
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (pull_request) Successful in 33m19s
Rust CI / Operator tests against a real k3s cluster (push) Successful in 5m8s
Rust CI / Netlab (network namespaces) - journeys, failure/recovery, upgrade, LAN services (push) Failing after 25m34s
Rust CI / Netlab features (lane J feature pages + lane K SD-WAN edge) (push) Successful in 23m12s
Rust CI / Gentoo Docker Build (push) Successful in 34m4s
Nightly Firewall / SD-WAN Live Traffic Test / Real nftables traffic test (allow/deny/CIDR edge case) (push) Successful in 2m27s
Nightly Firewall / SD-WAN Live Traffic Test / Real WireGuard SD-WAN tunnel test (encrypted overlay) (push) Successful in 2m48s

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/patronus!13
No description provided.