Package: ntpsec Version: 1.2.5+dfsg-1 Severity: wishlist Tags: patch X-Debbugs-Cc: [email protected]
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 -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.17.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: runit (via /run/runit.stopit) Versions of packages ntpsec depends on: ii libbsd0 0.12.2-3 ii libc6 2.43-4 ii libcap2 1:2.78-1+b1 ii libssl3t64 3.6.4-1 ii netbase 6.6 ii opensysusers [systemd-sysusers] 0.7.5-1 ii python3 3.14.7-3 pn python3-ntp <none> ii seedfiles [systemd-tmpfiles] 1.7.2-2 ii tzdata 2026c-1 Versions of packages ntpsec recommends: ii cron [cron-daemon] 3.0pl1-209 Versions of packages ntpsec suggests: pn apparmor <none> pn certbot <none> pn ntpsec-doc <none> pn ntpsec-ntpviz <none>

