#1148119 ntpsec: Please ship a /usr/sbin/ntpsec --> /usr/sbin/ntpd symlink, useful for runit integration

Package:
ntpsec
Source:
ntpsec
Description:
Network Time Protocol daemon and utility programs
Submitter:
Lorenzo Puliti
Date:
2026-09-17 08:33:01 UTC
Severity:
normal
Tags:
#1148119#5
Date:
2026-09-17 08:17:12 UTC
From:
To:
Hi,

the runit integration for ntpsec (currently in runit-services package)
uses the path of the binary to be run by the script to trigger debhelper-like
heuristic (enable/disable the service and restart during upgrades).
So far /usr/sbin/ntpd was used for the ntpsec runscript: the problem with
/usr/sbin/ntpd is that is shipped also by openntpd, so when the openntpd package
is installed, both ntpsec and openntpd runscripts are enabled.
However the command line is not compatible[1], so using the ntpsec
runscript with openntpd or vice versa won't work.

[1] compare the two manpages
https://manpages.debian.org/unstable/openntpd/ntpd.8.en.html
https://manpages.debian.org/testing/ntpsec/ntpd.8.en.html

It would be very useful for the runit integration if your package could ship
a symlink to /usr/sbin/ntpd that is unique, so that the runit integration could use
that for its trigger; an obviuos choice would be /usr/sbin/ntpsec

patch:
adding the following link file to the debian directory in source
should do it

cat debian/ntpsec.links
--------------------------------
/usr/sbin/ntpd			/usr/sbin/ntpsec
/usr/share/man/man8/ntpd.8.gz	/usr/share/man/man8/ntpsec.8.gz
---------------------------------

Best Regards,
Lorenzo