summaryrefslogtreecommitdiffstats
path: root/tags/i/init.d-script-missing-dependency-on-local_fs.tag
blob: eb3c34b9af31a463ae31a11687232abf0b0ce096 (plain)
1
2
3
4
5
6
7
8
9
10
11
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&lowbar;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&lowbar;fs facility is always
 available. Required-Start or Required-Stop should be used instead.
See-Also: https://wiki.debian.org/LSBInitScripts