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
Writing the scripts (Section 9.3.2) in the Debian Policy Manual
- list of all the affected packages
- the source of this tag