~linaro-maintainers/live-build/linaro-live-build-3

« back to all changes in this revision

Viewing changes to includes/lenny/common/doc/bug-reporting.txt

  • Committer: Daniel Baumann
  • Date: 2011-03-09 18:19:23 UTC
  • Revision ID: git-v1:c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a
Adding debian version 3.0~a1-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
How to report a bug in Debian using reportbug
2
 
 
3
 
   We strongly recommend that you report bugs in Debian using the
4
 
   reportbug program. To install and start it, simply run:
5
 
 
6
 
     aptitude install reportbug; reportbug
7
 
 
8
 
   It will guide you through the bug reporting process step by step.
9
 
 
10
 
   If you have questions that the interactive prompts of reportbug do not
11
 
   resolve, you can refer to the rest of the documentation below or ask
12
 
   the Debian user mailing list.
13
 
 
14
 
How to report a bug in Debian using email (and advanced usage of reportbug)
15
 
 
16
 
Important things to note before sending your bug report
17
 
 
18
 
What package does your bug report belong to?
19
 
 
20
 
   You need to know what package your bug report should be filed against.
21
 
   See this example for information on how to find this information. (You
22
 
   will use this information to see if your bug report has been filed
23
 
   already.)
24
 
 
25
 
   If you are unable to determine which package your bug report should be
26
 
   filed against, please send e-mail to the Debian user mailing list
27
 
   asking for advice.
28
 
 
29
 
   If your problem doesn't relate just to one package but some general
30
 
   Debian service, there are several pseudo-packages or even mailing
31
 
   lists that you can use to relay your message to us instead.
32
 
 
33
 
Has your bug report been filed already?
34
 
 
35
 
   You should check to see if your bug report has already been filed
36
 
   before submitting it. You can see which bugs have been filed in a
37
 
   specific package using the package option of the bug search form. If
38
 
   there is an existing bug report #<number>, you should submit your
39
 
   comments by sending e-mail to <number>@bugs.debian.org instead of
40
 
   reporting a new bug.
41
 
 
42
 
Send multiple reports for multiple bugs
43
 
 
44
 
   Please don't report multiple unrelated bugs -- especially ones in
45
 
   different packages -- in a single bug report.
46
 
 
47
 
Don't file bugs upstream
48
 
 
49
 
   If you file a bug in Debian, don't send a copy to the upstream
50
 
   software maintainers yourself, as it is possible that the bug exists
51
 
   only in Debian. If necessary, the maintainer of the package will
52
 
   forward the bug upstream.
53
 
 
54
 
Sending the bug report via e-mail
55
 
 
56
 
   You can report bugs in Debian by sending an e-mail to
57
 
   submit@bugs.debian.org with a special format described below.
58
 
   reportbug (see above) will properly format the e-mails for you; please
59
 
   use it!
60
 
 
61
 
Headers
62
 
 
63
 
   Like any e-mail you should include a clear, descriptive Subject line
64
 
   in your main mail header. The subject you give will be used as the
65
 
   initial bug title in the tracking system, so please try to make it
66
 
   informative!
67
 
 
68
 
   If you'd like to send a copy of your bug report to additional
69
 
   recipients (such as mailing lists), you shouldn't use the usual e-mail
70
 
   headers, but a different method, described below.
71
 
 
72
 
Pseudo-headers
73
 
 
74
 
   The first part of the bug report are the pseudo-headers which contain
75
 
   information about what package and version your bug report applies to.
76
 
   The first line of the message body has to include a pseudo-header. It
77
 
   should say:
78
 
Package: <packagename>
79
 
 
80
 
   Replace <packagename> with the name of the package which has the bug.
81
 
 
82
 
   The second line of the message should say:
83
 
Version: <packageversion>
84
 
 
85
 
   Replace <packageversion> with the version of the package. Please don't
86
 
   include any text here other than the version itself, as the bug
87
 
   tracking system relies on this field to work out which releases are
88
 
   affected by the bug.
89
 
 
90
 
   You need to supply a correct Package line in the pseudo-header in
91
 
   order for the bug tracking system to deliver the message to the
92
 
   package's maintainer. See this example for information on how to find
93
 
   this information.
94
 
 
95
 
   For other valid pseudo-headers, see Additional pseudo-headers
96
 
 
97
 
The body of the report
98
 
 
99
 
   Please include in your report:
100
 
     * The exact and complete text of any error messages printed or
101
 
       logged. This is very important!
102
 
     * Exactly what you typed or did to demonstrate the problem.
103
 
     * A description of the incorrect behavior: exactly what behavior you
104
 
       were expecting, and what you observed. A transcript of an example
105
 
       session is a good way of showing this.
106
 
     * A suggested fix, or even a patch, if you have one.
107
 
     * Details of the configuration of the program with the problem.
108
 
       Include the complete text of its configuration files.
109
 
     * The versions of any packages on which the buggy package depends.
110
 
     * What kernel version you're using (type uname -a), your shared C
111
 
       library (type ls -l /lib/libc.so.6 or dpkg -s libc6 | grep
112
 
       ^Version), and any other details about your Debian system, if it
113
 
       seems appropriate. For example, if you had a problem with a Perl
114
 
       script, you would want to provide the version of the `perl' binary
115
 
       (type perl -v or dpkg -s perl | grep ^Version:).
116
 
     * Appropriate details of the hardware in your system. If you're
117
 
       reporting a problem with a device driver please list all the
118
 
       hardware in your system, as problems are often caused by IRQ and
119
 
       I/O address conflicts.
120
 
     * If you have reportbug installed the output of reportbug -q
121
 
       --template -T none -s none -S normal -b --list-cc none -q
122
 
       <package> will also be useful, as it contains the output of
123
 
       maintainer specific scripts and version information.
124
 
 
125
 
   Include any detail that seems relevant -- you are in very little
126
 
   danger of making your report too long by including too much
127
 
   information. If they are small, please include in your report any
128
 
   files you were using to reproduce the problem. (If they are large,
129
 
   consider making them available on a publicly available website if
130
 
   possible.)
131
 
 
132
 
   For more advice on how to help the developers solve your problem,
133
 
   please read How to Report Bugs Effectively.
134
 
 
135
 
An Example Bug Report
136
 
 
137
 
   A bug report with header and pseudo-header looks something like this:
138
 
  To: submit@bugs.debian.org
139
 
  From: diligent@testing.linux.org
140
 
  Subject: Hello says `goodbye'
141
 
 
142
 
  Package: hello
143
 
  Version: 1.3-16
144
 
 
145
 
  When I invoke `hello' without arguments from an ordinary shell
146
 
  prompt it prints `goodbye', rather than the expected `hello, world'.
147
 
  Here is a transcript:
148
 
 
149
 
  $ hello
150
 
  goodbye
151
 
  $ /usr/bin/hello
152
 
  goodbye
153
 
  $
154
 
 
155
 
  I suggest that the output string, in hello.c, be corrected.
156
 
 
157
 
  I am using Debian GNU/Linux 2.2, kernel 2.2.17-pre-patch-13
158
 
  and libc6 2.1.3-10.
159
 
 
160
 
Sending copies of bug reports to other addresses
161
 
 
162
 
   Sometimes it is necessary to send a copy of a bug report to somewhere
163
 
   else besides debian-bugs-dist and the package maintainer, which is
164
 
   where they are normally sent.
165
 
 
166
 
   You could do this by CC'ing your bug report to the other address(es),
167
 
   but then the other copies would not have the bug report number put in
168
 
   the Reply-To field and the Subject line. When the recipients reply
169
 
   they will probably preserve the submit@bugs.debian.org entry in the
170
 
   header and have their message filed as a new bug report. This leads to
171
 
   many duplicated reports.
172
 
 
173
 
   The right way to do this is to use the X-Debbugs-CC header. Add a line
174
 
   like this to your message's mail header:
175
 
 X-Debbugs-CC: other-list@cosmic.edu
176
 
 
177
 
   This will cause the bug tracking system to send a copy of your report
178
 
   to the address(es) in the X-Debbugs-CC line as well as to
179
 
   debian-bugs-dist.
180
 
 
181
 
   Avoid sending such copies to the addresses of other bug reports, as
182
 
   they will be caught by the checks that prevent mail loops. There is
183
 
   relatively little point in using X-Debbugs-CC for this anyway, as the
184
 
   bug number added by that mechanism will just be replaced by a new one;
185
 
   use an ordinary CC header instead.
186
 
 
187
 
   This feature can often be combined usefully with mailing quiet -- see
188
 
   below.
189
 
 
190
 
Additional Pseudoheaders
191
 
 
192
 
Severity levels
193
 
 
194
 
   If a report is of a particularly serious bug, or is merely a feature
195
 
   request, you can set the severity level of the bug as you report it.
196
 
   This is not required however, and the package maintainer will assign
197
 
   an appropriate severity level to your report even if you do not (or
198
 
   pick the wrong severity).
199
 
 
200
 
   To assign a severity level, put a line like this one in the
201
 
   pseudo-header:
202
 
Severity: <severity>
203
 
 
204
 
   Replace <severity> with one of the available severity levels, as
205
 
   described in the advanced documentation.
206
 
 
207
 
Assigning tags
208
 
 
209
 
   You can set tags on a bug as you are reporting it. For example, if you
210
 
   are including a patch with your bug report, you may wish to set the
211
 
   patch tag. This is not required, however, and the developers will set
212
 
   tags on your report as and when it is appropriate.
213
 
 
214
 
   To set tags, put a line like this one in the pseudo-header:
215
 
Tags: <tags>
216
 
 
217
 
   Replace <tags> with one or more of the available tags, as described in
218
 
   the advanced documentation. Separate multiple tags with commas,
219
 
   spaces, or both.
220
 
User: <username>
221
 
Usertags: <usertags>
222
 
 
223
 
   Replace <usertags> with one or more usertags. Separate multiple tags
224
 
   with commas, spaces, or both. If you specify a <username>, that user's
225
 
   tags will be set. Otherwise, the e-mail address of the sender will be
226
 
   used as the username.
227
 
Forwarded: foo@example.com
228
 
 
229
 
   will mark the newly submitted bug as forwarded to foo@example.com. See
230
 
   Recording that you have passed on a bug report in the developers'
231
 
   documentation for details.
232
 
Owner: foo@example.com
233
 
 
234
 
   will indicate that foo@example.com is now responsible for fixing this
235
 
   bug. See Changing bug ownership in the developers' documentation for
236
 
   details.
237
 
Source: foopackage
238
 
 
239
 
   the equivalent of Package: for bugs present in the source package of
240
 
   foopackage; for most bugs in most packages you don't want to use this
241
 
   option.
242
 
 
243
 
   Finally, if your MUA doesn't allow you to edit the headers, you can
244
 
   set the various X-Debbugs- headers in the pseudo-headers.
245
 
 
246
 
Additional information
247
 
 
248
 
Different submission addresses (minor or mass bug reports)
249
 
 
250
 
   If a bug report is minor, for example, a documentation typo or a
251
 
   trivial build problem, please adjust the severity appropriately and
252
 
   send it to maintonly@bugs.debian.org instead of
253
 
   submit@bugs.debian.org. maintonly will forward the report to the
254
 
   package maintainer only, it won't forward it to the BTS mailing lists.
255
 
 
256
 
   If you're submitting many reports at once, you should definitely use
257
 
   maintonly@bugs.debian.org so that you don't cause too much redundant
258
 
   traffic on the BTS mailing lists. Before submitting many similar bugs
259
 
   you may also want to post a summary on debian-bugs-dist.
260
 
 
261
 
   If wish to report a bug to the bug tracking system that's already been
262
 
   sent to the maintainer, you can use quiet@bugs.debian.org. Bugs sent
263
 
   to quiet@bugs.debian.org will not be forwarded anywhere, only filed.
264
 
 
265
 
   When you use different submission addresses, the bug tracking system
266
 
   will set the Reply-To of any forwarded message so that the replies
267
 
   will by default be processed in the same way as the original report.
268
 
   That means that, for example, replies to maintonly will go to
269
 
   nnn-maintonly@bugs.debian.org instead of nnn@bugs.debian.org, unless
270
 
   of course one overrides this manually.
271
 
 
272
 
Acknowledgements
273
 
 
274
 
   Normally, the bug tracking system will return an acknowledgement to
275
 
   you by e-mail when you report a new bug or submit additional
276
 
   information to an existing bug. If you want to suppress this
277
 
   acknowledgement, include an X-Debbugs-No-Ack header in your e-mail
278
 
   (the contents of this header do not matter; however, it must be in the
279
 
   mail header and not in the pseudo-header with the Package field). If
280
 
   you report a new bug with this header, you will need to check the web
281
 
   interface yourself to find the bug number.
282
 
 
283
 
   Note that this header will not suppress acknowledgements from the
284
 
   control@bugs.debian.org mailserver, since those acknowledgements may
285
 
   contain error messages which should be read and acted upon.
286
 
 
287
 
Bug reports against unknown packages
288
 
 
289
 
   If the bug tracking system doesn't know who the maintainer of the
290
 
   relevant package is it will forward the report to debian-bugs-dist
291
 
   even if maintonly was used.
292
 
 
293
 
   When sending to maintonly@bugs.debian.org or
294
 
   nnn-maintonly@bugs.debian.org you should make sure that the bug report
295
 
   is assigned to the right package, by putting a correct Package at the
296
 
   top of an original submission of a report, or by using the
297
 
   control@bugs.debian.org service to (re)assign the report
298
 
   appropriately.
299
 
 
300
 
Using dpkg to find the package and version for the report
301
 
 
302
 
   When using reportbug to report a bug in a command, say grep, the
303
 
   following will automatically select the right package and let you
304
 
   write the report right away: reportbug --file $(which grep)
305
 
 
306
 
   You can also find out which package installed it by using dpkg
307
 
   --search. You can find out which version of a package you have
308
 
   installed by using dpkg --list or dpkg --status.
309
 
 
310
 
   For example:
311
 
$ which apt-get
312
 
/usr/bin/apt-get
313
 
$ type apt-get
314
 
apt-get is /usr/bin/apt-get
315
 
$ dpkg --search /usr/bin/apt-get
316
 
apt: /usr/bin/apt-get
317
 
$ dpkg --list apt
318
 
Desired=Unknown/Install/Remove/Purge/Hold
319
 
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
320
 
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
321
 
||/ Name           Version        Description
322
 
+++-==============-==============-============================================
323
 
ii  apt            0.3.19         Advanced front-end for dpkg
324
 
$ dpkg --status apt
325
 
Package: apt
326
 
Status: install ok installed
327
 
Priority: standard
328
 
Section: base
329
 
Installed-Size: 1391
330
 
Maintainer: APT Development Team <deity@lists.debian.org>
331
 
Version: 0.3.19
332
 
Replaces: deity, libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
333
 
Provides: libapt-pkg2.7
334
 
Depends: libapt-pkg2.7, libc6 (>= 2.1.2), libstdc++2.10
335
 
Suggests: dpkg-dev
336
 
Conflicts: deity
337
 
Description: Advanced front-end for dpkg
338
 
 This is Debian's next generation front-end for the dpkg package manager.
339
 
 It provides the apt-get utility and APT dselect method that provides a
340
 
 simpler, safer way to install and upgrade packages.
341
 
 .
342
 
 APT features complete installation ordering, multiple source capability
343
 
 and several other unique features, see the Users Guide in
344
 
 /usr/doc/apt/guide.text.gz
345
 
 
346
 
Other useful commands and packages
347
 
 
348
 
   The querybts tool, available from the same package as reportbug,
349
 
   provides a convenient text-based interface to the bug tracking system.
350
 
 
351
 
   Emacs users can also use the debian-bug command provided by the
352
 
   debian-el package. When called with M-x debian-bug, it will ask for
353
 
   all necessary information in a similar way to reportbug.
354
 
     _________________________________________________________________
355
 
 
356
 
    Debian BTS administrators <owner@bugs.debian.org>
357
 
 
358
 
   Debian bug tracking system
359
 
   Copyright � 1999 Darren O. Benham, 1997, 2003 nCipher Corporation Ltd,
360
 
   1994-1997 Ian Jackson.
361
 
     _________________________________________________________________
362