diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-19 18:18:21 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-22 15:32:25 +0200 |
commit | 0187368cadea183e18c6d575a9d6b7f491a402af (patch) | |
tree | 6491f530693650c44a45b757f43efbb7a04e836a /src/resolve | |
parent | core: chown RuntimeDirectory= if DynamicUser= is set (diff) | |
download | systemd-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.c | 2 |
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"); |