summaryrefslogtreecommitdiffstats
path: root/tags/m/maintainer-script-calls-service.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/m/maintainer-script-calls-service.tag')
-rw-r--r--tags/m/maintainer-script-calls-service.tag14
1 files changed, 14 insertions, 0 deletions
diff --git a/tags/m/maintainer-script-calls-service.tag b/tags/m/maintainer-script-calls-service.tag
new file mode 100644
index 0000000..77e7345
--- /dev/null
+++ b/tags/m/maintainer-script-calls-service.tag
@@ -0,0 +1,14 @@
+Tag: maintainer-script-calls-service
+Severity: error
+Check: scripts
+Experimental: yes
+Renamed-From: maintainer-script-should-not-use-service
+Explanation: The maintainer script apparently runs the service command. This
+ command is reserved for local administrators and must never be used
+ by a Debian package.
+ .
+ Please replace with calls to <code>update-rc.d(8)</code> and
+ <code>invoke-rc.d(8)</code>. If your package installs this service, this
+ can be automated using <code>dh&lowbar;installinit(1)</code> or
+ <code>dh&lowbar;installsystemd(1)</code>.
+See-Also: debian-policy 9.3.3