Bug#680293: update-rc.d manual: `update-rc.d remove name` works when `/etc/init.d/name` exists

Richard Laager rlaager at wiktel.com
Fri Jan 11 15:14:04 GMT 2019


On 1/11/19 6:37 AM, Dmitry Bogatov wrote:
> [2018-07-19 23:47] Richard Laager <rlaager at wiktel.com>
>> My current intention is to rename the service from ntp.service to
>> ntpsec.service. Accordingly, I'm undoing my severity change here.
> 
> For what it worth, you may be interested virtual facilities
> (/etc/insserv.conf). We could introduce new virtual dependency $ntp,
> provided by either ntp or ntpsec package.

Thanks for the reference.

My initial desire to use "ntp" as the service name was for
backwards-compatibility with system administrators, not other services'
dependencies, so a virtual dependency wouldn't matter.

Somewhat related, there is an existing $time virtual service:
https://wiki.debian.org/LSBInitScripts

Note that ntpsec (like ntp) is not providing a $time implementation. The
$time service should depend on an ntpwait service, not simply ntpd,
because $time is defined as when the clock is _set_.

If you wish to discuss that further, we should move off this bug, either
to private email or to a new bug on ntpsec.

-- 
Richard



More information about the Pkg-systemd-maintainers mailing list