#1142402 ntpsec-ntpdate if-up.d script never runs since nm-dispatcher dropped ifupdown support on Trixie

Package:
ntpsec-ntpdate
Source:
ntpsec-ntpdate
Description:
client for setting system time from NTP servers
Submitter:
Kernc
Date:
2026-07-19 11:41:02 UTC
Severity:
normal
#1142402#5
Date:
2026-07-19 11:38:43 UTC
From:
To:
Dear Maintainer,

Since Debian Trixie, where the Debian-friendly package network-manager
dropped [1]
support for the 01-ifupdown script [2] that was last seen available in Bookworm,
the ntpsec-ntpdate (ntpdate-debian) command no longer runs upon
established connections,
thus never updating the system time unless run manually.

[1]: https://sources.debian.org/src/network-manager/1.52.1-1/debian/changelog#L303
[2]: https://sources.debian.org/src/network-manager/1.42.4-1%2Bdeb12u1/debian/01-ifupdown

As per the warmly changelog, it is advised to amend
/usr/lib/NetworkManager/dispatcher.d/ntpsec-ntpdate
so that it itself also invokes /etc/network/if-up.d/ntpsec-ntpdate.

Additionally, considering e.g. that systemd-timesyncd pools current time
(i.e. sends workstation "ping healthcheck" signal to all interested parties)
*every five minutes*, it might make sense to also install an hourly cron rule,
dependent upon a /etc/default setting.

Many thanks for maintaining this package!
Best,