]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: document allocateUnit limitation on D-Bus fallback path
authorChristian Brauner <brauner@kernel.org>
Mon, 6 Apr 2026 18:27:09 +0000 (20:27 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Apr 2026 19:42:15 +0000 (21:42 +0200)
commit6b3b9b1abda8d44a7d4cbef442a37cbd4be7415e
tree99f33dc6f5fa89650e4a611e0d66da9abde470c4
parent2b77bbeb2053a0c38b0d4e10e1bc2f382243cd8c
shared: document allocateUnit limitation on D-Bus fallback path

The D-Bus registration methods (RegisterMachineEx, RegisterMachineWithNetwork)
do not support the allocateUnit feature that the varlink path provides.
When varlink is unavailable and registration falls back to D-Bus, machined
discovers the caller's existing cgroup unit instead of creating a dedicated
scope. Callers that skip client-side scope allocation (relying on the
server to do it via allocateUnit) will end up without a dedicated scope
on the D-Bus fallback path.

Document this limitation at the fallback site so callers are aware.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
src/shared/machine-register.c