Lintian tag: init.d-script-sourcing-without-test

Type: error

Description (from lintian-explain-tags)

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

Please refer to Writing the scripts (Section 9.3.2) in the Debian Policy
Manual for details.

Visibility: error
Show-Always: no
Check: init-d

Affected packages

source version binary tag type tag information count
lpr 1:2008.05.17.3+nmu3 lpr/1:2008.05.17.3+nmu3 error init.d-script-sourcing-without-test /etc/default/lpd [etc/init.d/lpd:22] 9
tetrinetx 1.13.16-16 tetrinetx/1.13.16-16 error init.d-script-sourcing-without-test /etc/default/tetrinetx [etc/init.d/tetrinetx:27] 9