diff options
author | Thomas Haller <thaller@redhat.com> | 2019-05-05 09:29:43 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-05-12 09:56:36 +0200 |
commit | a381b3999efa86443fb150a12d74176fb07a27f6 (patch) | |
tree | 822f7a4f010668eea1591490b0f67a672ef71864 /shared/meson.build | |
parent | 40fb6652a2b76f1eef45e4b9dcfd963062dd0863 (diff) | |
download | NetworkManager-a381b3999efa86443fb150a12d74176fb07a27f6.tar.gz |
core/dbus: aquire D-Bus name earlier before initializing NMPlatform/NMNetns singletons
Aquiring the bus early tells systemd that NetworkManager is started.
Do that even before setting up/creating the singletons for NMPlatform
and NMNetns.
This is a trick so that NetworkManager is considered earlier to be started.
But it's right, because we can and should create the D-Bus socket as early as
possible to let other services (that order After=network.target) can already
start too.
Of course, NetworkManager is not yet fully running and it will take a
while longer until it actually replies on D-Bus. But the requests are
not lost and services that talk to NetworkManager that early can in the
meantime to other startup actions.
Diffstat (limited to 'shared/meson.build')
0 files changed, 0 insertions, 0 deletions