[SCM] Debian package checker branch, master, updated. 1.24.4-57-gcfdcbc8
The following commit has been merged in the master branch:
commit 82f76798bd1401dcda1350253bc8f12cbcb11596
Author: Jordà Polo <jorda@ettin.org>
Date: Tue Jul 29 13:05:33 2008 +0200
Add Severity/Certainty headers to "init.d" tags
diff --git a/checks/init.d.desc b/checks/init.d.desc
index bbf91ea..c09f849 100644
--- a/checks/init.d.desc
+++ b/checks/init.d.desc
@@ -7,34 +7,46 @@ Unpack-Level: 1
Tag: duplicate-updaterc.d-calls-in-postinst
Type: error
+Severity: important
+Certainty: certain
Info: The <tt>postinst</tt> script calls <tt>update-rc.d</tt> several
times for the same <tt>/etc/init.d</tt> script.
Tag: output-of-updaterc.d-not-redirected-to-dev-null
Type: info
+Severity: wishlist
+Certainty: certain
Info: The output messages of the <tt>update-rc.d</tt> command should be
redirected to <tt>/dev/null</tt> because it is currently very chatty
per default.
Tag: preinst-calls-updaterc.d
Type: error
+Severity: important
+Certainty: certain
Info: The <tt>preinst</tt> package calls <tt>update-rc.d</tt>. Instead,
you should call it in the <tt>postinst</tt> script.
Ref: policy 9.3.3.1
Tag: duplicate-updaterc.d-calls-in-postrm
Type: error
+Severity: important
+Certainty: certain
Info: The <tt>postrm</tt> script calls <tt>update-rc.d</tt> several
times for the same <tt>/etc/init.d</tt> script.
Tag: prerm-calls-updaterc.d
Type: error
+Severity: important
+Certainty: certain
Info: The <tt>prerm</tt> package calls <tt>update-rc.d</tt>. Instead,
you should call it in the <tt>postrm</tt> script.
Ref: policy 9.3.3.1
Tag: postrm-does-not-call-updaterc.d-for-init.d-script
Type: error
+Severity: important
+Certainty: certain
Info: An <tt>/etc/init.d</tt> script which has been registered in the
<tt>postinst</tt> script is not de-registered in the
<tt>postrm</tt> script.
@@ -42,16 +54,22 @@ Ref: policy 9.3.3.1
Tag: postrm-contains-additional-updaterc.d-calls
Type: error
+Severity: important
+Certainty: certain
Info: The <tt>postrm</tt> de-registers an <tt>/etc/init.d</tt> script which
has not been registered in the <tt>postinst</tt> script before.
Tag: file-in-etc-rc.d-marked-as-conffile
Type: error
+Severity: important
+Certainty: certain
Ref: policy 9.3.3
Info: The symbolic links in <tt>/etc/rc?.d</tt> may not be marked as conffiles.
Tag: init.d-script-not-marked-as-conffile
Type: warning
+Severity: important
+Certainty: wild-guess
Ref: policy 9.3.2
Info: <tt>/etc/init.d</tt> scripts should be marked as conffiles.
.
@@ -60,17 +78,23 @@ Info: <tt>/etc/init.d</tt> scripts should be marked as conffiles.
Tag: init.d-script-does-not-implement-required-option
Type: error
+Severity: important
+Certainty: certain
Ref: policy 9.3.2
Info: The <tt>/etc/init.d</tt> scripts have to support the following
command line arguments: start, stop, restart, force-reload.
Tag: init.d-script-not-included-in-package
Type: error
+Severity: important
+Certainty: certain
Info: The <tt>/etc/init.d</tt> script is registered in the
<tt>postinst</tt> script, but is not included in the package.
Tag: script-in-etc-init.d-not-registered-via-update-rc.d
Type: warning
+Severity: normal
+Certainty: possible
Info: The package installs an <tt>/etc/init.d</tt> script which is
not registered in the <tt>postinst</tt> script. This is usually a bug,
unless you omit the links intentionally for some reason or create the
@@ -78,6 +102,8 @@ Info: The package installs an <tt>/etc/init.d</tt> script which is
Tag: init.d-script-has-duplicate-lsb-section
Type: error
+Severity: important
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: This <tt>/etc/init.d</tt> script has more than one LSB keyword
section. These sections start with <tt>### BEGIN INIT INFO</tt> and end
@@ -86,6 +112,8 @@ Info: This <tt>/etc/init.d</tt> script has more than one LSB keyword
Tag: init.d-script-has-unterminated-lsb-section
Type: error
+Severity: important
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: This <tt>/etc/init.d</tt> script has an LSB keyword section starting
with <tt>### BEGIN INIT INFO</tt> but either has no matching <tt>### END
@@ -97,6 +125,8 @@ Info: This <tt>/etc/init.d</tt> script has an LSB keyword section starting
Tag: init.d-script-has-duplicate-lsb-keyword
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: The given keyword was set twice in the LSB keyword section in this
<tt>/etc/init.d</tt> script. This is probably a mistake; the behavior of
@@ -104,6 +134,8 @@ Info: The given keyword was set twice in the LSB keyword section in this
Tag: init.d-script-has-unknown-lsb-keyword
Type: warning
+Severity: minor
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: The given keyword was set in the LSB keyword section in this
<tt>/etc/init.d</tt> script but isn't one of the known LSB keywords and
@@ -112,6 +144,8 @@ Info: The given keyword was set in the LSB keyword section in this
Tag: init.d-script-has-bad-lsb-line
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: This line in the LSB keyword section of an <tt>/etc/init.d</tt>
script doesn't match the required formatting of that section. Note that
@@ -122,6 +156,8 @@ Info: This line in the LSB keyword section of an <tt>/etc/init.d</tt>
Tag: init.d-script-missing-lsb-section
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: This <tt>/etc/init.d</tt> script does not have an LSB keyword
section (or the <tt>### BEGIN INIT INFO</tt> tag is incorrect). This
@@ -131,6 +167,8 @@ Info: This <tt>/etc/init.d</tt> script does not have an LSB keyword
Tag: init.d-script-missing-lsb-keyword
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
is missing the given required LSB keyword. If the value of this keyword
@@ -139,6 +177,8 @@ Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
Tag: init.d-script-missing-lsb-short-description
Type: info
+Severity: wishlist
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
is missing a Short-Description LSB keyword. This field isn't directly
@@ -147,6 +187,8 @@ Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
Tag: init.d-script-has-bad-start-runlevel
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: The given runlevel specified in the Default-Start keyword of the LSB
keyword section of this <tt>/etc/init.d</tt> script isn't one of the
@@ -154,6 +196,8 @@ Info: The given runlevel specified in the Default-Start keyword of the LSB
Tag: init.d-script-has-bad-stop-runlevel
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: The given runlevel specified in the Default-Stop keyword of the LSB
keyword section of this <tt>/etc/init.d</tt> script isn't one of the
@@ -161,6 +205,8 @@ Info: The given runlevel specified in the Default-Stop keyword of the LSB
Tag: init.d-script-has-conflicting-start-stop
Type: warning
+Severity: normal
+Certainty: certain
Ref: http://wiki.debian.org/LSBInitScripts
Info: The given runlevel was included in both the Default-Start and
Default-Stop keywords of the LSB keyword section of this
@@ -170,6 +216,8 @@ Info: The given runlevel was included in both the Default-Start and
Tag: init-d-script-stops-in-s-runlevel
Type: warning
+Severity: normal
+Certainty: certain
Info: This <tt>/etc/init.d</tt> script specifies the S runlevel in
Default-Stop in its LSB keyword section. The S runlevel is not a real
runlevel and is only used during boot. There is no way to switch to it
--
Debian package checker
Reply to: