Bug#545174: insserv: Please add simple "if" conditionals to disable scripts

2019-07-19 Thread Josh Triplett
On Mon, Jul 15, 2019 at 02:45:47PM +, Dmitry Bogatov wrote: > Checking this condition /inside/ initscript has neglectable cost (like > several /bin/sh processes) "several /bin/sh processes" is not a negligible cost. However, I reported this bug ten years ago when I still ran sysvinit, and I

Bug#545174: insserv: Please add simple "if" conditionals to disable scripts

2019-07-15 Thread Thorsten Glaser
On Mon, 15 Jul 2019, Dmitry Bogatov wrote: > Checking this condition /inside/ initscript has neglectable cost (like > several /bin/sh processes) and gives you flexibility to check for > conditions of arbitrary complexity. And will work when running /etc/init.d/foo restart manually. bye,

Bug#545174: insserv: Please add simple "if" conditionals to disable scripts

2019-07-15 Thread Dmitry Bogatov
control: close -1 control: tags -1 +wontfix Sorry for late response. [2009-09-05 06:46] Josh Triplett > 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

Bug#545174: insserv: Please add simple if conditionals to disable scripts

2009-09-05 Thread Josh Triplett
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