From: David Herrmann Date: Thu, 9 Jul 2015 09:37:26 +0000 (+0200) Subject: resolve-host: enable dbus-activation X-Git-Tag: v223~107^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbbf7a90ccf353e21f066fc90ab6fa18e3aa7ba3;p=thirdparty%2Fsystemd.git resolve-host: enable dbus-activation Right now, systemd-resolve-host fails if resolved is not running. However, resolved supports bus-activation (at least on kdbus) just fine. Enable this so we can use resolve-host at all times. This was disabled right from the beginning, without any comment why. --- diff --git a/src/resolve-host/resolve-host.c b/src/resolve-host/resolve-host.c index f9448e3bc5f..0edba415b60 100644 --- a/src/resolve-host/resolve-host.c +++ b/src/resolve-host/resolve-host.c @@ -89,10 +89,6 @@ static int resolve_host(sd_bus *bus, const char *name) { if (r < 0) return bus_log_create_error(r); - r = sd_bus_message_set_auto_start(req, false); - if (r < 0) - return bus_log_create_error(r); - r = sd_bus_message_append(req, "isit", arg_ifindex, name, arg_family, arg_flags); if (r < 0) return bus_log_create_error(r);