From: Lennart Poettering Date: Wed, 7 Feb 2018 21:30:17 +0000 (+0100) Subject: core: set a description on private bus connections X-Git-Tag: v238~101^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=030fa56c6eb1d9bd4c12ba4604934c592dcf180e;p=thirdparty%2Fsystemd.git core: set a description on private bus connections Let's make things easier to debug --- 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");