From: Daan De Meyer Date: Thu, 19 Aug 2021 14:09:44 +0000 (+0100) Subject: sd-bus: Improve (sd-buscntr) error logging X-Git-Tag: v250-rc1~802^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20486%2Fhead;p=thirdparty%2Fsystemd.git sd-bus: Improve (sd-buscntr) error logging We're only doing one thing in the child process which is connecting to the D-Bus socket so let's mention that in the error message when something goes wrong instead of having a generic error message. --- diff --git a/src/libsystemd/sd-bus/bus-container.c b/src/libsystemd/sd-bus/bus-container.c index 17bbca7deb3..b3c0279c0bd 100644 --- a/src/libsystemd/sd-bus/bus-container.c +++ b/src/libsystemd/sd-bus/bus-container.c @@ -94,7 +94,7 @@ int bus_container_connect_socket(sd_bus *b) { return 1; if (error_buf > 0) - return log_debug_errno(error_buf, "Got error from (sd-buscntr): %m"); + return log_debug_errno(error_buf, "(sd-buscntr) failed to connect to D-Bus socket: %m"); } if (nonzero_exit_status)