summaryrefslogtreecommitdiffstats
path: root/src/resolve
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-19 18:18:21 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-22 15:32:25 +0200
commit0187368cadea183e18c6d575a9d6b7f491a402af (patch)
tree6491f530693650c44a45b757f43efbb7a04e836a /src/resolve
parentcore: chown RuntimeDirectory= if DynamicUser= is set (diff)
downloadsystemd-0187368cadea183e18c6d575a9d6b7f491a402af.tar.xz
systemd-0187368cadea183e18c6d575a9d6b7f491a402af.zip
resolve: enable DynamicUser= for systemd-resolved.service
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c
index 0060a1caba..b98f862be0 100644
--- a/src/resolve/resolved-bus.c
+++ b/src/resolve/resolved-bus.c
@@ -1918,7 +1918,7 @@ int manager_connect_bus(Manager *m) {
if (r < 0)
return log_error_errno(r, "Failed to register dnssd enumerator: %m");
- r = sd_bus_request_name_async(m->bus, NULL, "org.freedesktop.resolve1", 0, NULL, NULL);
+ r = bus_request_name_async_may_reload_dbus(m->bus, NULL, "org.freedesktop.resolve1", 0, NULL);
if (r < 0)
return log_error_errno(r, "Failed to request name: %m");