From: Lennart Poettering Date: Mon, 7 Jun 2010 02:15:37 +0000 (+0200) Subject: dbus: allow systemd to receive activation requests X-Git-Tag: v1~212 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af25ec12e3d39d65f77633182799f3da695f2868;p=systemd dbus: allow systemd to receive activation requests --- diff --git a/src/dbus.c b/src/dbus.c index 7e6d65e2..a14dbda9 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -397,6 +397,8 @@ static DBusHandlerResult api_bus_message_filter(DBusConnection *connection, DBu if (r < 0) { const char *id, *text; + log_warning("D-Bus activation failed for %s: %s", name, strerror(-r)); + if (!(reply = dbus_message_new_signal("/org/freedesktop/systemd1", "org.freedesktop.systemd1.Activator", "ActivationFailure"))) goto oom; diff --git a/src/org.freedesktop.systemd1.conf b/src/org.freedesktop.systemd1.conf index 377e001d..831df59d 100644 --- a/src/org.freedesktop.systemd1.conf +++ b/src/org.freedesktop.systemd1.conf @@ -16,8 +16,13 @@ + + + +