]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/bus-util.c
networkd,resolved: make use of watch_bind feature to connect to the bus
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Dec 2017 14:54:30 +0000 (15:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:58:32 +0000 (13:58 +0100)
commitd7afd945b5aad5b262a3de97614f486d63d94612
tree43ffeba1b997d2b9e99dab4b5ece7b9ae5b54ce2
parentb38cc8d5631253738d5474f39b2026eb5524f772
networkd,resolved: make use of watch_bind feature to connect to the bus

The changes both networkd and resolved to make use of the watch_bind
feature of sd-bus to connect to the system bus. This way, both daemons
can be started during early boot, and automatically and instantly
connect to the system bus as it becomes available.

This replaces prior code that used a time-based retry logic to connect
to the bus.
src/network/networkd-manager.c
src/network/networkd-manager.h
src/resolve/resolved-bus.c
src/shared/bus-util.c
src/shared/bus-util.h
src/systemd/sd-bus.h