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
Severity: error
Experimental: false

See also