Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69187 - [ddclient] Use network-online.target in systemd unit
Attached to Project:
Community Packages
Opened by Sébastien Luttringer (seblu) - Sunday, 03 January 2021, 01:01 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 02:55 GMT
Opened by Sébastien Luttringer (seblu) - Sunday, 03 January 2021, 01:01 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 02:55 GMT
|
DetailsDescription:
Current systemd service is using After=network.target. ddclient is requiring an online network in order to contact the remote server. I suggest to replace After=network.target by: ``` Wants=network-online.target After=network-online.target ``` ddclient send emails like the following after each boot: ``` WARNING: cannot connect to api.ipify.org:80 socket: IO::Socket::INET: Bad hostname 'api.ipify.org' WARNING: found neither ipv4 nor ipv6 address ``` |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 21 April 2023, 02:55 GMT
Reason for closing: Upstream
Additional comments about closing: See comments
Friday, 21 April 2023, 02:55 GMT
Reason for closing: Upstream
Additional comments about closing: See comments
From https://jlk.fjfi.cvut.cz/arch/manpages/man/core/systemd/systemd.special.7.en#Special_Passive_System_Units :
"All services for which the availability of full host/network name resolution is essential should be ordered after this target, but not pull it in."
Wants=network-online.target
After=network-online.target nss-lookup.target
[1] https://github.com/ddclient/ddclient/commit/6312030c5796b36695c7481fcecc1a7420c30af3