[Pkg-sysvinit-devel] Bug#826215: Bug#826215: SysV init scripts using init-d-script have a hard dependency on sysvinit-utils

Petter Reinholdtsen pere at hungry.com
Fri Jun 3 21:54:02 UTC 2016


[Michael Biebl]
> Petter, do you have any preference regarding those two proposals or do
> you have another suggestion how we could address this?

I wrote
<URL: http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html >
to explain the background for the init-d-script setup.

The goal is to avoid code in the individual init.d scripts that is not
_required_ to get them working, to make it possible to fix bugs in many
scripts by modifying one file.  Moving code from init-d-script to the
individual init.d scripts thus seem like a step backwards.

What about moving the init-d-script file to the same package containing
/lib/init/vars.sh, which is needed by most init.d scripts and should be
available on all Debian installations?  It seem like a better idea to
me.  The init-d-script approach is used by several packages in Debian
already.

--
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list