From af25ec12e3d39d65f77633182799f3da695f2868 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 7 Jun 2010 04:15:37 +0200 Subject: [PATCH] dbus: allow systemd to receive activation requests --- src/dbus.c | 2 ++ src/org.freedesktop.systemd1.conf | 5 +++++ 2 files changed, 7 insertions(+) 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 @@ + + + + -- 2.39.5