]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: introduce io.systemd.Manager.Describe method (#35098)
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 May 2025 09:57:58 +0000 (11:57 +0200)
committerGitHub <noreply@github.com>
Tue, 13 May 2025 09:57:58 +0000 (11:57 +0200)
commite4e8946a16985ee045b20ab8a7db2ade778d3882
treea6b7dafb812f774c7f04e5fcac1905062563b3ed
parentf9d76a8d1596927b52eded4ce7e8bbf512aff551
parentf08c13466100e0dc70897d6e08fbc0f2005174f6
core: introduce io.systemd.Manager.Describe method (#35098)

Let's extend pid1's varlink interface and add a Describe method to get
the global Manager object information as a JSON object
(io.systemd.Manager.Describe).

Because the new varlink interface should be available on both the user
managers and the system manager, we also make the necessary changes to
expose a varlink server on user managers.

This PR is first part of https://github.com/systemd/systemd/pull/33965
with minimal changes to address feedback.

Fixes: #22654