[lintian] 01/01: checks/scripts.desc: Update the maintainer-script-should-not-use-service tag to include advice and Debian Policy reference. (Closes: #889154)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 5c753271104136bb2b194b8de4672e0129748092
Author: Chris Lamb <lamby@debian.org>
Date: Fri Feb 2 21:58:59 2018 +0000
checks/scripts.desc: Update the maintainer-script-should-not-use-service tag to include advice and Debian Policy reference. (Closes: #889154)
---
checks/scripts.desc | 12 +++++++++---
debian/changelog | 3 +++
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/checks/scripts.desc b/checks/scripts.desc
index 1ed01eb..176b8a1 100644
--- a/checks/scripts.desc
+++ b/checks/scripts.desc
@@ -609,9 +609,15 @@ Tag: maintainer-script-should-not-use-service
Severity: important
Certainty: certain
Experimental: yes
-Info: The maintainer script apparently runs the service command.
- This command is reserved for local
- administrators and must never be used by a Debian package.
+Info: 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 <tt>update-rc.d(8)</tt> and
+ <tt>invoke-rc.d(8)</tt>. If your package installs this service, this
+ can be automated using <tt>dh_installinit(1)</tt> or
+ <tt>dh_installsystemd(1)</tt>.
+Ref: policy 9.3.3
Tag: maintainer-script-should-not-use-adduser-system-without-home
Severity: serious
diff --git a/debian/changelog b/debian/changelog
index 4aa6a9c..fa13223 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,9 @@ lintian (2.5.73) UNRELEASED; urgency=medium
* checks/rules.pm:
+ [CL] Check for override_dh_auto_test targets that do not check
DEB_BUILD_OPTIONS for "nocheck". (Closes: #712394)
+ * checks/scripts.desc:
+ + [CL] Update the maintainer-script-should-not-use-service tag to
+ include advice and Debian Policy reference. (Closes: #889154)
* checks/source-copyright.{desc,pm}:
+ [CL] Warn about packages that specify a Files-Excluded header without
a valid Format header as the former will be ignored by uscan(1).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: