Dashboardopencodesystemd Unit/Service property split

systemd Unit/Service property split

Category: gotcha
Confidence: 1.00
ID: 01a0802b-e7e0-7367-abbd-67c2bd995276
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 08:39:16

Content

Trap: querying all client-authentication properties through org.freedesktop.systemd1.Unit looks natural and synthetic property-map tests pass, but systemd 255 exposes MainPID and ControlGroup through Service; real clients then fail closed. Fix: read ActiveState, SubState, and InvocationID from Unit, and MainPID plus ControlGroup from Service; verify against real systemd D-Bus.

Move to: