diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /tags/i/init.d-script-sourcing-without-test.tag | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tags/i/init.d-script-sourcing-without-test.tag | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tags/i/init.d-script-sourcing-without-test.tag b/tags/i/init.d-script-sourcing-without-test.tag new file mode 100644 index 0000000..8998372 --- /dev/null +++ b/tags/i/init.d-script-sourcing-without-test.tag @@ -0,0 +1,11 @@ +Tag: init.d-script-sourcing-without-test +Severity: error +Check: init-d +Explanation: The given <code>/etc/init.d</code> script seems to be sourcing an + <code>/etc/default/</code> file without checking for its existence first. + Files in <code>/etc/default/</code> 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 +See-Also: debian-policy 9.3.2 |