[lintian] 01/04: c/systemd: Reduce certainty of systemd-service-file-missing-install-key.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch service-files-missing-install-key-false-positives
in repository lintian.
commit 78664328f5fe568ea15f7e57a4c5378425301e22
Author: Chris Lamb <lamby@debian.org>
Date: Thu Sep 8 12:24:05 2016 +0100
c/systemd: Reduce certainty of systemd-service-file-missing-install-key.
Signed-off-by: Chris Lamb <lamby@debian.org>
---
checks/systemd.desc | 4 +---
t/tests/systemd-complex-service-file/tags | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/checks/systemd.desc b/checks/systemd.desc
index 86bfa51..d4aea02 100644
--- a/checks/systemd.desc
+++ b/checks/systemd.desc
@@ -129,12 +129,10 @@ Ref: systemd.unit(5)
Tag: systemd-service-file-missing-install-key
Severity: normal
-Certainty: possible
+Certainty: wild-guess
Info: The systemd service file does not contain a <tt>WantedBy=</tt> or
<tt>RequiredBy=</tt> key in its <tt>[Install]</tt> section.
.
Forgetting to add such a line (e.g. <tt>WantedBy=multi-user.target</tt>)
results in the service file not being started by default.
- .
- If this is intentional, please override this warning.
Ref: systemd.unit(5)
diff --git a/t/tests/systemd-complex-service-file/tags b/t/tests/systemd-complex-service-file/tags
index fafa0e8..11095e2 100644
--- a/t/tests/systemd-complex-service-file/tags
+++ b/t/tests/systemd-complex-service-file/tags
@@ -1,5 +1,5 @@
E: systemd-complex-service-file: service-key-has-whitespace lib/systemd/system/test3.service at line 3
I: systemd-complex-service-file: systemd-service-file-missing-documentation-key lib/systemd/system/test3.service
-W: systemd-complex-service-file: systemd-service-file-missing-install-key lib/systemd/system/test2.service
+I: systemd-complex-service-file: systemd-service-file-missing-install-key lib/systemd/system/test2.service
W: systemd-complex-service-file: systemd-service-file-refers-to-obsolete-target lib/systemd/system/test.service dbus.target
W: systemd-complex-service-file: systemd-service-file-refers-to-obsolete-target lib/systemd/system/test2.service syslog.target
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: