From 030fa56c6eb1d9bd4c12ba4604934c592dcf180e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Feb 2018 22:30:17 +0100 Subject: [PATCH] core: set a description on private bus connections Let's make things easier to debug --- src/core/dbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/dbus.c b/src/core/dbus.c index 65079135df5..87739f1b74d 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -653,6 +653,8 @@ static int bus_on_connection(sd_event_source *s, int fd, uint32_t revents, void return 0; } + (void) sd_bus_set_description(bus, "private-bus-connection"); + r = sd_bus_set_fd(bus, nfd, nfd); if (r < 0) { log_warning_errno(r, "Failed to set fd on new connection bus: %m"); -- 2.47.3