NetworkManager/src/core/dns
Beniamino Galvani e5868f21ec dns: detect more quickly when systemd-resolved can't be D-Bus activated
Pass a callback and a 4-second timeout to the "StartServiceByName()"
D-Bus call, so that we can detect any failure immediately.

In this way when systemd-resolved fails to start at boot (for example
because it's masked), nm-online doesn't need to wait those additional
4 seconds due to the fixed timeout source.

Fixes-test: @nm_online_wait_for_delayed_device

https://bugzilla.redhat.com/show_bug.cgi?id=2083332
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1233
2022-05-25 16:03:12 +02:00
..
nm-dns-dnsmasq.c dns/dnsmasq: implement update-pending flag in NMDnsDnsmasq plugin 2022-04-15 09:04:30 +02:00
nm-dns-dnsmasq.h dns: add function to retrieve the systemd-resolved plugin instance 2021-06-11 21:59:11 +02:00
nm-dns-manager.c all: use nm_hostname_is_valid() instead of systemd code 2022-04-20 12:07:04 +02:00
nm-dns-manager.h dns: add update-pending property to NMDnsManager 2022-04-15 09:04:29 +02:00
nm-dns-plugin.c dns: add "update-pending" state to NMDnsPlugin 2022-04-15 09:04:29 +02:00
nm-dns-plugin.h dns: add "update-pending" state to NMDnsPlugin 2022-04-15 09:04:29 +02:00
nm-dns-systemd-resolved.c dns: detect more quickly when systemd-resolved can't be D-Bus activated 2022-05-25 16:03:12 +02:00
nm-dns-systemd-resolved.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00