summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-22 15:37:34 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-22 15:37:34 +0200
commitd4e9e574ea0b5d23598a317e68399584d229568b (patch)
tree1c1bffeae5e358d02d95be07776cf020e7f3569b /src/network
parentresolve: enable DynamicUser= for systemd-resolved.service (diff)
downloadsystemd-d4e9e574ea0b5d23598a317e68399584d229568b.tar.xz
systemd-d4e9e574ea0b5d23598a317e68399584d229568b.zip
network: set DynamicUser= to systemd-networkd.service
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index 34c496f552..f02b13e28b 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -155,7 +155,7 @@ int manager_connect_bus(Manager *m) {
if (r < 0)
return log_error_errno(r, "Failed to add network enumerator: %m");
- r = sd_bus_request_name_async(m->bus, NULL, "org.freedesktop.network1", 0, NULL, NULL);
+ r = bus_request_name_async_may_reload_dbus(m->bus, NULL, "org.freedesktop.network1", 0, NULL);
if (r < 0)
return log_error_errno(r, "Failed to request name: %m");