From 78fc943ca4e80320607e0bb4e18a268338f886b8 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sun, 6 Sep 2026 14:25:32 +0530 Subject: [PATCH] docs(process_registry): say in the argv helper why OOMPolicy is absent --- tools/process_registry.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/process_registry.py b/tools/process_registry.py index 474f97e39e..2df6fe1eba 100644 --- a/tools/process_registry.py +++ b/tools/process_registry.py @@ -126,7 +126,8 @@ def _worker_memory_max_bytes() -> int: def _systemd_scope_argv(binary: str, unit_name: str, *argv: str) -> List[str]: """``systemd-run --user --scope`` argv shared by the probe and real spawns. - ``--collect`` self-cleans the scope after exit; ``--unit`` names it for systemctl.""" + ``--collect`` self-cleans the scope after exit; ``--unit`` names it for systemctl. + No ``OOMPolicy=``: transient scopes reject it on systemd <253 (#102486).""" return [ binary, "--user", "--scope", "--quiet", "--unit", unit_name, "--collect", "--property", "MemoryAccounting=yes",