2 Author: Christian Schwarz <schwarz@debian.org>
8 Tag: duplicate-updaterc.d-calls-in-postinst
10 Info: The <tt>postinst</tt> script calls <tt>update-rc.d</tt> several
11 times for the same <tt>/etc/init.d</tt> script.
13 Tag: output-of-updaterc.d-not-redirected-to-dev-null
15 Info: The output messages of the <tt>update-rc.d</tt> command should be
16 redirected to <tt>/dev/null</tt> because it is currently very chatty
19 Tag: preinst-calls-updaterc.d
21 Info: The <tt>preinst</tt> package calls <tt>update-rc.d</tt>. Instead,
22 you should call it in the <tt>postinst</tt> script.
25 Tag: duplicate-updaterc.d-calls-in-postrm
27 Info: The <tt>postrm</tt> script calls <tt>update-rc.d</tt> several
28 times for the same <tt>/etc/init.d</tt> script.
30 Tag: prerm-calls-updaterc.d
32 Info: The <tt>prerm</tt> package calls <tt>update-rc.d</tt>. Instead,
33 you should call it in the <tt>postrm</tt> script.
36 Tag: postrm-does-not-call-updaterc.d-for-init.d-script
38 Info: An <tt>/etc/init.d</tt> script which has been registered in the
39 <tt>postinst</tt> script is not de-registered in the
40 <tt>postrm</tt> script.
42 Tag: postrm-contains-additional-updaterc.d-calls
44 Info: The <tt>postrm</tt> de-registers an <tt>/etc/init.d</tt> script which
45 has not been registered in the <tt>postinst</tt> script before.
47 Tag: file-in-etc-rc.d-marked-as-conffile
50 Info: The symbolic links in <tt>/etc/rc?.d</tt> may not be marked as conffiles.
52 Tag: init.d-script-not-marked-as-conffile
55 Info: <tt>/etc/init.d</tt> scripts should be marked as conffiles.
57 This is usually an error, but the Policy allows for managing these files
58 manually in maintainer scripts and Lintian cannot reliably detect that.
60 Tag: init.d-script-does-not-implement-required-option
62 Info: The <tt>/etc/init.d</tt> scripts have to support the following
63 command line arguments: start, stop, restart, force-reload.
65 Tag: init.d-script-not-included-in-package
67 Info: The <tt>/etc/init.d</tt> script is registered in the
68 <tt>postinst</tt> script, but is not included in the package.
70 Tag: script-in-etc-init.d-not-registered-via-update-rc.d
72 Info: The package installs an <tt>/etc/init.d</tt> script which is
73 not registered in the <tt>postinst</tt> script. This is usually a bug,
74 unless you omit the links intentionally for some reason or create the
77 Tag: init.d-script-has-duplicate-lsb-section
79 Ref: http://wiki.debian.org/LSBInitScripts
80 Info: This <tt>/etc/init.d</tt> script has more than one LSB keyword
81 section. These sections start with <tt>### BEGIN INIT INFO</tt> and end
82 with <tt>### END INIT INFO</tt>. There should be only one such section
85 Tag: init.d-script-has-unterminated-lsb-section
87 Ref: http://wiki.debian.org/LSBInitScripts
88 Info: This <tt>/etc/init.d</tt> script has an LSB keyword section starting
89 with <tt>### BEGIN INIT INFO</tt> but either has no matching <tt>### END
90 INIT INFO</tt> or has lines between those two markers that are not
91 comments. The line number given is the first line that doesn't look like
92 part of an LSB keyword section. There must be an end marker after all
93 the keyword settings and there must not be any lines between those
94 markers that do not begin with <tt>#</tt>.
96 Tag: init.d-script-has-duplicate-lsb-keyword
98 Ref: http://wiki.debian.org/LSBInitScripts
99 Info: The given keyword was set twice in the LSB keyword section in this
100 <tt>/etc/init.d</tt> script. This is probably a mistake; the behavior of
101 setting the same keyword twice is undefined.
103 Tag: init.d-script-has-unknown-lsb-keyword
105 Ref: http://wiki.debian.org/LSBInitScripts
106 Info: The given keyword was set in the LSB keyword section in this
107 <tt>/etc/init.d</tt> script but isn't one of the known LSB keywords and
108 doesn't begin with <tt>X-</tt>. One of the standard keywords may have
111 Tag: init.d-script-has-bad-lsb-line
113 Ref: http://wiki.debian.org/LSBInitScripts
114 Info: This line in the LSB keyword section of an <tt>/etc/init.d</tt>
115 script doesn't match the required formatting of that section. Note that
116 keyword settings must start with <tt>#</tt>, a single space, the keyword,
117 a colon, and some whitespace, followed by the value (if any). Only the
118 Description keyword allows continuation lines, and continuation lines
119 must begin with <tt>#</tt> and either a tab or two or more spaces.
121 Tag: init.d-script-missing-lsb-section
123 Ref: http://wiki.debian.org/LSBInitScripts
124 Info: This <tt>/etc/init.d</tt> script does not have an LSB keyword
125 section (or the <tt>### BEGIN INIT INFO</tt> tag is incorrect). This
126 section provides description and runlevel information in a standard
127 format and provides dependency information that can be used to
128 parallelize the boot process. Please consider adding it.
130 Tag: init.d-script-missing-lsb-keyword
132 Ref: http://wiki.debian.org/LSBInitScripts
133 Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
134 is missing the given required LSB keyword. If the value of this keyword
135 should be empty, please still include it in the LSB keyword section with
138 Tag: init.d-script-missing-lsb-short-description
140 Ref: http://wiki.debian.org/LSBInitScripts
141 Info: This <tt>/etc/init.d</tt> script has an LSB keyword section, but it
142 is missing a Short-Description LSB keyword. This field isn't directly
143 used currently, but adding it is still a good idea for documentation
146 Tag: init.d-script-has-bad-start-runlevel
148 Ref: http://wiki.debian.org/LSBInitScripts
149 Info: The given runlevel specified in the Default-Start keyword of the LSB
150 keyword section of this <tt>/etc/init.d</tt> script isn't one of the
151 recognized standard runlevels (S, 0, 1, 2, 3, 4, 5, and 6).
153 Tag: init.d-script-has-bad-stop-runlevel
155 Ref: http://wiki.debian.org/LSBInitScripts
156 Info: The given runlevel specified in the Default-Stop keyword of the LSB
157 keyword section of this <tt>/etc/init.d</tt> script isn't one of the
158 recognized standard runlevels (0, 1, 2, 3, 4, 5, and 6).
160 Tag: init.d-script-has-conflicting-start-stop
162 Ref: http://wiki.debian.org/LSBInitScripts
163 Info: The given runlevel was included in both the Default-Start and
164 Default-Stop keywords of the LSB keyword section of this
165 <tt>/etc/init.d</tt> script. Since it doesn't make sense to both start
166 and stop a service in the same runlevel, there is probably an error in
167 one or the other of these keywords.
169 Tag: init-d-script-stops-in-s-runlevel
171 Info: This <tt>/etc/init.d</tt> script specifies the S runlevel in
172 Default-Stop in its LSB keyword section. The S runlevel is not a real
173 runlevel and is only used during boot. There is no way to switch to it
174 and hence no use for stop scripts for it, so S should be removed from