Repository navigation
fix(tools): drop exec-level OOMPolicy from systemd scope argv - #104132
UltraInstinct0x wants to merge 1 commit into
Conversation
Scope units only accept cgroup resource properties. systemd 249 rejects OOMPolicy on scopes with Unknown assignment, which failed the availability probe and blocked every gateway child (kanban workers plus cron workers) with scope unavailable. Keep MemoryAccounting and MemoryMax. Update the spawn test contract and add a scope-validity invariant.
Duplicate of #102357 — same fix (drop |
|
Thanks @UltraInstinct0x — the kanban-worker angle ( This landed on |
What does this PR do?
Scope units only accept cgroup resource properties. _systemd_scope_argv added --property OOMPolicy=kill, which systemd 249 rejects on scopes with Unknown assignment (rc=1). That failed the availability probe in _systemd_run_user_scope_available, so restart_safe_gateway_child_argv failed closed and blocked every gateway child: kanban workers (spawn_failed x N, tasks going blocked) and cron workers (hundreds of failure streaks, silent automations). Removing the exec-level property restores probe rc=0 while keeping MemoryAccounting and MemoryMax isolation.
Related Issue
No issue filed. Happy to link one if maintainers prefer an issue first.
Type of Change
Changes Made
How to Test