Lintian ReportsBETA

Einit.d-script-sourcing-without-test

Tag versions

The tag is present in Lintian version 2.104.234. That is the most recent version we know about.

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

Refer to Debian Policy Manual section 9.3.2 for details.

Visibility: error

Check: init-d

The following 5 source packages in the archive triggered the tag 13 times.

We found 2 overrides. The tag performed 85% of the time.