]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve-host: enable dbus-activation 530/head
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 9 Jul 2015 09:37:26 +0000 (11:37 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 9 Jul 2015 09:47:43 +0000 (11:47 +0200)
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

index f9448e3bc5fe96c9113902064ebd9f34794ca56a..0edba415b60b39a9ab997fe04e3bc0e1fe280354 100644 (file)
@@ -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);