Bug#617959: 'script-calls-init-script-directly' is bad advice
Hi,
I am considering to comply with Steve's request of removing
"script-calls-init-script-directly" from Lintian, so if you disagree,
please voice your concerns.
The tag itself references Policy Manual 9.3.3.2, which says:
"""
[...]. This program [invoke-rc.d] may be used by maintainers in their
packages' scripts.
The package maintainer scripts must use invoke-rc.d to invoke the
/etc/init.d/* initscripts, instead of calling them directly.
"""
Which I read as "maintainer scripts" must use it (and we have a separate
tag for that) and (all other) scripts "may" (as in: "are allowed to")
use "invoke-rc.d". I see no "should" or "recommended" for normal
scripts in packages.
(For reference) The tag description says:
"""
This script apparently runs an init script directly rather than using
invoke-rc.d. While use of invoke-rc.d is only required for maintainer
scripts, supporting the policy layer that it implements is a good idea
in any script.
"""
On lintian.d.o there are currently ~17 emitted tags (in 9 packages and
with one override).
~Niels
Reply to: