init.d-script-sourcing-without-test
The given /etc/init.d
script seems to be sourcing an
/etc/default/
file without checking for its existence first.
Files in /etc/default/
can be deleted by the administrator at
any time, and init scripts are required to handle the situation
gracefully. For example:
[ -r /etc/default/foo ] && . /etc/default/foo
For more information please consult:
- Writing the scripts (Section 9.3.2) in the Debian Policy Manual
The tag is present in Lintian version 2.114.163
.
That is the most recent version we know about.
We use semantic versions.
The patch number is a commit step indicator relative to the
2.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit 3410a22. For merge requests, please use the latest version in the Lintian check init-d.
Visibility: error