From fbbf7a90ccf353e21f066fc90ab6fa18e3aa7ba3 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 9 Jul 2015 11:37:26 +0200 Subject: 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. --- src/resolve-host/resolve-host.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/resolve-host') diff --git a/src/resolve-host/resolve-host.c b/src/resolve-host/resolve-host.c index f9448e3bc5..0edba415b6 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); -- cgit v1.2.3-54-g00ecf