summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-05-23 21:10:39 +0200
committerGitHub <noreply@github.com>2018-05-23 21:10:39 +0200
commit2ad98f977f4c9f3b7fb474299b220ffc1c0e3159 (patch)
treebd8f2cd8b2402839ed5de8992096ad8226e726b3 /src/network
parentinstall: "user" and "global" scopes are equivalent for user presets (diff)
parentnetwork: set DynamicUser= to systemd-networkd.service (diff)
downloadsystemd-2ad98f977f4c9f3b7fb474299b220ffc1c0e3159.tar.xz
systemd-2ad98f977f4c9f3b7fb474299b220ffc1c0e3159.zip
Merge pull request #9040 from yuwata/resolved-networkd-use-dynamic-user
Set DynamicUser= to resolved and networkd
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");