faq.xml 35.9 KB
Newer Older
1
<!-- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> -->
2

3
<appendix id="faq">
4 5
  <title>The Bugzilla FAQ</title>

6 7 8 9
  <para>
    This FAQ includes questions not covered elsewhere in the Guide.
  </para>
  
10 11 12
  <qandaset>


13
    <qandadiv id="faq-general">
14 15 16 17 18 19 20 21 22 23
      <title>General Questions</title>

      <qandaentry>
	<question>
	  <para>
	    Where can I find information about Bugzilla?</para>
	</question>
	<answer>
	  <para>
	    You can stay up-to-date with the latest Bugzilla
24 25
	    information at <ulink url="http://www.bugzilla.org/">
	    http://www.bugzilla.org/</ulink>
26 27 28 29 30 31 32 33 34 35 36 37
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    What license is Bugzilla distributed under?
	  </para>
	</question>
	<answer>
	  <para>
38 39 40
	    Bugzilla is covered by the Mozilla Public License.
	    See details at <ulink url="http://www.mozilla.org/MPL/">
	    http://www.mozilla.org/MPL/</ulink>
41 42 43 44 45 46 47 48 49 50 51 52
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    How do I get commercial support for Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
53 54 55 56
	    <ulink url="http://www.collab.net/">www.collab.net</ulink> offers
	    Bugzilla as part of their standard offering to large projects.
	    They do have some minimum fees that are pretty hefty, and generally
	    aren't interested in small projects.
57 58
	  </para>
	  <para>
59 60
	    There are several experienced
	    Bugzilla hackers on the mailing list/newsgroup who are willing
61
	    to make themselves available for generous compensation.
62
	    Try sending a message to the mailing list asking for a volunteer.
63 64 65 66 67 68 69
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
70 71
	    What major companies or projects are currently using Bugzilla
	    for bug-tracking?
72 73 74 75
	  </para>
	</question>
	<answer>
	  <para>
76 77
	    There are <emphasis>dozens</emphasis> of major comapanies with public
	    Bugzilla sites to track bugs in their products.  A few include:
78 79 80
	    <simplelist>
	      <member>Netscape/AOL</member>
	      <member>Mozilla.org</member>
81
	      <member>NASA</member>
82 83 84 85 86 87 88 89 90 91 92 93
	      <member>AtHome Corporation</member>
	      <member>Red Hat Software</member>
	      <member>SuSe Corp</member>
	      <member>The Horde Project</member>
	      <member>AbiSource</member>
	      <member>Real Time Enterprises, Inc</member>
	      <member>Eggheads.org</member>
	      <member>Strata Software</member>
	      <member>RockLinux</member>
	      <member>Creative Labs (makers of SoundBlaster)</member>
	      <member>The Apache Foundation</member>
	      <member>The Gnome Foundation</member>
94
	      <member>Ximian</member>
95 96 97 98
	      <member>Linux-Mandrake</member>
	    </simplelist>
	  </para>
	  <para>
99 100
	    Suffice to say, there are more than enough huge projects using Bugzilla
	    that we can safely say it's extremely popular.
101 102 103 104 105 106 107 108 109 110 111 112
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Who maintains Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
113 114 115
	    A 
      <ulink url="http://www.bugzilla.org/who_we_are.html">core team</ulink>,
      led by Dave Miller (justdave@syndicomm.com).      
116 117 118 119 120 121 122
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
123
	    How does Bugzilla stack up against other bug-tracking databases?
124 125 126 127
	  </para>
	</question>
	<answer>
	  <para>
128 129 130
	    We can't find any head-to-head comparisons of Bugzilla against
	    other defect-tracking software. If you know of one, please
      get in touch. However, from the author's personal
131 132 133 134 135 136
	    experience with other bug-trackers, Bugzilla offers
	    superior performance on commodity hardware, better price
	    (free!), more developer- friendly features (such as stored
	    queries, email integration, and platform independence),
	    improved scalability, open source code, greater
	    flexibility, and superior ease-of-use.
137 138
	  </para>
	  <para>
139
	    If you happen to be a commercial bug-tracker vendor, please
140 141 142
	    step forward with a list of advantages your product has over
      Bugzilla. We'd be happy to include it in the "Competitors"
      section.
143 144 145 146 147 148 149
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
150 151
	    Why doesn't Bugzilla offer this or that feature or compatability
	    with this other tracking software?
152 153 154 155
	  </para>
	</question>
	<answer>
	  <para>
156 157 158 159 160
	    It may be that the support has not been built yet, or that you
	    have not yet found it.  Bugzilla is making tremendous strides in
	    usability, customizability, scalability, and user interface.  It
	    is widely considered the most complete and popular open-source
	    bug-tracking software in existence.
161 162
	  </para>
	  <para>
163 164 165 166
	    That doesn't mean it can't use improvement!
	    You can help the project along by either hacking a patch yourself
	    that supports the functionality you require, or else submitting a
	    "Request for Enhancement" (RFE) using the bug submission interface
167
	    at <ulink url="http://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla">bugzilla.mozilla.org</ulink>.
168 169 170 171 172 173 174 175
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Why MySQL?  I'm interested in seeing Bugzilla run on
176
	    Oracle/Sybase/Msql/PostgreSQL/MSSQL.
177 178 179
	  </para>
	</question>
	<answer>
180 181 182 183
	  <para>
      There is DB-independence work afoot. PostgreSQL support is planned
      for 2.18, and full DB-independence can't be far further on.
	  </para>
184 185 186 187 188 189
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
190 191
	    Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
	    "/usr/bin/perl" or something else?
192 193 194 195
	  </para>
	</question>
	<answer>
	  <para>
196 197 198 199
	     Mozilla.org uses /usr/bonsaitools/bin/perl, because originally
       Terry wanted a place to put a version of Perl and other tools 
       that was strictly under his control. 
    </para>
200
		<para>
201
		  We always recommend that, if possible, you keep the path
202 203
		  as /usr/bonsaitools/bin/perl, and simply add symlink.  
      This will make upgrading
204 205 206 207 208
		  your Bugzilla much easier in the future.
		</para>
	</answer>
      </qandaentry>

209 210 211 212 213 214 215 216 217 218 219 220 221 222

      <qandaentry>
	<question>
	  <para>
	    Is there an easy way to change the Bugzilla cookie name?
	  </para>
	</question>
	<answer>
	  <para>
	    At present, no.
	  </para>
	</answer>
      </qandaentry>
      
223 224
    </qandadiv>

225
    <qandadiv id="faq-phb">
226
      <title>Managerial Questions</title>
227 228 229
      <para>
	<note>
	  <para>
230
	    Questions likely to be asked by managers. :-)
231 232 233
	  </para>
	</note>
      </para>
234 235 236 237

      <qandaentry>
	<question>
	  <para>
238 239
	    Is Bugzilla web-based, or do you have to have specific software or
	    a specific operating system on your machine?
240 241 242 243
	  </para>
	</question>
	<answer>
	  <para>
244 245
	    It is web and e-mail based.  You can edit bugs by sending specially
	    formatted email to a properly configured Bugzilla, or control via the web.
246 247 248 249 250 251 252
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
253
	    Can Bugzilla integrate with
254
	    Perforce (SCM software)?
255 256 257 258
	  </para>
	</question>
	<answer>
	  <para>
259 260
	    Yes!  You can find more information elsewhere in "The Bugzilla
	    Guide" in the "Integration with Third-Party Products" section.
261 262 263 264 265 266 267 268 269 270 271 272
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Does Bugzilla allow the user to track multiple projects?
	  </para>
	</question>
	<answer>
	  <para>
273 274 275 276
	    Absolutely!  You can track any number of Products (although you
      are limited to about 55 or so if
      you are using Product-Based Groups), that can each be composed of any
      number of Components.
277 278 279 280 281 282 283
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
284 285
	    If I am on many projects, and search for all bugs assigned to me, will
	    Bugzilla list them for me and allow me to sort by project, severity etc?
286 287 288 289 290 291 292 293 294 295 296 297
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
298
	    Does Bugzilla allow attachments (text, screenshots, URLs etc)? If yes,
299
	    are there any that are NOT allowed?
300 301 302 303
	  </para>
	</question>
	<answer>
	  <para>
304 305 306
	    Yes - any sort of attachment is allowed, although administrators can
      configure a maximum size.  
      There are many specific MIME-types that are pre-defined by Bugzilla,
307
	    but you may specify any arbitrary MIME-type you need when you
308
	    upload the file. 
309 310 311 312 313 314 315
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
316 317 318
	    Does Bugzilla allow us to define our own priorities and levels? Do we
	    have complete freedom to change the labels of fields and format of them, and
	    the choice of acceptable values?
319 320 321 322
	  </para>
	</question>
	<answer>
	  <para>
323 324 325
	    Yes.  However, modifying some fields, notably those related to bug
	    progression states, also require adjusting the program logic to
	    compensate for the change.
326
	  </para>
327 328 329 330 331 332
	  <para>
	    There is no GUI for adding fields to Bugzilla at this
	    time.  You can follow development of this feature at
	    <ulink
		   url="http://bugzilla.mozilla.org/show_bug.cgi?id=91037">http://bugzilla.mozilla.org/show_bug.cgi?id=91037</ulink>
	  </para>
333 334 335 336 337 338
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
339 340
	    Does Bugzilla provide any reporting features, metrics, graphs, etc? You
	    know, the type of stuff that management likes to see. :)
341 342 343 344
	  </para>
	</question>
	<answer>
	  <para>
345 346
	    Yes.  Look at <ulink url="http://bugzilla.mozilla.org/reports.cgi">
	    http://bugzilla.mozilla.org/reports.cgi</ulink> for basic reporting
347
	    and graphing facilities.
348 349
	  </para>
	  <para>
350 351 352 353 354 355
	    For more advanced reporting, I recommend hooking up a professional
	    reporting package, such as Crystal Reports, and use ODBC to access
	    the MySQL database.  You can do a lot through the Query page of
	    Bugzilla as well, but right now Advanced Reporting is much
	    better accomplished through third-party utilities that can
	    interface with the database directly.
356 357 358 359 360 361 362
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
363
	    Is there email notification and if so, what do you see when you get an
364
	    email?
365 366 367 368
	  </para>
	</question>
	<answer>
	  <para>
369 370
	    Email notification is user-configurable.  By default, the bug id and 
      Summary of the bug report accompany each email notification, along with
371
	    a list of the changes made.
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Can email notification be set up to send to multiple
	    people, some on the To List, CC List, BCC List etc?
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
393
	    Do users have to have any particular
394
	    type of email application?
395 396 397 398
	  </para>
	</question>
	<answer>
	  <para>
399 400
	    Bugzilla email is sent in plain text, the most compatible mail format
	    on the planet.
401 402
	    <note>
	      <para>
403 404 405 406 407 408
		If you decide to use the bugzilla_email integration features
		to allow Bugzilla to record responses to mail with the associated bug,
		you may need to caution your users to set their mailer to "respond
		to messages in the format in which they were sent".  For security reasons
		Bugzilla ignores HTML tags in comments, and if a user sends HTML-based
		email into Bugzilla the resulting comment looks downright awful.
409 410 411 412 413 414 415 416 417
	      </para>
	    </note>
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
418 419 420 421
	    Does Bugzilla allow data to be imported and exported? If I had outsiders
	    write up a bug report using a MS Word bug template, could that template be
	    imported into "matching" fields? If I wanted to take the results of a query
	    and export that data to MS Excel, could I do that?
422 423 424 425
	  </para>
	</question>
	<answer>
	  <para>
426 427 428 429
	    Mozilla allows data export through a custom DTD in XML format.
	    It does not, however, export to specific formats other than the
	    XML Mozilla DTD.  Importing the data into Excel or any other application
	    is left as an exercise for the reader.
430 431
	  </para>
	  <para>
432 433 434
	    If you create import filters to other applications from Mozilla's XML,
	    please submit your modifications for inclusion in future Bugzilla
	    distributions.
435 436
	  </para>
	  <para>
437 438 439 440 441 442 443
	    As for data import, any application can send data to Bugzilla through
	    the HTTP protocol, or through Mozilla's XML API.  However, it seems
	    kind of silly to put another front-end in front of Bugzilla;
	    it makes more sense to create a simplified bug submission form in
	    HTML.  You can find an excellent example at
	    <ulink url="http://www.mozilla.org/quality/help/bugzilla-helper.html">
	    http://www.mozilla.org/quality/help/bugzilla-helper.html</ulink>
444 445 446 447 448 449 450
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
451 452
	    Has anyone converted Bugzilla to another language to be used in other
	    countries? Is it localizable?
453 454 455 456
	  </para>
	</question>
	<answer>
	  <para>
457 458 459 460
	    To a certain extent, yes. 2.16's templates mean that you can localise
      the user-facing UI (and several projects are doing exactly that.) However,
      error messages and the admin interface are currently not localisable.
      This should be achieved by 2.18.
461 462 463 464 465 466 467
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
468 469
	    Can a user create and save reports? Can they do this in Word format?
	    Excel format?
470 471 472 473 474 475 476 477 478 479 480 481
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.  No.  No.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
482 483
	    Does Bugzilla have the ability to search by word, phrase, compound
	    search?
484 485 486 487
	  </para>
	</question>
	<answer>
	  <para>
488 489
	    You have no idea.  Bugzilla's query interface, particularly with the
	    advanced Boolean operators, is incredibly versatile.
490 491 492 493 494 495 496
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
497 498 499
	     Does Bugzilla provide record locking when there is simultaneous access
	    to the same bug? Does the second person get a notice that the bug is in use
	    or how are they notified?
500 501 502 503
	  </para>
	</question>
	<answer>
	  <para>
504 505
	    Bugzilla does not lock records.  It provides mid-air collision detection,
	    and offers the offending user a choice of options to deal with the conflict.
506 507 508 509 510 511 512 513 514 515 516 517
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Are there any backup features provided?
	  </para>
	</question>
	<answer>
	  <para>
518 519 520 521
	    MySQL, the database back-end for Bugzilla, allows hot-backup of data.
	    You can find strategies for dealing with backup considerations
	    at <ulink url="http://www.mysql.com/doc/B/a/Backup.html">
	    http://www.mysql.com/doc/B/a/Backup.html</ulink>
522 523 524 525 526 527 528 529 530 531 532 533
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Can users be on the system while a backup is in progress?
	  </para>
	</question>
	<answer>
	  <para>
534 535
	    Yes.  However, commits to the database must wait
	    until the tables are unlocked.  Bugzilla databases are typically
536 537 538 539 540 541 542 543
	    very small, and backups routinely take less than a minute.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
544 545 546 547 548
	    What type of human resources are needed to be on staff to install and
	    maintain Bugzilla? Specifically, what type of skills does the person need to
	    have? I need to find out if we were to go with Bugzilla, what types of
	    individuals would we need to hire and how much would that cost vs buying an
	    "Out-of-the-Box" solution.
549 550 551 552
	  </para>
	</question>
	<answer>
	  <para>
553 554
	    If Bugzilla is set up correctly from the start, continuing maintenance
      needs are minimal and can be done easily using the web interface.
555 556
	  </para>
	  <para>
557 558
	    Commercial Bug-tracking software typically costs somewhere upwards
	    of $20,000 or more for 5-10 floating licenses.  Bugzilla consultation
559 560
	    is available from skilled members of the newsgroup. Simple questions
      are answered there and then.
561 562 563 564 565 566 567
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
568 569 570 571 572
	    What time frame are we looking at if we decide to hire people to install
	    and maintain the Bugzilla? Is this something that takes hours or weeks to
	    install and a couple of hours per week to maintain and customize or is this
	    a multi-week install process, plus a full time job for 1 person, 2 people,
	    etc?
573 574 575 576
	  </para>
	</question>
	<answer>
	  <para>
577 578 579 580 581
	    It all depends on your level of commitment.  Someone with much Bugzilla
	    experience can get you up and running in less than a day, and
	    your Bugzilla install can run untended for years.  If your
	    Bugzilla strategy is critical to your business workflow, hire somebody
	    with reasonable UNIX or Perl skills to handle your process management and
582
	    bug-tracking maintenance &amp; customization.
583 584 585 586 587 588 589
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
590 591
	    Is there any licensing fee or other fees for using Bugzilla? Any
	    out-of-pocket cost other than the bodies needed as identified above?
592 593 594 595
	  </para>
	</question>
	<answer>
	  <para>
596 597
	    No.  MySQL asks, if you find their product valuable, that you purchase
	    a support contract from them that suits your needs.
598 599 600 601 602
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

603
    <qandadiv id="faq-security">
604 605 606 607 608
      <title>Bugzilla Security</title>

      <qandaentry>
	<question>
	  <para>
609
	    How do I completely disable MySQL security if it's giving me problems
610
	    (I've followed the instructions in the installation section of this guide)?
611 612 613 614
	  </para>
	</question>
	<answer>
	  <para>
615 616
	    Run MySQL like this: "mysqld --skip-grant-tables".  Please remember <emphasis>this
	    makes MySQL as secure as taping a $100 to the floor of a football stadium
617
	    bathroom for safekeeping.</emphasis> 
618 619 620 621 622 623 624 625 626 627 628 629
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Are there any security problems with Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
630 631 632
	    The Bugzilla code has undergone a reasonably complete security audit,
      and user-facing CGIs run under Perl's taint mode. However, 
	    it is recommended that you closely examine permissions on your Bugzilla
633 634
	    installation, and follow the recommended security guidelines found
	    in The Bugzilla Guide.
635 636 637 638 639 640 641 642
	  </para>
	</answer>
      </qandaentry>


      <qandaentry>
	<question>
	  <para>
643 644 645
	    I've implemented the security fixes mentioned in Chris Yeh's security
	    advisory of 5/10/2000 advising not to run MySQL as root, and am running into
	    problems with MySQL no longer working correctly.
646 647 648 649
	  </para>
	</question>
	<answer>
	  <para>
650 651 652
	    This is a common problem, related to running out of file descriptors.
	    Simply add "ulimit -n unlimited" to the script which starts
	    mysqld.
653 654 655 656 657
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

658
    <qandadiv id="faq-email">
659 660 661 662 663
      <title>Bugzilla Email</title>

      <qandaentry>
	<question>
	  <para>
664 665
	    I have a user who doesn't want to receive any more email from Bugzilla.
	    How do I stop it entirely for this user?
666 667 668 669
	  </para>
	</question>
	<answer>
	  <para>
670 671
	    The user should be able to set
	    this in user email preferences (uncheck all boxes.)
672 673 674 675 676 677 678
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
679 680
	    I'm evaluating/testing Bugzilla, and don't want it to send email to
	    anyone but me. How do I do it?
681 682 683 684
	  </para>
	</question>
	<answer>
	  <para>
685 686
	    Edit the "changedmail" Param. Replace "To:" with "X-Real-To:",
	    replace "Cc:" with "X-Real-CC:", and add a "To: &lt;youremailaddress&gt;".
687 688 689 690 691 692 693
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
694 695
	    I want whineatnews.pl to whine at something more, or other than, only new
	    bugs. How do I do it?
696 697 698 699
	  </para>
	</question>
	<answer>
	  <para>
700 701 702 703 704
	    Try Klaas Freitag's excellent patch for "whineatassigned" functionality.
	    You can find it at<ulink url=" http://bugzilla.mozilla.org/show_bug.cgi?id=6679">
	      http://bugzilla.mozilla.org/show_bug.cgi?id=6679</ulink>. This
	    patch is against an older version of Bugzilla, so you must apply
	    the diffs manually.
705 706 707 708 709 710 711
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
712 713
	    I don't like/want to use Procmail to hand mail off to bug_email.pl.
	    What alternatives do I have?
714 715 716 717
	  </para>
	</question>
	<answer>
	  <para>
718 719
	    You can call bug_email.pl directly from your aliases file, with
	    an entry like this:
720 721
	    <blockquote>
	      <para>
722
		bugzilla-daemon: "|/usr/local/bin/bugzilla/contrib/bug_email.pl"
723
	      </para>
724 725 726 727
	    </blockquote>
	    However, this is fairly nasty and subject to problems; you also
	    need to set up your smrsh (sendmail restricted shell) to allow
	    it.  In a pinch, though, it can work.
728 729 730 731 732 733 734
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
735
	    How do I set up the email interface to submit/change bugs via email?
736 737 738 739
	  </para>
	</question>
	<answer>
	  <para>
740 741
	    You can find an updated README.mailif file in the contrib/ directory
	    of your Bugzilla distribution that walks you through the setup.
742 743 744 745 746 747 748
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
749
	    Email takes FOREVER to reach me from Bugzilla -- it's extremely slow.
750
	    What gives?
751 752 753 754
	  </para>
	</question>
	<answer>
	  <para>
755
	    If you are using an alternate Mail Transport Agent (MTA other than
756 757
	    sendmail), make sure the options given in the "processmail" and other
      scripts for all
758
	    instances of "sendmail" are correct for your MTA.
759 760
	  </para>
	  <para>
761 762
	    If you are using Sendmail, try enabling "sendmailnow" in editparams.cgi.
            If you are using Postfix, you will also need to enable <quote>sendmailnow</quote>.
763 764 765 766 767 768 769
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
770
	     How come email from Bugzilla changes never reaches me?
771 772 773 774
	  </para>
	</question>
	<answer>
	  <para>
775 776 777 778
	    Double-check that you have not turned off email in your user preferences.
	    Confirm that Bugzilla is able to send email by visiting the "Log In"
	    link of your Bugzilla installation and clicking the "Email me a password"
	    button after entering your email address.
779 780
	  </para>
	  <para>
781 782 783
	    If you never receive mail from Bugzilla, chances you do not have
	    sendmail in "/usr/lib/sendmail".  Ensure sendmail lives in, or is symlinked
	    to, "/usr/lib/sendmail".
784 785 786 787 788
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

789
    <qandadiv id="faq-db">
790 791 792 793 794 795 796 797 798 799
      <title>Bugzilla Database</title>

      <qandaentry>
	<question>
	  <para>
	    I've heard Bugzilla can be used with Oracle?
	  </para>
	</question>
	<answer>
	  <para>
800
	    Red Hat Bugzilla works with Oracle.  The current version
801 802
	    from Mozilla.org does not have this capability.  Unfortunately, though
	    you will sacrifice a lot of the really great features available in
803
	    Bugzilla 2.14 and 2.16 if you go with the 2.8-based Redhat version.
804 805 806 807 808 809 810
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
811 812
	    I think my database might be corrupted, or contain invalid entries. What
	    do I do?
813 814 815 816
	  </para>
	</question>
	<answer>
	  <para>
817 818 819 820 821 822 823 824 825 826 827 828 829 830 831
	    Run the <quote>sanity check</quote> utility
	    (<filename>./sanitycheck.cgi</filename> in the
	    Bugzilla_home directory) from your web browser to see! If
	    it finishes without errors, you're
	    <emphasis>probably</emphasis> OK.  If it doesn't come back
	    OK (i.e. any red letters), there are certain things
	    Bugzilla can recover from and certain things it can't.  If
	    it can't auto-recover, I hope you're familiar with
	    mysqladmin commands or have installed another way to
	    manage your database.  Sanity Check, although it is a good
	    basic check on your database integrity, by no means is a
	    substitute for competent database administration and
	    avoiding deletion of data.  It is not exhaustive, and was
	    created to do a basic check for the most common problems
	    in Bugzilla databases.
832 833 834 835 836 837 838 839 840 841 842 843
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    I want to manually edit some entries in my database. How?
	  </para>
	</question>
	<answer>
	  <para>
844 845 846 847 848 849
	     There is no facility in Bugzilla itself to do this. It's also generally
	    not a smart thing to do if you don't know exactly what you're doing.
	    However, if you understand SQL you can use the mysqladmin utility to
	    manually insert, delete, and modify table information. Personally, I
	    use "phpMyAdmin". You have to compile a PHP module with MySQL
	    support to make it work, but it's very clean and easy to use.
850 851 852 853 854 855 856
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
857
	    I try to add myself as a user, but Bugzilla always tells me my password is wrong.
858 859 860 861
	  </para>
	</question>
	<answer>
	  <para>
862 863 864
	    Certain version of MySQL (notably, 3.23.29 and 3.23.30) accidentally disabled
	    the "crypt()" function.  This prevented MySQL from storing encrypted passwords.
	    Upgrade to the "3.23 stable" version of MySQL and you should be good to go.
865 866 867 868 869 870 871
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
872
	    I think I've set up MySQL permissions correctly, but Bugzilla still can't
873
	    connect.
874 875 876 877
	  </para>
	</question>
	<answer>
	  <para>
878 879 880 881 882
	    Try running MySQL from its binary: "mysqld --skip-grant-tables". This
	    will allow you to completely rule out grant tables as the cause of your
	    frustration. However, I do not recommend you run it this way on a regular
	    basis, unless you really want your web site defaced and your machine
	    cracked.
883 884 885 886 887 888 889
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
890 891
	    How do I synchronize bug information among multiple different Bugzilla
	    databases?
892 893 894 895
	  </para>
	</question>
	<answer>
	  <para>
896 897 898 899
	    Well, you can synchronize or you can move bugs.  Synchronization will
	    only work one way -- you can create a read-only copy of the database
	    at one site, and have it regularly updated at intervals from the main
	    database.
900 901
	  </para>
	  <para>
902 903 904 905
	    MySQL has some synchronization features builtin to the latest releases.
	    It would be great if someone looked into the possibilities there
	    and provided a report to the newsgroup on how to effectively
	    synchronize two Bugzilla installations.
906 907
	  </para>
	  <para>
908 909
	    If you simply need to transfer bugs from one Bugzilla to another,
	    checkout the "move.pl" script in the Bugzilla distribution.
910 911 912 913 914
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

915
    <qandadiv id="faq-nt">
916 917 918 919 920
      <title>Bugzilla and Win32</title>

      <qandaentry>
	<question>
	  <para>
921
	    What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
922 923 924 925
	  </para>
	</question>
	<answer>
	  <para>
926 927
	    Remove Windows. Install Linux. Install Bugzilla.
	    The boss will never know the difference.
928 929 930 931 932 933 934 935 936 937 938 939
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Is there a "Bundle::Bugzilla" equivalent for Win32?
	  </para>
	</question>
	<answer>
	  <para>
940 941 942
	    Not currently.  Bundle::Bugzilla enormously simplifies Bugzilla
	    installation on UNIX systems.  If someone can volunteer to
	    create a suitable PPM bundle for Win32, it would be appreciated.
943 944 945 946 947 948 949
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
950 951
	    CGI's are failing with a "something.cgi is not a valid Windows NT
	    application" error. Why?
952 953 954 955
	  </para>
	</question>
	<answer>
	  <para>
956 957 958
	    Depending on what Web server you are using, you will have to configure
	    the Web server to treat *.cgi files as CGI scripts. In IIS, you do this by
	    adding *.cgi to the App Mappings with the &lt;path&gt;\perl.exe %s %s as the
959 960 961 962 963 964
	    executable.
	  </para>
	  <para>
	    Microsoft has some advice on this matter, as well:
	    <blockquote>
	      <para>
965 966 967 968 969 970 971 972
		"Set application mappings. In the ISM, map the extension for the script
		file(s) to the executable for the script interpreter. For example, you might
		map the extension .py to Python.exe, the executable for the Python script
		interpreter. Note For the ActiveState Perl script interpreter, the extension
		.pl is associated with PerlIS.dll by default. If you want to change the
		association of .pl to perl.exe, you need to change the application mapping.
		In the mapping, you must add two percent (%) characters to the end of the
		pathname for perl.exe, as shown in this example: c:\perl\bin\perl.exe %s %s"
973 974 975 976 977 978
	      </para>
	    </blockquote>
	  </para>
	</answer>
      </qandaentry>

979 980 981 982 983
      <qandaentry>
	<question>
	  <para>
	    I'm having trouble with the perl modules for NT not being able to talk to
	    to the database.
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011
	  </para>
	</question>
	<answer>
	  <para>
	    Your modules may be outdated or inaccurate. Try:
	    <orderedlist>
	      <listitem>
		<para>
		  Hitting http://www.activestate.com/ActivePerl
		</para>
	      </listitem>
	      <listitem>
		<para>
		  Download ActivePerl
		</para>
	      </listitem>
	      <listitem>
		<para>
		  Go to your prompt
		</para>
	      </listitem>
	      <listitem>
		<para>
		  Type 'ppm'
		</para>
	      </listitem>
	      <listitem>
		<para>
1012
		  <prompt>PPM></prompt> <command>install DBI DBD-mysql GD</command>
1013 1014
		</para>
	      </listitem>
1015 1016 1017 1018 1019
	    </orderedlist>
	    I reckon TimeDate and Data::Dumper come with the activeperl. You can check
	    the ActiveState site for packages for installation through PPM.
	    <ulink url=" http://www.activestate.com/Packages/">
	      http://www.activestate.com/Packages/</ulink>
1020 1021 1022 1023 1024 1025
	  </para>
	</answer>
      </qandaentry>

    </qandadiv>

1026
    <qandadiv id="faq-use">
1027 1028
      <title>Bugzilla Usage</title>

1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
      <qandaentry>
	<question>
	  <para>
	    How do I change my user name (email address) in Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
	    New in 2.16 - go to the Account section of the Preferences. You will
      be emailed at both addresses for confirmation.
	  </para>
	</answer>
      </qandaentry>

1043 1044 1045
      <qandaentry>
	<question>
	  <para>
1046
	    The query page is very confusing.  Isn't there a simpler way to query?
1047 1048 1049 1050
	  </para>
	</question>
	<answer>
	  <para>
1051 1052 1053
	    The interface was simplified by a UI designer for 2.16. Further
      suggestions for improvement are welcome, but we won't sacrifice power for
      simplicity.
1054 1055 1056 1057 1058 1059 1060
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1061 1062
	    I'm confused by the behavior of the "accept" button in the Show Bug form.
	    Why doesn't it assign the bug to me when I accept it?
1063 1064 1065 1066
	  </para>
	</question>
	<answer>
	  <para>
1067
	    The current behavior is acceptable to bugzilla.mozilla.org and most
1068
	    users.  You have your choice of patches
1069
	    to change this behavior, however.
1070
	    <simplelist>
1071 1072 1073 1074 1075
	      <member><ulink url="http://bugzilla.mozilla.org/showattachment.cgi?attach_id=8029">
		Add a "and accept bug" radio button</ulink></member>
	      <member><ulink url="http://bugzilla.mozilla.org/showattachment.cgi?attach_id=8153">
		"Accept" button automatically assigns to you</ulink></member>
	    </simplelist>
1076 1077
	    Note that these patches are somewhat dated.  You will need to apply
      them manually.  
1078 1079 1080 1081 1082 1083 1084
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1085 1086
	    I can't upload anything into the database via the "Create Attachment"
	    link.  What am I doing wrong?
1087 1088 1089 1090
	  </para>
	</question>
	<answer>
	  <para>
1091 1092 1093
	    The most likely cause is a very old browser or a browser that is
	    incompatible with file upload via POST.  Download the latest Netscape,
	    Microsoft, or Mozilla browser to handle uploads correctly.
1094 1095 1096 1097 1098 1099 1100
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1101 1102
	    Email submissions to Bugzilla that have attachments end up asking me to
	    save it as a "cgi" file.
1103 1104 1105 1106
	  </para>
	</question>
	<answer>
	  <para>
1107
	    Yup.  Just rename it once you download it, or save it under a different
1108
	    filename.  This will not be fixed anytime soon, because it would
1109
	    cripple some other functionality.
1110 1111 1112 1113 1114 1115 1116
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1117
	    How do I change a keyword in Bugzilla, once some bugs are using it?
1118 1119 1120 1121
	  </para>
	</question>
	<answer>
	  <para>
1122 1123 1124
	    In the Bugzilla administrator UI, edit the keyword and it will let you
	    replace the old keyword name with a new one.  This will cause a problem
	    with the keyword cache.  Run sanitycheck.cgi to fix it.
1125 1126 1127 1128 1129 1130
	  </para>
	</answer>
      </qandaentry>

    </qandadiv>

1131
    <qandadiv id="faq-hacking">
1132 1133 1134 1135 1136 1137 1138 1139 1140 1141
      <title>Bugzilla Hacking</title>

      <qandaentry>
	<question>
	  <para>
	    What bugs are in Bugzilla right now?
	  </para>
	</question>
	<answer>
	  <para>
1142
	    Try <ulink url="http://bugzilla.mozilla.org/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;product=Bugzilla">
1143 1144
	    this link</ulink> to view current bugs or requests for
	    enhancement for Bugzilla.
1145 1146
	  </para>
	  <para>
1147 1148 1149
	    You can view bugs marked for 2.18 release
	    <ulink url="http://bugzilla.mozilla.org/buglist.cgi?product=Bugzilla&amp;target_milestone=Bugzilla+2.18">here</ulink>.
	    This list includes bugs for the 2.18 release that have already
1150 1151 1152 1153 1154
	    been fixed and checked into CVS.  Please consult the
	    <ulink url="http://www.mozilla.org/projects/bugzilla/">
	      Bugzilla Project Page</ulink> for details on how to
	    check current sources out of CVS so you can have these
	    bug fixes early!
1155 1156 1157 1158
	  </para>
	</answer>
      </qandaentry>

1159 1160 1161
      <qandaentry>
	<question>
	  <para>
1162 1163
	    How can I change the default priority to a null value?  For instance, have the default
	    priority be "---" instead of "P2"?
1164 1165 1166 1167
	  </para>
	</question>
	<answer>
	  <para>
1168 1169 1170 1171
	    This is well-documented here: <ulink url="http://bugzilla.mozilla.org/show_bug.cgi?id=49862">
	    http://bugzilla.mozilla.org/show_bug.cgi?id=49862</ulink>.  Ultimately, it's as easy
	    as adding the "---" priority field to your localconfig file in the appropriate area,
	    re-running checksetup.pl, and then changing the default priority in your browser using
1172
	    "editparams.cgi". 
1173 1174 1175 1176
	  </para>
	</answer>
      </qandaentry>

1177 1178 1179
      <qandaentry>
	<question>
	  <para>
1180
	    What's the best way to submit patches?  What guidelines should I follow?
1181 1182 1183 1184 1185 1186 1187
	  </para>
	</question>
	<answer>
	  <blockquote>
	    <orderedlist>
	      <listitem>
		<para>
1188 1189 1190
		  Enter a bug into bugzilla.mozilla.org for the <quote><ulink
                  url="http://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla">Bugzilla</ulink></quote>
                  product.
1191 1192 1193 1194
		</para>
	      </listitem>
	      <listitem>
		<para>
1195
		  Upload your patch as a unified diff (having used "diff -u" against
1196 1197 1198 1199
		  the <emphasis>current sources</emphasis> checked out of CVS),
		  or new source file by clicking
		  "Create a new attachment" link on the bug page you've just created, and
		  include any descriptions of database changes you may make, into the bug
1200 1201
		  ID you submitted in step #1.  Be sure and click the "Patch" checkbox
		  to indicate the text you are sending is a patch!
1202 1203 1204 1205 1206
		</para>
	      </listitem>
	      <listitem>
		<para>
		  Announce your patch and the associated URL
1207
		  (http://bugzilla.mozilla.org/show_bug.cgi?id=XXXXXX) for discussion in
1208 1209 1210 1211
		  the newsgroup (netscape.public.mozilla.webtools).  You'll get a really
		  good, fairly immediate reaction to the implications of your patch,
		  which will also give us an idea how well-received the change would
		  be.
1212 1213 1214 1215
		</para>
	      </listitem>
	      <listitem>
		<para>
1216 1217 1218
		  If it passes muster with minimal modification, the person to whom
		  the bug is assigned in Bugzilla is responsible for seeing the patch
		  is checked into CVS.
1219 1220 1221 1222
		</para>
	      </listitem>
	      <listitem>
		<para>
1223 1224
		  Bask in the glory of the fact that you helped write the most successful
		  open-source bug-tracking software on the planet :)
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236
		</para>
	      </listitem>
	    </orderedlist>
	  </blockquote>
	</answer>
      </qandaentry>


    </qandadiv>

  </qandaset>

1237
</appendix>
1238 1239 1240 1241 1242 1243


<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-always-quote-attributes:t
1244 1245
sgml-auto-insert-required-elements:t
sgml-balanced-tag-edit:t
1246
sgml-exposed-tags:nil
1247 1248 1249
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
1250 1251
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
1252 1253 1254 1255 1256 1257
sgml-minimize-attributes:nil
sgml-namecase-general:t
sgml-omittag:t
sgml-parent-document:("Bugzilla-Guide.sgml" "book" "chapter")
sgml-shorttag:t
sgml-tag-region-if-active:t
1258 1259
End:
-->