From 50d25fb08bf3a83a0567a7ea4e4cae60f229ad76 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 16 Aug 2015 20:29:21 +0200 Subject: 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. --- 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 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) -- cgit v1.2.3-54-g00ecf