I forwarded your bug upstream:
https://gitlab.com/NTPsec/ntpsec/issues/577

Getting back to the network-online thing for a bit...

You tried adding network-online.target as a dependency of
ntpsec.service, for example, by something like this (as root)?

mkdir -p /etc/systemd/systemd/ntpsec.service.d
cat > /etc/systemd/systemd/ntpsec.service.d/network.conf << EOF
After=network-online.target
Wants=network-online.target
EOF

How are you configuring your network (NetworkManager, systemd-networkd,
or ifupdown), and what do these return?

systemctl is-enabled NetworkManager-wait-online.service
systemctl is-enabled systemd-networkd-wait-online.service
systemctl is-enabled ifupdown-wait-online.service

If the right one is not enabled, what happens if you try enabling it?
Does that (plus the drop-in above to add the network-online dependency)
cause ntpd to wait until the network is actually up?

-- 
Richard

Reply via email to