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

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

  <qandaset>


9
    <qandadiv id="faq-general">
10 11 12 13 14 15 16 17 18 19
      <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
20 21
	    information at <ulink url="http://www.bugzilla.org/">
	    http://www.bugzilla.org/</ulink>
22 23 24 25 26 27 28 29 30 31 32 33
	  </para>
	</answer>
      </qandaentry>

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

      <qandaentry>
	<question>
	  <para>
	    How do I get commercial support for Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
49 50 51 52
	    <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.
53 54
	  </para>
	  <para>
55 56
	    There are several experienced
	    Bugzilla hackers on the mailing list/newsgroup who are willing
57
	    to make themselves available for generous compensation.
58
	    Try sending a message to the mailing list asking for a volunteer.
59 60 61 62 63 64 65
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
66 67
	    What major companies or projects are currently using Bugzilla
	    for bug-tracking?
68 69 70 71
	  </para>
	</question>
	<answer>
	  <para>
72 73
	    There are <emphasis>dozens</emphasis> of major comapanies with public
	    Bugzilla sites to track bugs in their products.  A few include:
74 75 76
	    <simplelist>
	      <member>Netscape/AOL</member>
	      <member>Mozilla.org</member>
77
	      <member>NASA</member>
78 79 80 81 82 83 84 85 86 87 88 89
	      <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>
90
	      <member>Ximian</member>
91 92 93 94
	      <member>Linux-Mandrake</member>
	    </simplelist>
	  </para>
	  <para>
95 96
	    Suffice to say, there are more than enough huge projects using Bugzilla
	    that we can safely say it's extremely popular.
97 98 99 100 101 102 103 104 105 106 107 108
	  </para>
	</answer>
      </qandaentry>

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

      <qandaentry>
	<question>
	  <para>
119
	    How does Bugzilla stack up against other bug-tracking databases?
120 121 122 123
	  </para>
	</question>
	<answer>
	  <para>
124 125 126 127 128 129 130 131 132
	    A year has gone by, and I <emphasis>still</emphasis> can't
	    find any head-to-head comparisons of Bugzilla against
	    other defect-tracking software.  However, from my personal
	    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.
133 134
	  </para>
	  <para>
135
	    If you happen to be a commercial bug-tracker vendor, please
136 137 138 139
	    step forward with a rebuttal so I can include it in the
	    FAQ.  We're not in pursuit of Bugzilla ueber alles; we
	    simply love having a powerful, open-source tool to get our
	    jobs done.
140 141 142 143 144 145 146
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
147
	    How do I change my user name (email address) in Bugzilla?
148 149 150 151
	  </para>
	</question>
	<answer>
	  <para>
152 153
	    New in 2.16 - go to the Account section of the Preferences. You will
      be emailed at both addresses for confirmation.
154 155 156 157 158 159 160
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
161 162
	    Why doesn't Bugzilla offer this or that feature or compatability
	    with this other tracking software?
163 164 165 166
	  </para>
	</question>
	<answer>
	  <para>
167 168 169 170 171
	    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.
172 173
	  </para>
	  <para>
174 175 176 177
	    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
178
	    at <ulink url="http://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla">bugzilla.mozilla.org</ulink>.
179 180 181 182 183 184 185 186 187 188 189 190
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Why MySQL?  I'm interested in seeing Bugzilla run on
	    Oracle/Sybase/Msql/PostgreSQL/MSSQL?
	  </para>
	</question>
	<answer>
191 192 193 194
	  <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>
195 196 197 198 199 200
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
201 202
	    Why do the scripts say "/usr/bonsaitools/bin/perl" instead of
	    "/usr/bin/perl" or something else?
203 204 205 206
	  </para>
	</question>
	<answer>
	  <para>
207 208 209
	     Mozilla.org uses /usr/bonsaitools/bin/perl. The prime rule in making
	    submissions is "don't break bugzilla.mozilla.org". If it breaks it, your
	    patch will be reverted faster than you can do a diff.
210 211
	  </para>
	  <para>
212
	    Here's Terry Weissman's comment, for some historical context:
213 214
	    <blockquote>
	      <para>
215 216 217 218
		[This was] purely my own convention. I wanted a place to put a version of
		Perl and other tools that was strictly under my control for the
		various webtools, and not subject to anyone else. Edit it to point
		to whatever you like.
219 220 221
	      </para>
	      <note>
		<para>
222 223 224 225
		  We always recommend that, if possible, you keep the path
		  as /usr/bonsaitools/bin/perl, and simply add a /usr/bonsaitools
		  and /usr/bonsaitools/bin directory, then symlink your version
		  of perl to /usr/bonsaitools/bin/perl.  This will make upgrading
226 227 228 229 230 231 232 233 234 235
		  your Bugzilla much easier in the future.
		</para>
	      </note>
	    </blockquote>
	  </para>
	</answer>
      </qandaentry>

    </qandadiv>

236
    <qandadiv id="faq-phb">
237
      <title>Pointy-Haired-Boss Questions</title>
238 239 240
      <para>
	<note>
	  <para>
241 242
	    The title of this section doesn't mean you're a PHB -- it just means
	    you probably HAVE a PHB who wants to know this :)
243 244 245
	  </para>
	</note>
      </para>
246 247 248 249

      <qandaentry>
	<question>
	  <para>
250 251
	    Is Bugzilla web-based or do you have to have specific software or
	    specific operating system on your machine?
252 253 254 255
	  </para>
	</question>
	<answer>
	  <para>
256 257
	    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.
258 259 260 261 262 263 264
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
265 266
	    Has anyone you know of already done any Bugzilla integration with
	    Perforce (SCM software)?
267 268 269 270
	  </para>
	</question>
	<answer>
	  <para>
271 272
	    Yes!  You can find more information elsewhere in "The Bugzilla
	    Guide" in the "Integration with Third-Party Products" section.
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Does Bugzilla allow the user to track multiple projects?
	  </para>
	</question>
	<answer>
	  <para>
	    Absolutely!  You can track up to a "soft-limit" of around
	    64 individual "Products", that can each be composed of as
	    many "Components" as you want.  Check the Administration
288 289
	    section of the Bugzilla Guide for more information regarding
	    setting up Products and Components.
290 291 292 293 294 295 296
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
297 298
	    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?
299 300 301 302 303 304 305 306 307 308 309 310
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
311 312
	    Does Bugzilla allow attachments (text, screenshots, urls etc)? If yes,
	    are there any that are NOT allowed?
313 314 315 316
	  </para>
	</question>
	<answer>
	  <para>
317 318 319
	    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,
320
	    but you may specify any arbitrary MIME-type you need when you
321
	    upload the file. 
322 323 324 325 326 327 328
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
329 330 331
	    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?
332 333 334 335
	  </para>
	</question>
	<answer>
	  <para>
336 337 338
	    Yes.  However, modifying some fields, notably those related to bug
	    progression states, also require adjusting the program logic to
	    compensate for the change.
339
	  </para>
340 341 342 343 344 345
	  <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>
346 347 348
	</answer>
      </qandaentry>

349 350 351 352

      <qandaentry>
	<question>
	  <para>
353
	    The index.html page doesn't show the footer.  It's really annoying to have
354
	    to go to the querypage just to check my "my bugs" link.
355 356 357
	  </para>
	</question>
	<answer>
358
          <para>If you upgrade to 2.16, the index page has a footer.
359
          </para>
360 361
	</answer>
      </qandaentry>
362 363 364
      <qandaentry>
	<question>
	  <para>
365 366
	    Does Bugzilla provide any reporting features, metrics, graphs, etc? You
	    know, the type of stuff that management likes to see. :)
367 368 369 370
	  </para>
	</question>
	<answer>
	  <para>
371 372 373
	    Yes.  Look at <ulink url="http://bugzilla.mozilla.org/reports.cgi">
	    http://bugzilla.mozilla.org/reports.cgi</ulink> for basic reporting
	    facilities.
374 375
	  </para>
	  <para>
376 377 378 379 380 381
	    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.
382 383 384 385 386 387 388
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
389 390
	    Is there email notification and if so, what do you see when you get an
	    email? Do you see bug number and title or is it only the number?
391 392 393 394
	  </para>
	</question>
	<answer>
	  <para>
395 396
	    Email notification is user-configurable.  By default, the bug id and 
      Summary of the bug report accompany each email notification, along with
397
	    a list of the changes made.
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
	  </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>
419 420
	    If there is email notification, do users have to have any particular
	    type of email application?
421 422 423 424
	  </para>
	</question>
	<answer>
	  <para>
425 426
	    Bugzilla email is sent in plain text, the most compatible mail format
	    on the planet.
427 428
	    <note>
	      <para>
429 430 431 432 433 434
		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.
435 436 437 438 439 440 441 442 443
	      </para>
	    </note>
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
444 445 446
	     If I just wanted to track certain bugs, as they go through life, can I
	    set it up to alert me via email whenever that bug changes, whether it be
	    owner, status or description etc.?
447 448 449 450
	  </para>
	</question>
	<answer>
	  <para>
451 452 453 454
	    Yes.  Place yourself in the "cc" field of the bug you wish to monitor.
	    Then change your "Notify me of changes to" field in the Email Settings
	    tab of the User Preferences screen in Bugzilla to the "Only those
	    bugs which I am listed on the CC line" option.
455 456 457 458 459 460 461
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
462 463 464 465
	    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?
466 467 468 469
	  </para>
	</question>
	<answer>
	  <para>
470 471 472 473
	    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.
474 475
	  </para>
	  <para>
476 477 478
	    If you create import filters to other applications from Mozilla's XML,
	    please submit your modifications for inclusion in future Bugzilla
	    distributions.
479 480
	  </para>
	  <para>
481 482 483 484 485 486 487
	    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>
488 489 490 491 492 493 494
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
495 496
	    Has anyone converted Bugzilla to another language to be used in other
	    countries? Is it localizable?
497 498 499 500
	  </para>
	</question>
	<answer>
	  <para>
501 502 503 504
	    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.
505 506 507 508 509 510 511
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
512 513
	    Can a user create and save reports? Can they do this in Word format?
	    Excel format?
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.  No.  No.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Can a user re-run a report with a new project, same query?
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
539
	    Can a user modify an existing report and then save it into another name?
540 541 542 543
	  </para>
	</question>
	<answer>
	  <para>
544 545
	    You can save an unlimited number of queries in Bugzilla.  You are free
	    to modify them and rename them to your heart's desire.
546 547 548 549 550 551 552
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
553 554
	    Does Bugzilla have the ability to search by word, phrase, compound
	    search?
555 556 557 558
	  </para>
	</question>
	<answer>
	  <para>
559 560
	    You have no idea.  Bugzilla's query interface, particularly with the
	    advanced Boolean operators, is incredibly versatile.
561 562 563 564 565 566 567
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
568 569
	    Can the admin person establish separate group and individual user
	    privileges?
570 571 572 573 574 575 576 577 578 579 580 581
	  </para>
	</question>
	<answer>
	  <para>
	    Yes.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
582 583 584
	     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?
585 586 587 588
	  </para>
	</question>
	<answer>
	  <para>
589 590
	    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.
591 592 593 594 595 596 597 598 599 600 601 602
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Are there any backup features provided?
	  </para>
	</question>
	<answer>
	  <para>
603 604 605 606
	    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>
607 608 609 610 611 612 613 614 615 616 617 618
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Can users be on the system while a backup is in progress?
	  </para>
	</question>
	<answer>
	  <para>
619 620
	    Yes.  However, commits to the database must wait
	    until the tables are unlocked.  Bugzilla databases are typically
621 622 623 624 625 626 627 628
	    very small, and backups routinely take less than a minute.
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
629 630 631 632 633
	    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.
634 635 636 637
	  </para>
	</question>
	<answer>
	  <para>
638 639 640
	    If Bugzilla is set up correctly from the start, continuing maintenance needs
	    are minimal and can be completed by unskilled labor.  Things like rotate
	    backup tapes and check log files for the word "error".
641 642
	  </para>
	  <para>
643 644
	    Commercial Bug-tracking software typically costs somewhere upwards
	    of $20,000 or more for 5-10 floating licenses.  Bugzilla consultation
645 646
	    is available from skilled members of the newsgroup. Simple questions
      are answered there and then.
647 648 649 650 651 652 653
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
654 655 656 657 658
	    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?
659 660 661 662
	  </para>
	</question>
	<answer>
	  <para>
663 664 665 666 667
	    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
668
	    bug-tracking maintenance &amp; customization.
669 670 671 672 673 674 675
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
676 677
	    Is there any licensing fee or other fees for using Bugzilla? Any
	    out-of-pocket cost other than the bodies needed as identified above?
678 679 680 681
	  </para>
	</question>
	<answer>
	  <para>
682 683
	    No.  MySQL asks, if you find their product valuable, that you purchase
	    a support contract from them that suits your needs.
684 685 686 687 688
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

689
    <qandadiv id="faq-install">
690 691 692 693 694 695 696 697 698
      <title>Bugzilla Installation</title>
      <qandaentry>
	<question>
	  <para>
	    How do I download and install Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
699 700 701
	    Check <ulink url="http://www.bugzilla.org/">
	    http://www.bugzilla.org/</ulink> for details.
	    Read the other parts of this Guide for installation instructions.
702 703 704 705 706 707 708 709 710 711 712 713
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    How do I install Bugzilla on Windows NT?
	  </para>
	</question>
	<answer>
	  <para>
714
	    Installation on Windows NT has its own section in
715
	    this document.
716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734
	  </para>
	</answer>
      </qandaentry>

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

    </qandadiv>

735
    <qandadiv id="faq-security">
736 737 738 739 740
      <title>Bugzilla Security</title>

      <qandaentry>
	<question>
	  <para>
741 742
	    How do I completely disable MySQL security if it's giving me problems
	    (I've followed the instructions in the installation section of this guide!)?
743 744 745 746
	  </para>
	</question>
	<answer>
	  <para>
747 748
	    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
749 750
	    bathroom for safekeeping.</emphasis>  Please read the Security section of the
	    Administration chapter of "The Bugzilla Guide" before proceeding.
751 752 753 754 755 756 757 758 759 760 761 762
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Are there any security problems with Bugzilla?
	  </para>
	</question>
	<answer>
	  <para>
763 764 765
	    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
766 767
	    installation, and follow the recommended security guidelines found
	    in The Bugzilla Guide.
768 769 770 771 772 773 774 775
	  </para>
	</answer>
      </qandaentry>


      <qandaentry>
	<question>
	  <para>
776 777 778
	    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.
779 780 781 782
	  </para>
	</question>
	<answer>
	  <para>
783 784 785
	    This is a common problem, related to running out of file descriptors.
	    Simply add "ulimit -n unlimited" to the script which starts
	    mysqld.
786 787 788 789 790
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

791
    <qandadiv id="faq-email">
792 793 794 795 796
      <title>Bugzilla Email</title>

      <qandaentry>
	<question>
	  <para>
797 798
	    I have a user who doesn't want to receive any more email from Bugzilla.
	    How do I stop it entirely for this user?
799 800 801 802
	  </para>
	</question>
	<answer>
	  <para>
803 804
	    The user should be able to set
	    this in user email preferences (uncheck all boxes.)
805 806 807 808 809 810 811
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
812 813
	    I'm evaluating/testing Bugzilla, and don't want it to send email to
	    anyone but me. How do I do it?
814 815 816 817
	  </para>
	</question>
	<answer>
	  <para>
818
	    Edit the "changedmail" param. Replace "To:" with "X-Real-To:",
819
	    replace "Cc:" with "X-Real-CC:", and add a "To: (myemailaddress)".
820 821 822 823 824 825 826
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
827 828
	    I want whineatnews.pl to whine at something more, or other than, only new
	    bugs. How do I do it?
829 830 831 832
	  </para>
	</question>
	<answer>
	  <para>
833 834 835 836 837
	    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.
838 839 840 841 842 843 844
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
845 846
	    I don't like/want to use Procmail to hand mail off to bug_email.pl.
	    What alternatives do I have?
847 848 849 850
	  </para>
	</question>
	<answer>
	  <para>
851 852
	    You can call bug_email.pl directly from your aliases file, with
	    an entry like this:
853 854
	    <blockquote>
	      <para>
855
		bugzilla-daemon: "|/usr/local/bin/bugzilla/contrib/bug_email.pl"
856
	      </para>
857 858 859 860
	    </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.
861 862 863 864 865 866 867
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
868
	    How do I set up the email interface to submit/change bugs via email?
869 870 871 872
	  </para>
	</question>
	<answer>
	  <para>
873 874
	    You can find an updated README.mailif file in the contrib/ directory
	    of your Bugzilla distribution that walks you through the setup.
875 876 877 878 879 880 881
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
882
	    Email takes FOREVER to reach me from Bugzilla -- it's extremely slow.
883
	    What gives?
884 885 886 887
	  </para>
	</question>
	<answer>
	  <para>
888
	    If you are using an alternate Mail Transport Agent (MTA other than
889 890
	    sendmail), make sure the options given in the "processmail" and other
      scripts for all
891
	    instances of "sendmail" are correct for your MTA.
892 893
	  </para>
	  <para>
894 895
	    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>.
896 897 898 899 900 901 902
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
903
	     How come email from Bugzilla changes never reaches me?
904 905 906 907
	  </para>
	</question>
	<answer>
	  <para>
908 909 910 911
	    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.
912 913
	  </para>
	  <para>
914 915 916
	    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".
917 918 919 920 921
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

922
    <qandadiv id="faq-db">
923 924 925 926 927 928 929 930 931 932
      <title>Bugzilla Database</title>

      <qandaentry>
	<question>
	  <para>
	    I've heard Bugzilla can be used with Oracle?
	  </para>
	</question>
	<answer>
	  <para>
933
	    Red Hat Bugzilla works with Oracle.  The current version
934 935
	    from Mozilla.org does not have this capability.  Unfortunately, though
	    you will sacrifice a lot of the really great features available in
936
	    Bugzilla 2.14 and 2.16 if you go with the 2.8-based Redhat version.
937 938 939 940 941 942 943
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
944 945
	    I think my database might be corrupted, or contain invalid entries. What
	    do I do?
946 947 948 949
	  </para>
	</question>
	<answer>
	  <para>
950 951 952 953 954 955 956 957 958 959 960 961 962 963 964
	    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.
965 966 967 968 969 970 971 972 973 974 975 976
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    I want to manually edit some entries in my database. How?
	  </para>
	</question>
	<answer>
	  <para>
977 978 979 980 981 982
	     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.
983 984 985 986 987 988 989
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
990
	    I try to add myself as a user, but Bugzilla always tells me my password is wrong.
991 992 993 994
	  </para>
	</question>
	<answer>
	  <para>
995 996 997
	    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.
998 999 1000 1001 1002 1003 1004
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1005 1006
	    I think I've set up MySQL permissions correctly, but bugzilla still can't
	    connect.
1007 1008 1009 1010
	  </para>
	</question>
	<answer>
	  <para>
1011 1012 1013 1014 1015
	    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.
1016 1017 1018 1019 1020 1021 1022
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1023 1024
	    How do I synchronize bug information among multiple different Bugzilla
	    databases?
1025 1026 1027 1028
	  </para>
	</question>
	<answer>
	  <para>
1029 1030 1031 1032
	    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.
1033 1034
	  </para>
	  <para>
1035 1036 1037 1038
	    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.
1039 1040
	  </para>
	  <para>
1041 1042
	    If you simply need to transfer bugs from one Bugzilla to another,
	    checkout the "move.pl" script in the Bugzilla distribution.
1043 1044 1045 1046 1047
	  </para>
	</answer>
      </qandaentry>
    </qandadiv>

1048
    <qandadiv id="faq-nt">
1049 1050 1051 1052 1053
      <title>Bugzilla and Win32</title>

      <qandaentry>
	<question>
	  <para>
1054
	    What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
1055 1056 1057 1058
	  </para>
	</question>
	<answer>
	  <para>
1059 1060
	    Remove Windows. Install Linux. Install Bugzilla.
	    The boss will never know the difference.
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
	    Is there a "Bundle::Bugzilla" equivalent for Win32?
	  </para>
	</question>
	<answer>
	  <para>
1073 1074 1075
	    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.
1076 1077 1078 1079 1080 1081 1082
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1083 1084
	    CGI's are failing with a "something.cgi is not a valid Windows NT
	    application" error. Why?
1085 1086 1087 1088
	  </para>
	</question>
	<answer>
	  <para>
1089 1090 1091
	    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
1092 1093 1094 1095 1096 1097
	    executable.
	  </para>
	  <para>
	    Microsoft has some advice on this matter, as well:
	    <blockquote>
	      <para>
1098 1099 1100 1101 1102 1103 1104 1105
		"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"
1106 1107 1108 1109 1110 1111
	      </para>
	    </blockquote>
	  </para>
	</answer>
      </qandaentry>

1112 1113 1114 1115 1116
      <qandaentry>
	<question>
	  <para>
	    I'm having trouble with the perl modules for NT not being able to talk to
	    to the database.
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144
	  </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>
1145
		  <prompt>PPM></prompt> <command>install DBI DBD-mysql GD</command>
1146 1147
		</para>
	      </listitem>
1148 1149 1150 1151 1152
	    </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>
1153 1154 1155 1156 1157 1158
	  </para>
	</answer>
      </qandaentry>

    </qandadiv>

1159
    <qandadiv id="faq-use">
1160 1161 1162 1163 1164
      <title>Bugzilla Usage</title>

      <qandaentry>
	<question>
	  <para>
1165
	    The query page is very confusing.  Isn't there a simpler way to query?
1166 1167 1168 1169
	  </para>
	</question>
	<answer>
	  <para>
1170 1171 1172
	    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.
1173 1174 1175 1176 1177 1178 1179
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1180 1181
	    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?
1182 1183 1184 1185
	  </para>
	</question>
	<answer>
	  <para>
1186 1187 1188
	    The current behavior is acceptable to bugzilla.mozilla.org and most
	    users.  I personally don't like it.  You have your choice of patches
	    to change this behavior, however.
1189
	    <simplelist>
1190 1191 1192 1193 1194 1195 1196
	      <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>
	    Note that these patches are somewhat dated.  You will need to do the find
	    and replace manually to apply them.  They are very small, though.  It is easy.
1197 1198 1199 1200 1201 1202 1203
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1204 1205
	    I can't upload anything into the database via the "Create Attachment"
	    link.  What am I doing wrong?
1206 1207 1208 1209
	  </para>
	</question>
	<answer>
	  <para>
1210 1211 1212
	    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.
1213 1214 1215 1216 1217 1218 1219
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1220 1221
	    Email submissions to Bugzilla that have attachments end up asking me to
	    save it as a "cgi" file.
1222 1223 1224 1225
	  </para>
	</question>
	<answer>
	  <para>
1226 1227 1228
	    Yup.  Just rename it once you download it, or save it under a different
	    filename.  This will not be fixed anytime too soon, because it would
	    cripple some other functionality.
1229 1230 1231 1232 1233 1234 1235
	  </para>
	</answer>
      </qandaentry>

      <qandaentry>
	<question>
	  <para>
1236
	    How do I change a keyword in Bugzilla, once some bugs are using it?
1237 1238 1239 1240
	  </para>
	</question>
	<answer>
	  <para>
1241 1242 1243
	    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.
1244 1245 1246 1247 1248 1249
	  </para>
	</answer>
      </qandaentry>

    </qandadiv>

1250
    <qandadiv id="faq-hacking">
1251 1252 1253 1254 1255 1256 1257 1258 1259 1260
      <title>Bugzilla Hacking</title>

      <qandaentry>
	<question>
	  <para>
	    What bugs are in Bugzilla right now?
	  </para>
	</question>
	<answer>
	  <para>
1261
	    Try <ulink url="http://bugzilla.mozilla.org/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;product=Bugzilla">
1262 1263
	    this link</ulink> to view current bugs or requests for
	    enhancement for Bugzilla.
1264 1265
	  </para>
	  <para>
1266 1267 1268
	    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
1269 1270 1271 1272 1273
	    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!
1274 1275 1276 1277
	  </para>
	</answer>
      </qandaentry>

1278 1279 1280
      <qandaentry>
	<question>
	  <para>
1281 1282
	    How can I change the default priority to a null value?  For instance, have the default
	    priority be "---" instead of "P2"?
1283 1284 1285 1286
	  </para>
	</question>
	<answer>
	  <para>
1287 1288 1289 1290 1291
	    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
	    "editparams.cgi".  Hmm, now that I think about it, that is kind of a klunky way to handle
1292
	    it, but for now it's what we have!  Although the bug has been closed "RESOLVED WONTFIX",
1293
	    there may be a better way to handle this...
1294 1295 1296 1297
	  </para>
	</answer>
      </qandaentry>

1298 1299 1300
      <qandaentry>
	<question>
	  <para>
1301
	    What's the best way to submit patches?  What guidelines should I follow?
1302 1303 1304 1305 1306 1307 1308
	  </para>
	</question>
	<answer>
	  <blockquote>
	    <orderedlist>
	      <listitem>
		<para>
1309 1310 1311
		  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.
1312 1313 1314 1315
		</para>
	      </listitem>
	      <listitem>
		<para>
1316
		  Upload your patch as a unified diff (having used "diff -u" against
1317 1318 1319 1320
		  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
1321 1322
		  ID you submitted in step #1.  Be sure and click the "Patch" checkbox
		  to indicate the text you are sending is a patch!
1323 1324 1325 1326 1327
		</para>
	      </listitem>
	      <listitem>
		<para>
		  Announce your patch and the associated URL
1328 1329 1330 1331 1332
		  (http://bugzilla.mozilla.org/show_bug.cgi?id=XXXX) for discussion in
		  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.
1333 1334 1335 1336
		</para>
	      </listitem>
	      <listitem>
		<para>
1337 1338 1339
		  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.
1340 1341 1342 1343
		</para>
	      </listitem>
	      <listitem>
		<para>
1344 1345
		  Bask in the glory of the fact that you helped write the most successful
		  open-source bug-tracking software on the planet :)
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
		</para>
	      </listitem>
	    </orderedlist>
	  </blockquote>
	</answer>
      </qandaentry>


    </qandadiv>

  </qandaset>

1358
</appendix>
1359 1360 1361 1362 1363 1364


<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-always-quote-attributes:t
1365 1366
sgml-auto-insert-required-elements:t
sgml-balanced-tag-edit:t
1367
sgml-exposed-tags:nil
1368 1369 1370
sgml-general-insert-case:lower
sgml-indent-data:t
sgml-indent-step:2
1371 1372
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
1373 1374 1375 1376 1377 1378
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
1379 1380
End:
-->