Lintian ReportsBETA

Tag versions

Einit.d-script-sourcing-without-test

The tag is present in Lintian version 2.113.26. 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.113.0 release tag in our Git repository.

You can find the detection logic for this version at commit 43a81d7. For merge requests, please use the latest version in the Lintian check init-d.

Visibility: error

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 following 4 source packages in the archive triggered the tag 12 times (in any Lintian version).

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