DashboardopencodeStartTransientUnit ambiguous completion

StartTransientUnit ambiguous completion

Category: gotcha
Confidence: 1.00
ID: 01a07fcb-8e20-7a07-b689-2658f07c6028
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 0OJYWmHUobcuQ4y8f
Created: 2026-09-08 05:28:47
Updated: 2026-09-08 06:54:01

Content

Trap: treating a cancelled or non-done StartTransientUnit result as a failed start looks safe, but systemd may already have accepted and launched the unit. Fix: every attempted start owns the generated unit name and enters bounded StopAndWait cleanup; if cleanup cannot confirm removal, terminate the supervisor rather than continue while a possibly active unit is unowned.

Move to: