]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: add method to enqueue multiple jobs in a single call (#42182)
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 22 Jun 2026 20:35:17 +0000 (21:35 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2026 20:35:17 +0000 (21:35 +0100)
Currently only a single job for a single unit can be enqueued
atomically,
so there is no guarantee that, e.g., starting a unit and its socket
at the same time will happen in the same transaction. That forces
callers to 'know' the right order in which to start new units being
installed, or failures will occur. It also means some ordering
constraints are ignored, in case the separate calls are done
in the wrong manual order.

Add a new EnqueueUnitJobMany() D-Bus method that takes a list of units
to start.

1  2 
man/systemctl.xml
src/core/manager.c
src/core/manager.h

Simple merge
Simple merge
Simple merge