diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-11-25 14:32:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-11-25 18:18:42 +0100 |
commit | c42234abf2b47ae15ac728a15c21b1de3c852f77 (patch) | |
tree | d9f12b7a834e81e30079c09cd274d857c0680ba9 /src/home | |
parent | Merge pull request #21487 from DaanDeMeyer/dissect-image-other-arch (diff) | |
download | systemd-c42234abf2b47ae15ac728a15c21b1de3c852f77.tar.xz systemd-c42234abf2b47ae15ac728a15c21b1de3c852f77.zip |
homed: support LogControl1 D-Bus API too, and make use of it
All our D-Bus services support the LogControl1 API, but homed didn't so
far. Fix that, and make use of it in the test case, to make debugging it
easier.
Diffstat (limited to 'src/home')
-rw-r--r-- | src/home/homed-manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index 34bb4d84ba..a97a0dee76 100644 --- a/src/home/homed-manager.c +++ b/src/home/homed-manager.c @@ -947,6 +947,10 @@ static int manager_connect_bus(Manager *m) { if (r < 0) return r; + r = bus_log_control_api_register(m->bus); + if (r < 0) + return r; + suffix = getenv("SYSTEMD_HOME_DEBUG_SUFFIX"); if (suffix) busname = strjoina("org.freedesktop.home1.", suffix); |