mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
Currently, if systemd-networkd-wait-online is started with --dns, and systemd-resolved is not running, it will exit with an error right away. Similarly, if systemd-resolved is restarted while waiting for DNS configuration, systemd-networkd-wait-online will not attempt to re-connect, and will potentially never see subsequent DNS configurations. Improve this by adding socket units for the systemd-resolved varlink servers, and re-establish the connection in systemd-networkd-wait-online when we receive `SD_VARLINK_ERROR_DISCONNECTED`.