From f0324c374c51b61a8615044631337a60eb9a37a8 Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" <> Date: Fri, 3 Jan 2003 01:29:23 +0000 Subject: Recomiple the docs for the 2.17.3 release --- docs/html/Bugzilla-Guide.html | 1274 +++++++++----- docs/html/administration.html | 12 +- docs/html/cust-change-permissions.html | 306 ++++ docs/html/cust-templates.html | 30 +- docs/html/dbdoc.html | 4 +- docs/html/dbmodify.html | 184 ++ docs/html/extraconfig.html | 44 +- docs/html/faq.html | 538 +++--- docs/html/glossary.html | 2 +- docs/html/groups.html | 146 +- docs/html/index.html | 10 +- docs/html/installation.html | 22 +- docs/html/parameters.html | 37 +- docs/html/rhbugzilla.html | 23 +- docs/html/security.html | 334 +++- docs/html/stepbystep.html | 82 +- docs/html/troubleshooting.html | 4 +- docs/html/upgrading.html | 10 +- docs/html/variant-fenris.html | 2 + docs/html/variant-issuezilla.html | 2 + docs/html/variant-perforce.html | 2 + docs/html/variant-scarab.html | 2 + docs/html/variant-sourceforge.html | 2 + docs/html/win32.html | 8 +- docs/txt/Bugzilla-Guide.txt | 2956 ++++++++++++++++---------------- 25 files changed, 3713 insertions(+), 2323 deletions(-) create mode 100644 docs/html/cust-change-permissions.html create mode 100644 docs/html/dbmodify.html (limited to 'docs') diff --git a/docs/html/Bugzilla-Guide.html b/docs/html/Bugzilla-Guide.html index bc8f148cd..2e33a3c17 100644 --- a/docs/html/Bugzilla-Guide.html +++ b/docs/html/Bugzilla-Guide.html @@ -245,12 +245,12 @@ HREF="#security" >
5.7. Template CustomisationTemplate Customization
5.8. Change Permission CustomisationChange Permission Customization
5.9.
4-1. Installing ActivePerl ppd Modules on Microsoft Windows
4-2. Installing OpenInteract ppd Modules manually on Microsoft Windows
4-3. Removing encrypt() for Windows NT Bugzilla version 2.12 or earlier
MySQL database server - (3.22.5 or greater) + (3.23.6 or greater)

  • Perl - (5.005 or greater, 5.6.1 is recommended if you wish to + (5.6, 5.6.1 is recommended if you wish to use Bundle::Bugzilla)

  • Template - (v2.07) + (v2.08)

  • File::Temp (v1.804) (Prerequisite for Template) +> + (1.804) (Prerequisite for Template)

  • AppConfig - (v1.52) + (1.52)

  • Text::Wrap - (v2001.0131) + (2001.0131)

  • File::Spec - (v0.8.2) + (0.82)

  • DBD::mysql - (v1.2209) + (1.2209)

  • DBI - (v1.13) + (1.13)

  • CGI::Carp - (any) +> CGI + + (2.88)

  • GD - (v1.19) for bug charting + (1.20) for bug charting +

  • GD::Chart + (any) for bug charting +

  • GD::Text::Align + (any) for bug charting

  • Chart::Base - (v0.99c) for bug charting + (0.99c) for bug charting

  • perl.com for the rare *nix systems which don't have it. - Although Bugzilla runs with all post-5.005 - versions of Perl, it's a good idea to be up to the very latest version + Although Bugzilla runs with perl 5.6, + it's a good idea to be up to the very latest version if you can when running Bugzilla. As of this writing, that is Perl - version 5.6.1.


    4.1.5.1. DBI


    4.1.5.2. Data::Dumper


    4.1.5.3. MySQL-related modules


    4.1.5.4. TimeDate modules


    4.1.5.5. GD (optional)


    4.1.5.6. Chart::Base (optional)


    4.1.5.7. Template Toolkit

    When you install Template Toolkit, you'll get asked various questions about features to enable. The defaults are fine, except that it is recommended you use the high speed XS Stash of the Template - Toolkit, in order to achieve best performance. However, there are - known problems with XS Stash and Perl 5.005_02 and lower. If you - wish to use these older versions of Perl, please use the regular - stash.


    4.1.6. HTTP Server


    4.1.7. Bugzilla


    4.1.8. Setting Up the MySQL Database


    4.1.9.

    4.1.10. Securing MySQL


    4.1.11. Configuring Bugzilla

    4.2.1. Dependency Charts


    4.2.2. Bug Graphs


    4.2.3. The Whining Cron

    "UTF-8".

    Note: using <meta> tags to set the charset is not - recommended, as there's a bug in Netscape 4.x which causes pages - marked up in this way to load twice.

    Using <meta> tags to set the charset is not + recommended, as there's a bug in Netscape 4.x which causes pages + marked up in this way to load twice. See + bug + 126266 for more information including progress toward making + bugzilla charset aware by default. +

    From Andrew Pearson:


    4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1


    4.5.2. DBD::Sponge::db prepare failed

    usebuggroupsmakeproductgroups: - This dictates whether or not to implement group-based security for - Bugzilla. If set, Bugzilla bugs can have an associated 'group', - defining which users are allowed to see and edit the - bug.

    Set "usebuggroups" to "on" - only - if you may wish to restrict access to particular bugs to certain - groups of users. I suggest leaving - this parameter off - while initially testing your Bugzilla.

  • usebuggroupsentryuseentrygroupdefault: - Bugzilla Products can have a group associated with them, so that - certain users can only see bugs in certain products. When this parameter - is set to "on", this places all newly-created bugs in the - group for their product immediately.

    , this + causes the initial group controls on newly created products + to place all newly-created bugs in the group + having the same name as the product immediately. + After a product is initially created, the group controls + can be further adjusted without interference by + this mechanism.

  • Groups allow the administrator to isolate bugs or products that should only be seen by certain people. - There are two types of group - Generic Groups, and Product-Based Groups. + The association between products and groups is controlled from + the product edit page under "Edit Group Controls." +

    If the makeproductgroups param is on, a new group will be automatically + created for every new product.

    Product-Based Groups are matched with products, and allow you to restrict - access to bugs on a per-product basis. They are enabled using the - usebuggroups Param. Turning on the usebuggroupsentry - Param will mean bugs automatically get added to their product group when - filed. +> On the product edit page, there is a page to edit the + "Group Controls" + for a product and determine which groups are applicable, default, + and mandatory for each product as well as controlling entry + for each product and being able to set bugs in a product to be + totally read-only unless some group restrictions are met.

    Generic Groups have no special relationship to products; - you create them, and put bugs in them - as required. One example of the use of Generic Groups - is Mozilla's "Security" group, - into which security-sensitive bugs are placed until fixed. Only the - Mozilla Security Team are members of this group. +> For each group, it is possible to specify if membership in that + group is...

    To create Generic Groups:

    1. required for bug entry, +

    2. Not applicable to this product(NA), + a possible restriction for a member of the + group to place on a bug in this product(Shown), + a default restriction for a member of the + group to place on a bug in this product(Default), + or a mandatory restriction to be placed on bugs + in this product(Mandatory). +

    3. Not applicable by non-members to this product(NA), + a possible restriction for a non-member of the + group to place on a bug in this product(Shown), + a default restriction for a non-member of the + group to place on a bug in this product(Default), + or a mandatory restriction to be placed on bugs + in this product when entered by a non-member(Mandatory). +

    4. required in order to make any change + to bugs in this product including comments. +

    To create Groups:

    1. Select the "groups" +>Select the "groups" link in the footer.

    2. Take a moment to understand the instructions on the "Edit - Groups" screen, then select the "Add Group" link.

      Take a moment to understand the instructions on the "Edit + Groups" screen, then select the "Add Group" link.

    3. Fill out the "Group", "Description", and - "User RegExp" fields. "New User RegExp" allows you to automatically +>Fill out the "Group", "Description", + and "User RegExp" fields. + "User RegExp" allows you to automatically place all users who fulfill the Regular Expression into the new group. - When you have finished, click "Add".

      "Add".

    To use Product-Based Groups:

    1. Turn on "usebuggroups" and "usebuggroupsentry" in the "Edit - Parameters" screen.

    2. In future, when you create a Product, a matching group will be - automatically created. If you need to add a Product Group to - a Product which was created before you turned on usebuggroups, - then simply create a new group, as outlined above, with the - same name as the Product.

    Note that group permissions are such that you need to be a member of all the groups a bug is in, for whatever - reason, to see that bug. + reason, to see that bug. Similarly, you must be a member + of all of the entry groups for a product + to add bugs to a product and you must be a member + of all of the canedit groups for a product + in order to make any change to bugs in that + product.

  • Ensure you are running at least MysQL version 3.22.32 or newer. - Earlier versions had notable security holes and (from a security - point of view) poor default configuration choices.

  • There is no substitute for understanding the tools on your system!

  • Lock down /etc/inetd.conf. Heck, disable inet entirely on this - box. It should only listen to port 25 for Sendmail and port 80 for - Apache.

    Lock down /etc/inetd.conf. Heck, disable + inet entirely on this box. It should only listen to port 25 for + Sendmail and port 80 for Apache.

  • Ensure you have adequate access controls for the - $BUGZILLA_HOME/data/ directory, as well as the - $BUGZILLA_HOME/localconfig file. + $BUGZILLA_HOME/data/ directory, as well as the + $BUGZILLA_HOME/localconfig file. The localconfig file stores your "bugs" database account password. In addition, some - files under $BUGZILLA_HOME/data/ store sensitive information. + files under $BUGZILLA_HOME/data/ store sensitive + information. +

    Also, beware that some text editors create backup files in the + current working directory so you need to also secure files like + localconfig~.

    Simply blocking .*localconfig.* + won't work because the QuickSearch feature requires the web browser + to be able to retrieve localconfig.js and + others may be introduced in the future (see + bug + 186383 for more information. +

    Bugzilla provides default .htaccess files to protect the most - common Apache installations. However, you should verify these are - adequate according to the site-wide security policy of your web - server, and ensure that the .htaccess files are allowed to - "override" default permissions set in your Apache configuration - files. Covering Apache security is beyond the scope of this Guide; - please consult the Apache documentation for details.

    Bugzilla provides default .htaccess files + to protect the most common Apache installations. However, you should + verify these are adequate according to the site-wide security policy + of your web server, and ensure that the .htaccess + files are allowed to "override" default permissions set + in your Apache configuration files. Covering Apache security is beyond + the scope of this Guide; please consult the Apache documentation for + details. +

    If you are using a web server that does not support the - .htaccess control method, + .htaccess control method, you are at risk! After installing, check to see if you can view the file - "localconfig" in your web browser (e.g.: + localconfig in your web browser (e.g.:

  • When you run checksetup.pl, the script will attempt to modify various permissions on files which Bugzilla uses. If you do not have - a webservergroup set in the localconfig file, then Bugzilla will have - to make certain files world readable and/or writable. + a webservergroup set in the localconfig file, + then Bugzilla will have to make certain files world readable and/or + writable. THIS IS INSECURE! @@ -8298,16 +8485,26 @@ VALIGN="TOP" >

    On Apache, you can use .htaccess files to protect access to - these directories, as outlined in +>On Apache, you can use .htaccess files to + protect access to these directories, as outlined in Bugs Bug - 57161 57161 and + 186383 - for the localconfig file, and + for the localconfig file, and - for adequate protection in your data/ directory.

    data/ directory. + Also, don't forget about the template/ and + Bugzilla/ directories and to allow access to the + data/webdot directory for the + 192.20.225.10 IP address if you are + using webdot from research.att.com. The easiest way to + accomplish this is to set $create_htaccess to 1 + in localconfig. However, the information below + is provided for those that want to know exactly what is created. +

    Note the instructions which follow are Apache-specific. If you use IIS, Netscape, or other non-Apache web servers, please consult your system documentation for how to secure these files from being transmitted to curious users.

    Place the following text into a file named ".htaccess", - readable by your web server, in your $BUGZILLA_HOME/data directory. -

    <Files comments> allow from all </Files>
    -        deny from all

    $BUGZILLA_HOME/.htaccess +
    
# don't allow people to retrieve non-cgi executable files or our private data
    +<FilesMatch ^(.*\.pl|.*localconfig.*|processmail|runtests.sh)$>
    +  deny from all
    +</FilesMatch>
    +<FilesMatch ^(localconfig.js|localconfig.rdf)$>
    +  allow from all
    +</FilesMatch>
    +        

    Place the following text into a file named ".htaccess", - readable by your web server, in your $BUGZILLA_HOME/ directory. -

    <Files localconfig> deny from all </Files>
    -        allow from all

    $BUGZILLA_HOME/data/.htaccess +
    
# nothing in this directory is retrievable unless overriden by an .htaccess
    +# in a subdirectory; the only exception is duplicates.rdf, which is used by
    +# duplicates.xul and must be loadable over the web
    +deny from all
    +<Files duplicates.rdf>
    +  allow from all
    +</Files>
    +        
    +

    $BUGZILLA_HOME/data/webdot +
    
# Restrict access to .dot files to the public webdot server at research.att.com 
    +# if research.att.com ever changed their IP, or if you use a different
    +# webdot server, you'll need to edit this
    +<FilesMatch ^[0-9]+\.dot$>
    +  Allow from 192.20.225.10
    +  Deny from all
    +</FilesMatch>
    +
    +# Allow access by a local copy of 'dot' to .png, .gif, .jpg, and
    +# .map files
    +<FilesMatch ^[0-9]+\.(png|gif|jpg|map)$>
    +  Allow from all
    +</FilesMatch>
    +
    +# And no directory listings, either.
    +Deny from all
    +        

    $BUGZILLA_HOME/Bugzilla/.htaccess +
    
# nothing in this directory is retrievable unless overriden by an .htaccess
    +# in a subdirectory
    +deny from all
    +         
    +

    $BUGZILLA_HOME/template/.htaccess +
    
# nothing in this directory is retrievable unless overriden by an .htaccess
    +# in a subdirectory
    +deny from all
    +         
    +

  • @@ -8351,9 +8706,9 @@ CLASS="section" >5.7. Template Customisation5.7. Template Customization

    One of the large changes for 2.16 was the templatisation of the +> One of the large changes for 2.16 was the templatization of the entire user-facing UI, using the

    Templatisation also makes localised versions of Bugzilla possible, +> Templatization also makes localized versions of Bugzilla possible, for the first time. In the future, a Bugzilla installation may - have templates installed for multiple localisations, and select + have templates installed for multiple localizations, and select which ones to use based on the user's browser language setting.


    5.7.1. What to Edit

    template, which contains a directory for - each installed localisation. The default English templates are + each installed localization. The default English templates are therefore in en

    The first method of making customisations is to directly edit the +> The first method of making customizations is to directly edit the templates in template/en/default


    5.7.2. How To Edit Templates


    5.7.3. Template Formats


    5.7.4. Particular Templates

    There are a few templates you may be particularly interested in - customising for your installation. + customizing for your installation.

    : This contains the "banner", the part of the header that appears at the top of all Bugzilla pages. The default banner is reasonably - barren, so you'll probably want to customise this to give your + barren, so you'll probably want to customize this to give your installation a distinctive look and feel. It is recommended you preserve the Bugzilla version number in some form so the version you are running can be determined, and users know what docs to read. @@ -8826,7 +9181,7 @@ CLASS="section" >5.8. Change Permission Customisation5.8. Change Permission Customization

    For maximum flexibility, customising this means editing Bugzilla's Perl +> For maximum flexibility, customizing this means editing Bugzilla's Perl code. This gives the administrator complete control over exactly who is allowed to do what. The relevant function is called

    More complex customisations are not much harder. Basically, you add +> More complex customizations are not much harder. Basically, you add a check in the right place in the function, i.e. after all the variables you are using have been set up. So, don't look at $ownerid before $ownerid has been obtained from the database. You can either add a @@ -8987,7 +9342,7 @@ CLASS="filename" CLASS="filename" >@::log_columns. If you need help writing custom - rules for your organisation, ask in the newsgroup. + rules for your organization, ask in the newsgroup.

    However, things get a bit more complicated if you've made changes to Bugzilla's code. In this case, you may have to re-make or - reapply those changes. One good method is to take a diff of your customised + reapply those changes. One good method is to take a diff of your customized version against the original, so you can survey all that you've changed. - Hopefully, templatisation will reduce the need for + Hopefully, templatization will reduce the need for this in the future.

    From version 2.8 onwards, Bugzilla databases can be automatically +>From version 2.8 onward, Bugzilla databases can be automatically carried forward during an upgrade. However, because the developers of Bugzilla are constantly adding new tables, columns and fields, you'll probably get SQL errors if you just @@ -9177,64 +9532,64 @@ HREF="#faq-general" >

    A.1.1. Where can I find information about Bugzilla?
    A.1.2. What license is Bugzilla distributed under?
    A.1.3. How do I get commercial support for Bugzilla?
    A.1.4. What major companies or projects are currently using Bugzilla for bug-tracking?
    A.1.5. Who maintains Bugzilla?
    A.1.6. How does Bugzilla stack up against other bug-tracking databases?
    A.1.7. Why doesn't Bugzilla offer this or that feature or compatability +HREF="#AEN1799" +> Why doesn't Bugzilla offer this or that feature or compatibility with this other tracking software?
    A.1.8. Why MySQL? I'm interested in seeing Bugzilla run on Oracle/Sybase/Msql/PostgreSQL/MSSQL.
    A.1.9. Why do the scripts say "/usr/bonsaitools/bin/perl" instead of "/usr/bin/perl" or something else?
    A.1.10. Is there an easy way to change the Bugzilla cookie name?
    A.2.1. Is Bugzilla web-based, or do you have to have specific software or a specific operating system on your machine?
    A.2.2. Can Bugzilla integrate with Perforce (SCM software)?
    A.2.3. Does Bugzilla allow the user to track multiple projects?
    A.2.4. 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?
    A.2.5. Does Bugzilla allow attachments (text, screenshots, URLs etc)? If yes, are there any that are NOT allowed?
    A.2.6. 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? @@ -9291,35 +9646,35 @@ HREF="#AEN1791" >
    A.2.7. Does Bugzilla provide any reporting features, metrics, graphs, etc? You know, the type of stuff that management likes to see. :)
    A.2.8. Is there email notification and if so, what do you see when you get an email?
    A.2.9. Can email notification be set up to send to multiple people, some on the To List, CC List, BCC List etc?
    A.2.10. Do users have to have any particular type of email application?
    A.2.11. 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 @@ -9328,28 +9683,28 @@ HREF="#AEN1822" >
    A.2.12. Has anyone converted Bugzilla to another language to be used in other countries? Is it localizable?
    A.2.13. Can a user create and save reports? Can they do this in Word format? Excel format?
    A.2.14. Does Bugzilla have the ability to search by word, phrase, compound search?
    A.2.15. 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? @@ -9357,19 +9712,19 @@ HREF="#AEN1845" >
    A.2.16. Are there any backup features provided?
    A.2.17. Can users be on the system while a backup is in progress?
    A.2.18. 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 @@ -9379,7 +9734,7 @@ HREF="#AEN1861" >
    A.2.19. 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 @@ -9389,7 +9744,7 @@ HREF="#AEN1867" >
    A.2.20. Is there any licensing fee or other fees for using Bugzilla? Any out-of-pocket cost other than the bodies needed as identified above?
    A.3.1. 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)?
    A.3.2. Are there any security problems with Bugzilla?
    A.3.3. 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. @@ -9435,48 +9790,48 @@ HREF="#faq-email" >
    A.4.1. I have a user who doesn't want to receive any more email from Bugzilla. How do I stop it entirely for this user?
    A.4.2. I'm evaluating/testing Bugzilla, and don't want it to send email to anyone but me. How do I do it?
    A.4.3. I want whineatnews.pl to whine at something more, or other than, only new bugs. How do I do it?
    A.4.4. I don't like/want to use Procmail to hand mail off to bug_email.pl. What alternatives do I have?
    A.4.5. How do I set up the email interface to submit/change bugs via email?
    A.4.6. Email takes FOREVER to reach me from Bugzilla -- it's extremely slow. What gives?
    A.4.7. How come email from Bugzilla changes never reaches me?
    A.5.1. I've heard Bugzilla can be used with Oracle?
    A.5.2. I think my database might be corrupted, or contain invalid entries. What do I do?
    A.5.3. I want to manually edit some entries in my database. How?
    A.5.4. I try to add myself as a user, but Bugzilla always tells me my password is wrong. -
    A.5.5. I think I've set up MySQL permissions correctly, but Bugzilla still can't connect.
    A.5.6. A.5.5. How do I synchronize bug information among multiple different Bugzilla databases?
    A.6.1. What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
    A.6.2. Is there a "Bundle::Bugzilla" equivalent for Win32?
    A.6.3. CGI's are failing with a "something.cgi is not a valid Windows NT application" error. Why?
    A.6.4. I'm having trouble with the perl modules for NT not being able to talk to to the database.
    A.7.1. How do I change my user name (email address) in Bugzilla?
    A.7.2. The query page is very confusing. Isn't there a simpler way to query?
    A.7.3. 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?
    A.7.4. I can't upload anything into the database via the "Create Attachment" link. What am I doing wrong?
    A.7.5. Email submissions to Bugzilla that have attachments end up asking me to - save it as a "cgi" file. -
    A.7.6. How do I change a keyword in Bugzilla, once some bugs are using it?
    A.8.1. What kind of style should I use for templatization?
    A.8.2. What bugs are in Bugzilla right now?
    A.8.3. How can I change the default priority to a null value? For instance, have the default priority be "---" instead of "P2"?
    A.8.4. What's the best way to submit patches? What guidelines should I follow?

    A.1.1.

    A.1.2.

    A.1.3. - http://bugzilla.org/consulting.html + is a list of people and companies who have asked us to list them + as consultants for Bugzilla. +

    www.collab.net

    A.1.4. There are dozens of major comapanies with public +> of major companies with public Bugzilla sites to track bugs in their products. A few include:

    AtHome CorporationRed Hat Software

    A.1.5. core team, - led by Dave Miller (justdave@syndicomm.com). + led by Dave Miller (justdave@netscape.com).

    A.1.6.

    A.1.7. - Why doesn't Bugzilla offer this or that feature or compatability + Why doesn't Bugzilla offer this or that feature or compatibility with this other tracking software?

    A.1.8. - There is DB-independence work afoot. PostgreSQL support is planned - for 2.18, and full DB-independence can't be far further on. + MySQL was originally chosen because it is free, easy to install, + and was available for the hardware Netscape intended to run it on.

    There is currently work in progress to make Bugzilla work on + PostgreSQL and Sybase in the default distribution. You can track + the progress of these initiatives in bugs 98304 + and 173130 + respectively. +

    Once both of these are done, adding support for additional + database servers should be trivial. +

    A.1.9.

    A.1.10.

    A.2.1.

    A.2.2.

    A.2.3. - 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. + Absolutely! You can track any number of Products that can each be + composed of any number of Components.

    A.2.4.

    A.2.5. 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, - but you may specify any arbitrary MIME-type you need when you - upload the file. + Bugzilla gives the user the option of either using the MIME-type + supplied by the browser, choosing from a pre-defined list or + manually typing any arbitrary MIME-type.

    A.2.6.

    A.2.7. Yes. Look at http://bugzilla.mozilla.org/reports.cgi for basic reporting - and graphing facilities. +> http://bugzilla.mozilla.org/report.cgi for samples of what + Bugzilla can do in reporting and graphing.

    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. +> If you can not get the reports you want from the included reporting + scripts, it is possible to hook up a professional reporting package + such as Crystal Reports using ODBC. If you choose to do this, + beware that giving direct access to the database does contain some + security implications. Even if you give read-only access to the + bugs database it will bypass the secure bugs features of Bugzilla.

    A.2.8.

    A.2.9.

    A.2.10.

    A.2.11. - 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. -

    If you create import filters to other applications from Mozilla's XML, - please submit your modifications for inclusion in future Bugzilla - distributions. -

    To use the RDF format of the buglist it is necessary to append a + &ctype=rdf to the URL. RDF + is meant to be machine readable and thus it is assumed that the + URL would be generated progmatically so there is no user visible + link to this format. +

    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 - http://www.mozilla.org/quality/help/bugzilla-helper.html Currently the only script included with Bugzilla that can import + data is importxml.pl which is intended to be + used for importing the data generated by xml.cgi -

    There are also scripts included in the contrib/ + directory for using e-mail to import information into Bugzilla, + but these scripts are not currently supported and included for + educational purposes. +

    A.2.12. - 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. + Yes. For more information including available translated templates, + see http://www.bugzilla.org/download.html. + The admin interfaces are still not included in these translated + templates and is therefore still English only. Also, there may be + issues with the charset not being declared. See bug 126226 + for more information.

    A.2.13. - Yes. No. No. + Yes. No. Yes (using the CSV format).

    A.2.14.

    A.2.15.

    A.2.16.

    A.2.17.

    A.2.18.

    A.2.19.

    A.2.20.

    A.3.1.

    A.3.2.

    A.3.3.

    A.4.1. The user should be able to set - this in user email preferences (uncheck all boxes.) + this in user email preferences (uncheck all boxes) or you can add + their email address to the data/nomail file.

    A.4.2. - Edit the "changedmail" Param. Replace "To:" with "X-Real-To:", + Edit the "newchangedmail" Param. Replace "To:" with "X-Real-To:", replace "Cc:" with "X-Real-CC:", and add a "To: <youremailaddress>".

    A.4.3.

    A.4.4.

    A.4.5.

    A.4.6.

    A.4.7.

    A.5.1. - Red Hat Bugzilla works with Oracle. The current version - from Mozilla.org does not have this capability. Unfortunately, though - you will sacrifice a lot of the really great features available in - Bugzilla 2.14 and 2.16 if you go with the 2.8-based Redhat version. + Red Hat's old version of Bugzilla (based on 2.8) worked on Oracle. + Red Hat's newer version (based on 2.17.1 and soon to be merged into + the main distribution) runs on PostgreSQL. At this time we know of + no recent ports of Bugzilla to Oracle but do intend to support it + in the future (possibly the 2.20 time-frame).

    A.5.2.

    A.5.3. 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. -

    A.5.4. - I try to add myself as a user, but Bugzilla always tells me my password is wrong. -

    mysql - 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. + command line utility to manually insert, delete and modify table + information. There are also more intuitive GUI clients available. + Personal favorites of the Bugzilla team are phpMyAdmin and MySQL Control + Center.

    A.5.5. A.5.4. I think I've set up MySQL permissions correctly, but Bugzilla still can't connect. @@ -11186,10 +11566,42 @@ CLASS="answer" > 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. -

    localconfig. +

    Running MySQL with this command line option is very insecure and + should only be done when not connected to the external network + as a troubleshooting step. +

    A.5.6. A.5.5. How do I synchronize bug information among multiple different Bugzilla databases? @@ -11244,7 +11656,7 @@ CLASS="qandaentry" CLASS="question" >

    A.6.1.

    A.6.2.

    A.6.3.

    Microsoft has some advice on this matter, as well:

    A.6.4.

    A.7.1.

    A.7.2.

    A.7.3.

    A.7.4.

    A.7.5. - Email submissions to Bugzilla that have attachments end up asking me to - save it as a "cgi" file. -

    - Yup. Just rename it once you download it, or save it under a different - filename. This will not be fixed anytime soon, because it would - cripple some other functionality. -

    A.7.6. How do I change a keyword in Bugzilla, once some bugs are using it?

    A.8.1. - Gerv and Myk suggest a 2-space endent, with embedded code sections on + Gerv and Myk suggest a 2-space indent, with embedded code sections on their own line, in line with outer tags. Like this:

    A.8.2.

    A.8.3.

    A.8.4.


    B.2.1. Bugzilla Database Basics


    B.2.1.1. Bugzilla Database Tables

    D.1. Red Hat Bugzilla

    Red Hat Bugzilla is a fork of Bugzilla 2.8. - One of its major benefits is the ability - to work with Oracle, MySQL, and PostGreSQL databases serving as the - back-end, instead of just MySQL. Dave Lawrence of Red Hat is - active in the Bugzilla community, and we hope to see a reunification - of the fork before too long.

    Red Hat's old fork of Bugzilla which was based on version 2.8 is now + obsolete. The newest version in use is based on version 2.17.1 and is in + the process of being integrated into the main Bugzilla source tree. The + back-end is modified to work with PostgreSQL instead of MySQL and they have + custom templates to get their desired look and feel, but other than that it + is Bugzilla 2.17.1. Dave Lawrence of Red Hat put forth a great deal of + effort to make sure that the changes he made could be integrated back into + the main tree. + Bug + 98304 exists to track this integration. +

    URL: http://bugzilla.redhat.com/bugzilla/

    This section last updated 24 Dec 2002

    This section last updated 27 Jul 2002

    Scarab.

    This section last updated 27 Jul 2002

    http://scarab.tigris.org

    This section last updated 27 Jul 2002

    This section last updated 27 Jul 2002

    http://www.sourceforge.net

    This section last updated 27 Jul 2002

    0-9, high ascii

    5.7. Template CustomisationTemplate Customization
    5.7.1. What to Edit
    5.7.2. How To Edit Templates
    5.7.3. Template Formats
    5.7.4. Particular Templates
    5.8. Change Permission CustomisationChange Permission Customization
    5.9. Change Permission Customization
    The Bugzilla Guide
    PrevChapter 5. Administering BugzillaNext

    5.8. Change Permission Customization

    This feature should be considered experimental; the Bugzilla code you + will be changing is not stable, and could change or move between + versions. Be aware that if you make modifications to it, you may have + to re-make them or port them if Bugzilla changes internally between + versions. +

    Companies often have rules about which employees, or classes of employees, + are allowed to change certain things in the bug system. For example, + only the bug's designated QA Contact may be allowed to VERIFY the bug. + Bugzilla has been + designed to make it easy for you to write your own custom rules to define + who is allowed to make what sorts of value transition. +

    For maximum flexibility, customizing this means editing Bugzilla's Perl + code. This gives the administrator complete control over exactly who is + allowed to do what. The relevant function is called + CheckCanChangeField(), + and is found in process_bug.cgi in your + Bugzilla directory. If you open that file and grep for + "sub CheckCanChangeField", you'll find it. +

    This function has been carefully commented to allow you to see exactly + how it works, and give you an idea of how to make changes to it. Certain + marked sections should not be changed - these are the "plumbing" which + makes the rest of the function work. In between those sections, you'll + find snippets of code like: +
        # Allow the owner to change anything.
    +    if ($ownerid eq $whoid) {
    +        return 1;
    +    }
    + It's fairly obvious what this piece of code does. +

    So, how does one go about changing this function? Well, simple changes + can be made just be removing pieces - for example, if you wanted to + prevent any user adding a comment to a bug, just remove the lines marked + "Allow anyone to change comments." And if you want the reporter to have + no special rights on bugs they have filed, just remove the entire section + which refers to him. +

    More complex customizations are not much harder. Basically, you add + a check in the right place in the function, i.e. after all the variables + you are using have been set up. So, don't look at $ownerid before + $ownerid has been obtained from the database. You can either add a + positive check, which returns 1 (allow) if certain conditions are true, + or a negative check, which returns 0 (deny.) E.g.: +
        if ($field eq "qacontact") {
    +        if (UserInGroup("quality_assurance")) {
    +            return 1;
    +        } 
    +        else {
    +            return 0;
    +        }
    +    }
    + This says that only users in the group "quality_assurance" can change + the QA Contact field of a bug. Getting more weird: +
        if (($field eq "priority") &&
    +        ($vars->{'user'}{'login'} =~ /.*\@example\.com$/))
    +    {
    +        if ($oldvalue eq "P1") {
    +            return 1;
    +        } 
    +        else {
    +            return 0;
    +        }
    +    }
    + This says that if the user is trying to change the priority field, + and their email address is @example.com, they can only do so if the + old value of the field was "P1". Not very useful, but illustrative. +

    For a list of possible field names, look in + data/versioncache for the list called + @::log_columns. If you need help writing custom + rules for your organization, ask in the newsgroup. +


    PrevHomeNext
    Template CustomizationUpUpgrading to New Releases
    \ No newline at end of file diff --git a/docs/html/cust-templates.html b/docs/html/cust-templates.html index 7c8f17cc1..e0bfa2181 100644 --- a/docs/html/cust-templates.html +++ b/docs/html/cust-templates.html @@ -1,7 +1,7 @@ Template CustomisationTemplate Customization5.7. Template Customisation5.7. Template Customization

    One of the large changes for 2.16 was the templatisation of the +> One of the large changes for 2.16 was the templatization of the entire user-facing UI, using the

    Templatisation also makes localised versions of Bugzilla possible, +> Templatization also makes localized versions of Bugzilla possible, for the first time. In the future, a Bugzilla installation may - have templates installed for multiple localisations, and select + have templates installed for multiple localizations, and select which ones to use based on the user's browser language setting.

    5.7.1. What to Edit

    template, which contains a directory for - each installed localisation. The default English templates are + each installed localization. The default English templates are therefore in en

    The first method of making customisations is to directly edit the +> The first method of making customizations is to directly edit the templates in template/en/default

    5.7.2. How To Edit Templates

    5.7.3. Template Formats

    5.7.4. Particular Templates

    There are a few templates you may be particularly interested in - customising for your installation. + customizing for your installation.

    : This contains the "banner", the part of the header that appears at the top of all Bugzilla pages. The default banner is reasonably - barren, so you'll probably want to customise this to give your + barren, so you'll probably want to customize this to give your installation a distinctive look and feel. It is recommended you preserve the Bugzilla version number in some form so the version you are running can be determined, and users know what docs to read. @@ -601,7 +601,7 @@ ACCESSKEY="U" WIDTH="33%" ALIGN="right" VALIGN="top" ->Change Permission CustomisationChange Permission Customization

    B.2.1. Bugzilla Database Basics

    B.2.1.1. Bugzilla Database Tables

    Modifying Your Running System

    The Bugzilla Guide
    PrevAppendix B. The Bugzilla DatabaseNext

    B.1. Modifying Your Running System

    Bugzilla optimizes database lookups by storing all relatively + static information in the + versioncache file, located in the + data/ + subdirectory under your installation directory.

    If you make a change to the structural data in your database (the + versions table for example), or to the + "constants" + + encoded in defparams.pl, you will need to remove + the cached content from the data directory (by doing a + "rm data/versioncache" + + ), or your changes won't show up.

    versioncache + gets automatically regenerated whenever it's more than + an hour old, so Bugzilla will eventually notice your changes by itself, + but generally you want it to notice right away, so that you can test + things.


    PrevHomeNext
    The Bugzilla DatabaseUpMySQL Bugzilla Database Introduction
    \ No newline at end of file diff --git a/docs/html/extraconfig.html b/docs/html/extraconfig.html index 064f1382f..24603c2a4 100644 --- a/docs/html/extraconfig.html +++ b/docs/html/extraconfig.html @@ -81,7 +81,7 @@ CLASS="section" >

    4.2.1. Dependency Charts

    4.2.2. Bug Graphs

    4.2.3. The Whining Cron

    "UTF-8".

    Note: using <meta> tags to set the charset is not - recommended, as there's a bug in Netscape 4.x which causes pages - marked up in this way to load twice.

    Using <meta> tags to set the charset is not + recommended, as there's a bug in Netscape 4.x which causes pages + marked up in this way to load twice. See + bug + 126266 for more information including progress toward making + bugzilla charset aware by default. +

    A.1.1. Where can I find information about Bugzilla?
    A.1.2. What license is Bugzilla distributed under?
    A.1.3. How do I get commercial support for Bugzilla?
    A.1.4. What major companies or projects are currently using Bugzilla for bug-tracking?
    A.1.5. Who maintains Bugzilla?
    A.1.6. How does Bugzilla stack up against other bug-tracking databases?
    A.1.7. Why doesn't Bugzilla offer this or that feature or compatability +HREF="faq.html#AEN1799" +> Why doesn't Bugzilla offer this or that feature or compatibility with this other tracking software?
    A.1.8. Why MySQL? I'm interested in seeing Bugzilla run on Oracle/Sybase/Msql/PostgreSQL/MSSQL.
    A.1.9. Why do the scripts say "/usr/bonsaitools/bin/perl" instead of "/usr/bin/perl" or something else?
    A.1.10. Is there an easy way to change the Bugzilla cookie name?
    A.2.1. Is Bugzilla web-based, or do you have to have specific software or a specific operating system on your machine?
    A.2.2. Can Bugzilla integrate with Perforce (SCM software)?
    A.2.3. Does Bugzilla allow the user to track multiple projects?
    A.2.4. 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?
    A.2.5. Does Bugzilla allow attachments (text, screenshots, URLs etc)? If yes, are there any that are NOT allowed?
    A.2.6. 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? @@ -201,35 +201,35 @@ HREF="faq.html#AEN1791" >
    A.2.7. Does Bugzilla provide any reporting features, metrics, graphs, etc? You know, the type of stuff that management likes to see. :)
    A.2.8. Is there email notification and if so, what do you see when you get an email?
    A.2.9. Can email notification be set up to send to multiple people, some on the To List, CC List, BCC List etc?
    A.2.10. Do users have to have any particular type of email application?
    A.2.11. 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 @@ -238,28 +238,28 @@ HREF="faq.html#AEN1822" >
    A.2.12. Has anyone converted Bugzilla to another language to be used in other countries? Is it localizable?
    A.2.13. Can a user create and save reports? Can they do this in Word format? Excel format?
    A.2.14. Does Bugzilla have the ability to search by word, phrase, compound search?
    A.2.15. 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? @@ -267,19 +267,19 @@ HREF="faq.html#AEN1845" >
    A.2.16. Are there any backup features provided?
    A.2.17. Can users be on the system while a backup is in progress?
    A.2.18. 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 @@ -289,7 +289,7 @@ HREF="faq.html#AEN1861" >
    A.2.19. 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 @@ -299,7 +299,7 @@ HREF="faq.html#AEN1867" >
    A.2.20. Is there any licensing fee or other fees for using Bugzilla? Any out-of-pocket cost other than the bodies needed as identified above?
    A.3.1. 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)?
    A.3.2. Are there any security problems with Bugzilla?
    A.3.3. 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. @@ -345,48 +345,48 @@ HREF="faq.html#faq-email" >
    A.4.1. I have a user who doesn't want to receive any more email from Bugzilla. How do I stop it entirely for this user?
    A.4.2. I'm evaluating/testing Bugzilla, and don't want it to send email to anyone but me. How do I do it?
    A.4.3. I want whineatnews.pl to whine at something more, or other than, only new bugs. How do I do it?
    A.4.4. I don't like/want to use Procmail to hand mail off to bug_email.pl. What alternatives do I have?
    A.4.5. How do I set up the email interface to submit/change bugs via email?
    A.4.6. Email takes FOREVER to reach me from Bugzilla -- it's extremely slow. What gives?
    A.4.7. How come email from Bugzilla changes never reaches me?
    A.5.1. I've heard Bugzilla can be used with Oracle?
    A.5.2. I think my database might be corrupted, or contain invalid entries. What do I do?
    A.5.3. I want to manually edit some entries in my database. How?
    A.5.4. I try to add myself as a user, but Bugzilla always tells me my password is wrong. -
    A.5.5. I think I've set up MySQL permissions correctly, but Bugzilla still can't connect.
    A.5.6. A.5.5. How do I synchronize bug information among multiple different Bugzilla databases?
    A.6.1. What is the easiest way to run Bugzilla on Win32 (Win98+/NT/2K)?
    A.6.2. Is there a "Bundle::Bugzilla" equivalent for Win32?
    A.6.3. CGI's are failing with a "something.cgi is not a valid Windows NT application" error. Why?
    A.6.4. I'm having trouble with the perl modules for NT not being able to talk to to the database.
    A.7.1. How do I change my user name (email address) in Bugzilla?
    A.7.2. The query page is very confusing. Isn't there a simpler way to query?
    A.7.3. 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?
    A.7.4. I can't upload anything into the database via the "Create Attachment" link. What am I doing wrong?
    A.7.5. Email submissions to Bugzilla that have attachments end up asking me to - save it as a "cgi" file. -
    A.7.6. How do I change a keyword in Bugzilla, once some bugs are using it?
    A.8.1. What kind of style should I use for templatization?
    A.8.2. What bugs are in Bugzilla right now?
    A.8.3. How can I change the default priority to a null value? For instance, have the default priority be "---" instead of "P2"?
    A.8.4. What's the best way to submit patches? What guidelines should I follow?

    A.1.1.

    A.1.2.

    A.1.3. - http://bugzilla.org/consulting.html + is a list of people and companies who have asked us to list them + as consultants for Bugzilla. +

    www.collab.net

    A.1.4. There are dozens of major comapanies with public +> of major companies with public Bugzilla sites to track bugs in their products. A few include:

    AtHome CorporationRed Hat Software

    A.1.5. core team, - led by Dave Miller (justdave@syndicomm.com). + led by Dave Miller (justdave@netscape.com).

    A.1.6.

    A.1.7. - Why doesn't Bugzilla offer this or that feature or compatability + Why doesn't Bugzilla offer this or that feature or compatibility with this other tracking software?

    A.1.8. - There is DB-independence work afoot. PostgreSQL support is planned - for 2.18, and full DB-independence can't be far further on. + MySQL was originally chosen because it is free, easy to install, + and was available for the hardware Netscape intended to run it on.

    There is currently work in progress to make Bugzilla work on + PostgreSQL and Sybase in the default distribution. You can track + the progress of these initiatives in bugs 98304 + and 173130 + respectively. +

    Once both of these are done, adding support for additional + database servers should be trivial. +

    A.1.9.

    A.1.10.

    A.2.1.

    A.2.2.

    A.2.3. - 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. + Absolutely! You can track any number of Products that can each be + composed of any number of Components.

    A.2.4.

    A.2.5. 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, - but you may specify any arbitrary MIME-type you need when you - upload the file. + Bugzilla gives the user the option of either using the MIME-type + supplied by the browser, choosing from a pre-defined list or + manually typing any arbitrary MIME-type.

    A.2.6.

    A.2.7. Yes. Look at http://bugzilla.mozilla.org/reports.cgi for basic reporting - and graphing facilities. +> http://bugzilla.mozilla.org/report.cgi for samples of what + Bugzilla can do in reporting and graphing.

    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. +> If you can not get the reports you want from the included reporting + scripts, it is possible to hook up a professional reporting package + such as Crystal Reports using ODBC. If you choose to do this, + beware that giving direct access to the database does contain some + security implications. Even if you give read-only access to the + bugs database it will bypass the secure bugs features of Bugzilla.

    A.2.8.

    A.2.9.

    A.2.10.

    A.2.11. - 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. -

    If you create import filters to other applications from Mozilla's XML, - please submit your modifications for inclusion in future Bugzilla - distributions. -

    To use the RDF format of the buglist it is necessary to append a + &ctype=rdf to the URL. RDF + is meant to be machine readable and thus it is assumed that the + URL would be generated progmatically so there is no user visible + link to this format. +

    Currently the only script included with Bugzilla that can import + data is importxml.pl which is intended to be + used for importing the data generated by xml.cgi + in association with bug moving. Any other use is left as an + exercise for the user. +

    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 - http://www.mozilla.org/quality/help/bugzilla-helper.html There are also scripts included in the contrib/ -

    A.2.12. - 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. + Yes. For more information including available translated templates, + see http://www.bugzilla.org/download.html. + The admin interfaces are still not included in these translated + templates and is therefore still English only. Also, there may be + issues with the charset not being declared. See bug 126226 + for more information.

    A.2.13. - Yes. No. No. + Yes. No. Yes (using the CSV format).

    A.2.14.

    A.2.15.

    A.2.16.

    A.2.17.

    A.2.18.

    A.2.19.

    A.2.20.

    A.3.1.

    A.3.2.

    A.3.3.

    A.4.1. The user should be able to set - this in user email preferences (uncheck all boxes.) + this in user email preferences (uncheck all boxes) or you can add + their email address to the data/nomail file.

    A.4.2. - Edit the "changedmail" Param. Replace "To:" with "X-Real-To:", + Edit the "newchangedmail" Param. Replace "To:" with "X-Real-To:", replace "Cc:" with "X-Real-CC:", and add a "To: <youremailaddress>".

    A.4.3.

    A.4.4.

    A.4.5.

    A.4.6.

    A.4.7.

    A.5.1. - Red Hat Bugzilla works with Oracle. The current version - from Mozilla.org does not have this capability. Unfortunately, though - you will sacrifice a lot of the really great features available in - Bugzilla 2.14 and 2.16 if you go with the 2.8-based Redhat version. + Red Hat's old version of Bugzilla (based on 2.8) worked on Oracle. + Red Hat's newer version (based on 2.17.1 and soon to be merged into + the main distribution) runs on PostgreSQL. At this time we know of + no recent ports of Bugzilla to Oracle but do intend to support it + in the future (possibly the 2.20 time-frame).

    A.5.2.

    A.5.3. 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. -

    A.5.4. - I try to add myself as a user, but Bugzilla always tells me my password is wrong. -

    mysql - 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. + command line utility to manually insert, delete and modify table + information. There are also more intuitive GUI clients available. + Personal favorites of the Bugzilla team are phpMyAdmin and MySQL Control + Center.

    A.5.5. A.5.4. I think I've set up MySQL permissions correctly, but Bugzilla still can't connect. @@ -2096,10 +2121,42 @@ CLASS="answer" > 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. -

    localconfig. +

    Running MySQL with this command line option is very insecure and + should only be done when not connected to the external network + as a troubleshooting step. +

    A.5.6. A.5.5. How do I synchronize bug information among multiple different Bugzilla databases? @@ -2154,7 +2211,7 @@ CLASS="qandaentry" CLASS="question" >

    A.6.1.

    A.6.2.

    A.6.3.

    Microsoft has some advice on this matter, as well:

    A.6.4.

    A.7.1.

    A.7.2.

    A.7.3.

    A.7.4.

    A.7.5. - Email submissions to Bugzilla that have attachments end up asking me to - save it as a "cgi" file. -

    - Yup. Just rename it once you download it, or save it under a different - filename. This will not be fixed anytime soon, because it would - cripple some other functionality. -

    A.7.6. How do I change a keyword in Bugzilla, once some bugs are using it?

    A.8.1. - Gerv and Myk suggest a 2-space endent, with embedded code sections on + Gerv and Myk suggest a 2-space indent, with embedded code sections on their own line, in line with outer tags. Like this:

    A.8.2.

    A.8.3.

    A.8.4.

    0-9, high ascii

    Groups allow the administrator to isolate bugs or products that should only be seen by certain people. - There are two types of group - Generic Groups, and Product-Based Groups. + The association between products and groups is controlled from + the product edit page under "Edit Group Controls."

    Product-Based Groups are matched with products, and allow you to restrict - access to bugs on a per-product basis. They are enabled using the - usebuggroups Param. Turning on the usebuggroupsentry - Param will mean bugs automatically get added to their product group when - filed. +> If the makeproductgroups param is on, a new group will be automatically + created for every new product.

    Generic Groups have no special relationship to products; - you create them, and put bugs in them - as required. One example of the use of Generic Groups - is Mozilla's "Security" group, - into which security-sensitive bugs are placed until fixed. Only the - Mozilla Security Team are members of this group. +> On the product edit page, there is a page to edit the + "Group Controls" + for a product and determine which groups are applicable, default, + and mandatory for each product as well as controlling entry + for each product and being able to set bugs in a product to be + totally read-only unless some group restrictions are met.

    To create Generic Groups:

    For each group, it is possible to specify if membership in that + group is... +

    1. Select the "groups" +> required for bug entry, +

    2. Not applicable to this product(NA), + a possible restriction for a member of the + group to place on a bug in this product(Shown), + a default restriction for a member of the + group to place on a bug in this product(Default), + or a mandatory restriction to be placed on bugs + in this product(Mandatory). +

    3. Not applicable by non-members to this product(NA), + a possible restriction for a non-member of the + group to place on a bug in this product(Shown), + a default restriction for a non-member of the + group to place on a bug in this product(Default), + or a mandatory restriction to be placed on bugs + in this product when entered by a non-member(Mandatory). +

    4. required in order to make any change + to bugs in this product including comments. +

    To create Groups:

    1. Select the "groups" link in the footer.

    2. Take a moment to understand the instructions on the "Edit - Groups" screen, then select the "Add Group" link.

      Take a moment to understand the instructions on the "Edit + Groups" screen, then select the "Add Group" link.

    3. Fill out the "Group", "Description", and - "User RegExp" fields. "New User RegExp" allows you to automatically +>Fill out the "Group", "Description", + and "User RegExp" fields. + "User RegExp" allows you to automatically place all users who fulfill the Regular Expression into the new group. - When you have finished, click "Add".

      "Add".

    To use Product-Based Groups:

    1. Turn on "usebuggroups" and "usebuggroupsentry" in the "Edit - Parameters" screen.

    2. In future, when you create a Product, a matching group will be - automatically created. If you need to add a Product Group to - a Product which was created before you turned on usebuggroups, - then simply create a new group, as outlined above, with the - same name as the Product.

    Note that group permissions are such that you need to be a member of all the groups a bug is in, for whatever - reason, to see that bug. + reason, to see that bug. Similarly, you must be a member + of all of the entry groups for a product + to add bugs to a product and you must be a member + of all of the canedit groups for a product + in order to make any change to bugs in that + product.

    4.2.1. Dependency Charts
    4.2.2. Bug Graphs
    4.2.3. The Whining Cron
    4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1
    4.5.2. DBD::Sponge::db prepare failed

    usebuggroupsmakeproductgroups: - This dictates whether or not to implement group-based security for - Bugzilla. If set, Bugzilla bugs can have an associated 'group', - defining which users are allowed to see and edit the - bug.

    Set "usebuggroups" to "on" - only - if you may wish to restrict access to particular bugs to certain - groups of users. I suggest leaving - this parameter off - while initially testing your Bugzilla.

  • usebuggroupsentryuseentrygroupdefault: - Bugzilla Products can have a group associated with them, so that - certain users can only see bugs in certain products. When this parameter - is set to "on", this places all newly-created bugs in the - group for their product immediately.

    , this + causes the initial group controls on newly created products + to place all newly-created bugs in the group + having the same name as the product immediately. + After a product is initially created, the group controls + can be further adjusted without interference by + this mechanism.

  • D.1. Red Hat Bugzilla

    Red Hat Bugzilla is a fork of Bugzilla 2.8. - One of its major benefits is the ability - to work with Oracle, MySQL, and PostGreSQL databases serving as the - back-end, instead of just MySQL. Dave Lawrence of Red Hat is - active in the Bugzilla community, and we hope to see a reunification - of the fork before too long.

    Red Hat's old fork of Bugzilla which was based on version 2.8 is now + obsolete. The newest version in use is based on version 2.17.1 and is in + the process of being integrated into the main Bugzilla source tree. The + back-end is modified to work with PostgreSQL instead of MySQL and they have + custom templates to get their desired look and feel, but other than that it + is Bugzilla 2.17.1. Dave Lawrence of Red Hat put forth a great deal of + effort to make sure that the changes he made could be integrated back into + the main tree. + Bug + 98304 exists to track this integration. +

    URL: http://bugzilla.redhat.com/bugzilla/

    This section last updated 24 Dec 2002

  • Ensure you are running at least MysQL version 3.22.32 or newer. - Earlier versions had notable security holes and (from a security - point of view) poor default configuration choices.

  • There is no substitute for understanding the tools on your system!

  • Lock down /etc/inetd.conf. Heck, disable inet entirely on this - box. It should only listen to port 25 for Sendmail and port 80 for - Apache.

    Lock down /etc/inetd.conf. Heck, disable + inet entirely on this box. It should only listen to port 25 for + Sendmail and port 80 for Apache.

  • Ensure you have adequate access controls for the - $BUGZILLA_HOME/data/ directory, as well as the - $BUGZILLA_HOME/localconfig file. + $BUGZILLA_HOME/data/ directory, as well as the + $BUGZILLA_HOME/localconfig file. The localconfig file stores your "bugs" database account password. In addition, some - files under $BUGZILLA_HOME/data/ store sensitive information. + files under $BUGZILLA_HOME/data/ store sensitive + information.

    Bugzilla provides default .htaccess files to protect the most - common Apache installations. However, you should verify these are - adequate according to the site-wide security policy of your web - server, and ensure that the .htaccess files are allowed to - "override" default permissions set in your Apache configuration - files. Covering Apache security is beyond the scope of this Guide; - please consult the Apache documentation for details.

    Also, beware that some text editors create backup files in the + current working directory so you need to also secure files like + localconfig~. +

  • Simply blocking .*localconfig.* + won't work because the QuickSearch feature requires the web browser + to be able to retrieve localconfig.js and + others may be introduced in the future (see + bug + 186383 for more information. +

    Bugzilla provides default .htaccess files + to protect the most common Apache installations. However, you should + verify these are adequate according to the site-wide security policy + of your web server, and ensure that the .htaccess + files are allowed to "override" default permissions set + in your Apache configuration files. Covering Apache security is beyond + the scope of this Guide; please consult the Apache documentation for + details. +

    If you are using a web server that does not support the - .htaccess control method, + .htaccess control method, you are at risk! After installing, check to see if you can view the file - "localconfig" in your web browser (e.g.: + localconfig in your web browser (e.g.:

  • When you run checksetup.pl, the script will attempt to modify various permissions on files which Bugzilla uses. If you do not have - a webservergroup set in the localconfig file, then Bugzilla will have - to make certain files world readable and/or writable. + a webservergroup set in the localconfig file, + then Bugzilla will have to make certain files world readable and/or + writable. THIS IS INSECURE! @@ -307,16 +387,26 @@ VALIGN="TOP" >

  • On Apache, you can use .htaccess files to protect access to - these directories, as outlined in +>On Apache, you can use .htaccess files to + protect access to these directories, as outlined in Bugs Bug - 57161 57161 and + 186383 - for the localconfig file, and + for the localconfig file, and - for adequate protection in your data/ directory.

    data/ directory. + Also, don't forget about the template/ and + Bugzilla/ directories and to allow access to the + data/webdot directory for the + 192.20.225.10 IP address if you are + using webdot from research.att.com. The easiest way to + accomplish this is to set $create_htaccess to 1 + in localconfig. However, the information below + is provided for those that want to know exactly what is created. +

    Note the instructions which follow are Apache-specific. If you use IIS, Netscape, or other non-Apache web servers, please consult your system documentation for how to secure these files from being transmitted to curious users.

    Place the following text into a file named ".htaccess", - readable by your web server, in your $BUGZILLA_HOME/data directory. -

    <Files comments> allow from all </Files>
    -        deny from all

    $BUGZILLA_HOME/.htaccess +
    
# don't allow people to retrieve non-cgi executable files or our private data
    +<FilesMatch ^(.*\.pl|.*localconfig.*|processmail|runtests.sh)$>
    +  deny from all
    +</FilesMatch>
    +<FilesMatch ^(localconfig.js|localconfig.rdf)$>
    +  allow from all
    +</FilesMatch>
    +        
    +

    $BUGZILLA_HOME/data/.htaccess +
    
# nothing in this directory is retrievable unless overriden by an .htaccess
    +# in a subdirectory; the only exception is duplicates.rdf, which is used by
    +# duplicates.xul and must be loadable over the web
    +deny from all
    +<Files duplicates.rdf>
    +  allow from all
    +</Files>
    +        

    Place the following text into a file named ".htaccess", - readable by your web server, in your $BUGZILLA_HOME/ directory. -

    <Files localconfig> deny from all </Files>
    -        allow from all

    $BUGZILLA_HOME/data/webdot +
    
# Restrict access to .dot files to the public webdot server at research.att.com 
    +# if research.att.com ever changed their IP, or if you use a different
    +# webdot server, you'll need to edit this
    +<FilesMatch ^[0-9]+\.dot$>
    +  Allow from 192.20.225.10
    +  Deny from all
    +</FilesMatch>
    +
    +# Allow access by a local copy of 'dot' to .png, .gif, .jpg, and
    +# .map files
    +<FilesMatch ^[0-9]+\.(png|gif|jpg|map)$>
    +  Allow from all
    +</FilesMatch>
    +
    +# And no directory listings, either.
    +Deny from all
    +        

    $BUGZILLA_HOME/Bugzilla/.htaccess +
    
# nothing in this directory is retrievable unless overriden by an .htaccess
    +# in a subdirectory
    +deny from all
    +         
    +

    $BUGZILLA_HOME/template/.htaccess +
    
# nothing in this directory is retrievable unless overriden by an .htaccess
    +# in a subdirectory
    +deny from all
    +         
    +

    @@ -411,7 +659,7 @@ ACCESSKEY="U" WIDTH="33%" ALIGN="right" VALIGN="top" ->Template CustomisationTemplate CustomizationMySQL database server
    - (3.22.5 or greater) + (3.23.6 or greater)

  • Perl - (5.005 or greater, 5.6.1 is recommended if you wish to + (5.6, 5.6.1 is recommended if you wish to use Bundle::Bugzilla)

  • Template - (v2.07) + (v2.08)

  • File::Temp (v1.804) (Prerequisite for Template) +> + (1.804) (Prerequisite for Template)

  • AppConfig - (v1.52) + (1.52)

  • Text::Wrap - (v2001.0131) + (2001.0131)

  • File::Spec - (v0.8.2) + (0.82)

  • DBD::mysql - (v1.2209) + (1.2209)

  • DBI - (v1.13) + (1.13)

  • CGI::Carp - (any) +> CGI + + (2.88)

  • GD - (v1.19) for bug charting + (1.20) for bug charting +

  • GD::Chart + (any) for bug charting +

  • GD::Text::Align + (any) for bug charting

  • Chart::Base - (v0.99c) for bug charting + (0.99c) for bug charting

  • perl.com for the rare *nix systems which don't have it. - Although Bugzilla runs with all post-5.005 - versions of Perl, it's a good idea to be up to the very latest version + Although Bugzilla runs with perl 5.6, + it's a good idea to be up to the very latest version if you can when running Bugzilla. As of this writing, that is Perl - version 5.6.1.

    4.1.5.1. DBI

    4.1.5.2. Data::Dumper

    4.1.5.3. MySQL-related modules

    4.1.5.4. TimeDate modules

    4.1.5.5. GD (optional)

    4.1.5.6. Chart::Base (optional)

    4.1.5.7. Template Toolkit

    When you install Template Toolkit, you'll get asked various questions about features to enable. The defaults are fine, except that it is recommended you use the high speed XS Stash of the Template - Toolkit, in order to achieve best performance. However, there are - known problems with XS Stash and Perl 5.005_02 and lower. If you - wish to use these older versions of Perl, please use the regular - stash.

    4.1.6. HTTP Server

    4.1.7. Bugzilla

    4.1.8. Setting Up the MySQL Database

    4.1.9.

    4.1.10. Securing MySQL

    4.1.11. Configuring Bugzilla

    4.5.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1

    4.5.2. DBD::Sponge::db prepare failed

    However, things get a bit more complicated if you've made changes to Bugzilla's code. In this case, you may have to re-make or - reapply those changes. One good method is to take a diff of your customised + reapply those changes. One good method is to take a diff of your customized version against the original, so you can survey all that you've changed. - Hopefully, templatisation will reduce the need for + Hopefully, templatization will reduce the need for this in the future.

    From version 2.8 onwards, Bugzilla databases can be automatically +>From version 2.8 onward, Bugzilla databases can be automatically carried forward during an upgrade. However, because the developers of Bugzilla are constantly adding new tables, columns and fields, you'll probably get SQL errors if you just @@ -157,7 +157,7 @@ ACCESSKEY="N" WIDTH="33%" ALIGN="left" VALIGN="top" ->Change Permission CustomisationChange Permission Customization

    This section last updated 27 Jul 2002