Bug#545174: insserv: Please add simple "if" conditionals to disable scripts
Dmitry Bogatov
KAction at debian.org
Mon Jul 15 15:45:47 BST 2019
control: close -1
control: tags -1 +wontfix
Sorry for late response.
[2009-09-05 06:46] Josh Triplett <josh at joshtriplett.org>
> Package: insserv
> Version: 1.12.0-10
> Severity: wishlist
>
> Some scripts only need to run if some other subsystem does not. For
> example, hwclock and hwclockfirst should only run if udev does not.
> Currently, they must do so by always running, and checking the condition
> they need. However, the condition only changes when the set of init
> scripts changes; thus, ideally the script could just have no start/stop
> links when it need not run. I'd propose something like this:
>
> X-Ignore-If: udev
Please do not, keep it simple.
Checking this condition /inside/ initscript has neglectable cost (like
several /bin/sh processes) and gives you flexibility to check for
conditions of arbitrary complexity.
Closing. You still can try to convince upstream maintainer.
--
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.
More information about the Debian-init-diversity
mailing list