diff options
Diffstat (limited to '')
-rw-r--r-- | tags/i/init.d-script-missing-dependency-on-local_fs.tag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tags/i/init.d-script-missing-dependency-on-local_fs.tag b/tags/i/init.d-script-missing-dependency-on-local_fs.tag new file mode 100644 index 0000000..eb3c34b --- /dev/null +++ b/tags/i/init.d-script-missing-dependency-on-local_fs.tag @@ -0,0 +1,12 @@ +Tag: init.d-script-missing-dependency-on-local_fs +Severity: error +Check: init-d +Explanation: The given init script seems to refer to <code>/var</code>, possibly + using a file from there. Without a dependency on <code>$local_fs</code> in + Required-Start or Required-Stop, as appropriate, the init script might be + run before <code>/var</code> is mounted or after it's unmounted. + . + Using Should-Start or Should-Stop to declare the dependency is + conceptually incorrect since the $local_fs facility is always + available. Required-Start or Required-Stop should be used instead. +See-Also: https://wiki.debian.org/LSBInitScripts |