Lintian ReportsBETA

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:

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

The following 4 source packages in the archive triggered the tag 4 times (in any Lintian version).

We found 1 overrides. The tag performed 75% of the time.