Skip to content

crates/sandbox2: do not configure cgroups without systemd - #106

Merged
twitchyliquid64 merged 1 commit into
mainfrom
tom/cgroups
Apr 7, 2026
Merged

twitchyliquid64 merged 1 commit into
mainfrom
tom/cgroups

Conversation

@twitchyliquid64

Copy link
Copy Markdown
Contributor

Systemd is not a given, but necessary for unpriv cgroups. Its best effort, so disable it if not available. Fixes:

2026-04-07T17:48:46.841195Z ERROR orchestrator: build { full: false, hash: "9a467b5ac7af0a1a0a156498c1954b962bb2b49e494d7c6cbbd8aa9576037060", spec: "sed" }
    construction failed: sandbox error: Invocation 0 failed with exit code 125:
    systemd error: dbus error: dbus bus address error: session bus address /run/user/1000/bus does not exist

@twitchyliquid64
twitchyliquid64 requested a review from msample April 7, 2026 17:58
@twitchyliquid64
twitchyliquid64 enabled auto-merge (rebase) April 7, 2026 17:59
@twitchyliquid64
twitchyliquid64 disabled auto-merge April 7, 2026 19:15

@msample msample left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - systemd - the single CGroups V2 writer to enforce consistency solution.

@twitchyliquid64
twitchyliquid64 merged commit 9342d1e into main Apr 7, 2026
6 checks passed
@twitchyliquid64
twitchyliquid64 deleted the tom/cgroups branch April 7, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants