diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-07-09 11:37:26 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-07-09 11:47:43 +0200 |
commit | fbbf7a90ccf353e21f066fc90ab6fa18e3aa7ba3 (patch) | |
tree | 5def5caa8dff41e6f79cd1049866aae749a98767 /src | |
parent | b9fd7bb60a81849989c2102e46ee97e79b899328 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve-host/resolve-host.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |