summaryrefslogtreecommitdiffstats
path: root/tags/i/init.d-script-should-always-start-service.tag
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /tags/i/init.d-script-should-always-start-service.tag
parentInitial commit. (diff)
downloadlintian-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 'tags/i/init.d-script-should-always-start-service.tag')
-rw-r--r--tags/i/init.d-script-should-always-start-service.tag19
1 files changed, 19 insertions, 0 deletions
diff --git a/tags/i/init.d-script-should-always-start-service.tag b/tags/i/init.d-script-should-always-start-service.tag
new file mode 100644
index 0000000..c26c24a
--- /dev/null
+++ b/tags/i/init.d-script-should-always-start-service.tag
@@ -0,0 +1,19 @@
+Tag: init.d-script-should-always-start-service
+Severity: error
+Check: init-d
+Explanation: The specified file under <code>/etc/default/</code> includes a line
+ such as <code>ENABLED=</code>, <code>DISABLED=</code>, <code>RUN=</code>, etc.
+ .
+ This is an older practice used so that the package's init script would
+ not start the service until the local system administrator changed this
+ value.
+ .
+ However, this hides from the underlying init system whether or not the
+ daemon should actually be started leading to confusing behavior
+ including <code>service package start</code> returning success without the
+ service actually starting.
+ .
+ Please remove this mechanism and disable enabling the daemon on install
+ via <code>dh&lowbar;installinit --no-enable</code> or move to automatically
+ starting it.
+See-Also: debian-policy 9.3.3.1, update-rc.d(8), dh_installinit(1)