]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: introduce varlink `io.systemd.Job` interface (#42104)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 20 May 2026 08:22:18 +0000 (17:22 +0900)
committerGitHub <noreply@github.com>
Wed, 20 May 2026 08:22:18 +0000 (17:22 +0900)
Methods:

- `io.systemd.Job.List` — list all queued jobs or look up by `id`/`unit`
name, with streaming support. Uses context/runtime split: `JobContext`
(Unit, JobType) and `JobRuntime` (Id, State, Result,
ActivationDetails). Follows the same SELinux and parameter-conflict
patterns as `io.systemd.Unit.List`.
- `io.systemd.Job.Cancel` — cancel a specific job by ID, with SELinux
and polkit authorization.
- `io.systemd.Job.ClearAll` — cancel all pending jobs, with SELinux and
polkit authorization.

1  2 
src/core/meson.build
src/core/varlink-unit.c
src/core/varlink.c
src/libsystemd/sd-json/test-json.c

Simple merge
Simple merge
Simple merge
Simple merge