From: Yu Watanabe Date: Wed, 30 Apr 2025 16:55:04 +0000 (+0900) Subject: wait-online: handle varlink connection errors while waiting for DNS (#37283) X-Git-Tag: v258-rc1~709 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=366dd4a662dac18c1a5beabb8f0c4c576a378206;p=thirdparty%2Fsystemd.git wait-online: handle varlink connection errors while waiting for DNS (#37283) 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`. --- 366dd4a662dac18c1a5beabb8f0c4c576a378206