You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(cron): support older systemd transient scopes - #103930
Duplicate of #102508 — same mechanism: re-run the systemd-run --user --scope probe without OOMPolicy=kill when systemd rejects it, then reuse the negotiated property set for real cron worker spawns. #102508 also keys each probe attempt to a distinct unit name and avoids negotiating on a missing user bus. Alternate approaches for the same bug (#102486/#103693): #102357 (drop the property), #103768 (version-gate). Maintainers should pick one.
Thanks @paconejo2026 — the live E2E showing a hermes-worker-cron-…-exec-….scope with a real MemoryMax after negotiation is good evidence that dropping OOMPolicy loses nothing in isolation.
Closing in favour of #102357 (@gkd2323c, earliest for #102486). The cluster has converged on removing OOMPolicy=kill from the scope argv outright: field reports across systemd 239/245/249 show transient scopes reject it on every version users actually run, so the probe-then-retry-without-it negotiation in this PR (and in #102508 / #102655 / #103768) is machinery to discover an answer that is already known. Once the property is gone there is nothing left to negotiate. Same file and functions, so only one of these can be salvaged; #102357 is the minimal one. Will reopen if #102357 does not land.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend/localLocal shell executioncomp/cronCron scheduler and job managementcomp/toolsTool registry, model_tools, toolsetsduplicateThis issue or pull request already existsP1High — major feature broken, no workaroundsweeper:risk-compatibilitySweeper risk: may break existing users, config, migrations, defaults, or upgradestype/bugSomething isn't working
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
systemd-run --user --scopeprobe withoutOOMPolicywhen older systemd rejects that propertyMemoryAccountingand finiteMemoryMaxisolation intactVerification
scripts/run_tests.sh tests/cron/hermes-worker-cron-71f757b3ee75-exec-a85e8224ea904da9b56695117ee9719b.scopewithMemoryMax=4061308928