Removing frog.
[maemian] / checks / init.d.desc
1 Check-Script: init.d
2 Author: Christian Schwarz <schwarz@debian.org>
3 Abbrev: ini
4 Type: binary
5 Needs-Info: init.d
6 Unpack-Level: 1
7
8 Tag: duplicate-updaterc.d-calls-in-postinst
9 Severity: important
10 Certainty: certain
11 Info: The <tt>postinst</tt> script calls <tt>update-rc.d</tt> several
12  times for the same <tt>/etc/init.d</tt> script.
13
14 Tag: output-of-updaterc.d-not-redirected-to-dev-null
15 Severity: wishlist
16 Certainty: certain
17 Info: The output messages of the <tt>update-rc.d</tt> command should be
18  redirected to <tt>/dev/null</tt> because it is currently very chatty
19  per default.
20
21 Tag: preinst-calls-updaterc.d
22 Severity: important
23 Certainty: certain
24 Info: The <tt>preinst</tt> package calls <tt>update-rc.d</tt>. Instead,
25  you should call it in the <tt>postinst</tt> script.
26 Ref: policy 9.3.3.1
27
28 Tag: duplicate-updaterc.d-calls-in-postrm
29 Severity: important
30 Certainty: certain
31 Info: The <tt>postrm</tt> script calls <tt>update-rc.d</tt> several
32  times for the same <tt>/etc/init.d</tt> script.
33
34 Tag: prerm-calls-updaterc.d
35 Severity: important
36 Certainty: certain
37 Info: The <tt>prerm</tt> package calls <tt>update-rc.d</tt>. Instead,
38  you should call it in the <tt>postrm</tt> script.
39 Ref: policy 9.3.3.1
40
41 Tag: postrm-does-not-call-updaterc.d-for-init.d-script
42 Severity: important
43 Certainty: certain
44 Info: An <tt>/etc/init.d</tt> script which has been registered in the
45  <tt>postinst</tt> script is not de-registered in the
46  <tt>postrm</tt> script.
47 Ref: policy 9.3.3.1
48
49 Tag: postrm-contains-additional-updaterc.d-calls
50 Severity: important
51 Certainty: certain
52 Info: The <tt>postrm</tt> de-registers an <tt>/etc/init.d</tt> script which
53  has not been registered in the <tt>postinst</tt> script before.
54
55 Tag: file-in-etc-rc.d-marked-as-conffile
56 Severity: important
57 Certainty: certain
58 Ref: policy 9.3.3
59 Info: The symbolic links in <tt>/etc/rc?.d</tt> may not be marked as conffiles.
60
61 Tag: init.d-script-not-marked-as-conffile
62 Severity: important
63 Certainty: wild-guess
64 Ref: policy 9.3.2
65 Info: <tt>/etc/init.d</tt> scripts should be marked as conffiles.
66  .
67  This is usually an error, but the Policy allows for managing these files
68  manually in maintainer scripts and Maemian cannot reliably detect that.
69
70 Tag: init.d-script-does-not-implement-required-option
71 Severity: important
72 Certainty: certain
73 Ref: policy 9.3.2
74 Info: The <tt>/etc/init.d</tt> scripts have to support the following
75  command line arguments: start, stop, restart, force-reload.
76
77 Tag: init.d-script-not-included-in-package
78 Severity: important
79 Certainty: certain
80 Info: The <tt>/etc/init.d</tt> script is registered in the
81  <tt>postinst</tt> script, but is not included in the package.
82
83 Tag: script-in-etc-init.d-not-registered-via-update-rc.d
84 Severity: normal
85 Certainty: possible
86 Info: The package installs an <tt>/etc/init.d</tt> script which is
87  not registered in the <tt>postinst</tt> script. This is usually a bug,
88  unless you omit the links intentionally for some reason or create the
89  links some other way.
90
91 Tag: init.d-script-has-duplicate-lsb-section
92 Severity: important
93 Certainty: certain
94 Ref: http://wiki.debian.org/LSBInitScripts
95 Info: This <tt>/etc/init.d</tt> script has more than one LSB keyword
96  section.  These sections start with <tt>### BEGIN INIT INFO</tt> and end
97  with <tt>### END INIT INFO</tt>.  There should be only one such section
98  per init script.
99
100 Tag: init.d-script-has-unterminated-lsb-section
101 Severity: important
102 Certainty: certain
103 Ref: http://wiki.debian.org/LSBInitScripts
104 Info: This <tt>/etc/init.d</tt> script has an LSB keyword section starting
105  with <tt>### BEGIN INIT INFO</tt> but either has no matching <tt>### END
106  INIT INFO</tt> or has lines between those two markers that are not
107  comments.  The line number given is the first line that doesn't look like
108  part of an LSB keyword section.  There must be an end marker after all
109  the keyword settings and there must not be any lines between those
110  markers that do not begin with <tt>#</tt>.
111
112 Tag: init.d-script-has-duplicate-lsb-keyword
113 Severity: normal
114 Certainty: certain
115 Ref: http://wiki.debian.org/LSBInitScripts
116 Info: The given keyword was set twice in the LSB keyword section in this
117  <tt>/etc/init.d</tt> script.  This is probably a mistake; the behavior of
118  setting the same keyword twice is undefined.
119
120 Tag: init.d-script-has-unknown-lsb-keyword
121 Severity: minor
122 Certainty: certain
123 Ref: http://wiki.debian.org/LSBInitScripts
124 Info: The given keyword was set in the LSB keyword section in this
125  <tt>/etc/init.d</tt> script but isn't one of the known LSB keywords and
126  doesn't begin with <tt>X-</tt>.  One of the standard keywords may have
127  been misspelled.
128
129 Tag: init.d-script-has-bad-lsb-line
130 Severity: normal
131 Certainty: certain
132 Ref: http://wiki.debian.org/LSBInitScripts
133 Info: This line in the LSB keyword section of an <tt>/etc/init.d</tt>
134  script doesn't match the required formatting of that section.  Note that
135  keyword settings must start with <tt>#</tt>, a single space, the keyword,
136  a colon, and some whitespace, followed by the value (if any).  Only the
137  Description keyword allows continuation lines, and continuation lines
138  must begin with <tt>#</tt> and either a tab or two or more spaces.
139
140 Tag: init.d-script-missing-lsb-section
141 Severity: normal
142 Certainty: certain
143 Ref: http://wiki.debian.org/LSBInitScripts
144 Info: This <tt>/etc/init.d</tt> script does not have an LSB keyword
145  section (or the <tt>### BEGIN INIT INFO</tt> tag is incorrect).  This
146  section provides description and runlevel information in a standard
147  format and provides dependency information that can be used to
148  parallelize the boot process.  Please consider adding it.
149
150 Tag: init.d-script-missing-lsb-keyword
151 Severity: normal
152 Certainty: certain
153 Ref: http://wiki.debian.org/LSBInitScripts
154 Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
155  is missing the given required LSB keyword.  If the value of this keyword
156  should be empty, please still include it in the LSB keyword section with
157  an empty value.
158
159 Tag: init.d-script-missing-lsb-short-description
160 Severity: wishlist
161 Certainty: certain
162 Ref: http://wiki.debian.org/LSBInitScripts
163 Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
164  is missing a Short-Description LSB keyword.  This field isn't directly
165  used currently, but adding it is still a good idea for documentation
166  purposes.
167
168 Tag: init.d-script-has-bad-start-runlevel
169 Severity: normal
170 Certainty: certain
171 Ref: http://wiki.debian.org/LSBInitScripts
172 Info: The given runlevel specified in the Default-Start keyword of the LSB
173  keyword section of this <tt>/etc/init.d</tt> script isn't one of the
174  recognized standard runlevels (S, 0, 1, 2, 3, 4, 5, and 6).
175
176 Tag: init.d-script-has-bad-stop-runlevel
177 Severity: normal
178 Certainty: certain
179 Ref: http://wiki.debian.org/LSBInitScripts
180 Info: The given runlevel specified in the Default-Stop keyword of the LSB
181  keyword section of this <tt>/etc/init.d</tt> script isn't one of the
182  recognized standard runlevels (0, 1, 2, 3, 4, 5, and 6).
183
184 Tag: init.d-script-has-conflicting-start-stop
185 Severity: normal
186 Certainty: certain
187 Ref: http://wiki.debian.org/LSBInitScripts
188 Info: The given runlevel was included in both the Default-Start and
189  Default-Stop keywords of the LSB keyword section of this
190  <tt>/etc/init.d</tt> script.  Since it doesn't make sense to both start
191  and stop a service in the same runlevel, there is probably an error in
192  one or the other of these keywords.
193
194 Tag: init-d-script-stops-in-s-runlevel
195 Severity: normal
196 Certainty: certain
197 Info: This <tt>/etc/init.d</tt> script specifies the S runlevel in
198  Default-Stop in its LSB keyword section.  The S runlevel is not a real
199  runlevel and is only used during boot.  There is no way to switch to it
200  and hence no use for stop scripts for it, so S should be removed from
201  Default-Stop.