summaryrefslogtreecommitdiff
path: root/src/resolve-host
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-16 20:29:21 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-16 20:29:23 +0200
commit50d25fb08bf3a83a0567a7ea4e4cae60f229ad76 (patch)
treecf1c470ac0cc12a5d1f88dc5060c601e4c09da74 /src/resolve-host
parente6a26d8c972d45a0927ad0b7c654c830daa2243e (diff)
resolve-host: enable auto start of resolved
There's no reason to explicitly turn off bus activation for resolved here. The reason this was done before was that the code was copied from nss-resolve, which has a fallback to glibc's nss-dns if resolved is not reachable. However, such a logic makes no sense for resolve-host since such a fallback doesn't make sense here, which means we can actually turn on activation. Let's do it hence.
Diffstat (limited to 'src/resolve-host')
-rw-r--r--src/resolve-host/resolve-host.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/resolve-host/resolve-host.c b/src/resolve-host/resolve-host.c
index 0edba415b6..4d557bdf02 100644
--- a/src/resolve-host/resolve-host.c
+++ b/src/resolve-host/resolve-host.c
@@ -336,10 +336,6 @@ static int resolve_record(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);
-
assert((uint16_t) arg_type == arg_type);
r = sd_bus_message_append(req, "isqqt", arg_ifindex, name, arg_class, arg_type, arg_flags);
if (r < 0)