Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
fad12dc2
Commit
fad12dc2
authored
Sep 08, 2007
by
mozilla%colinogilvie.co.uk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 338439: FAQ answers could do with some updating
Patch by Sam Folk-Williams <sam.folkwilliams@gmail.com>; r=LpSolit; r=colin.ogilvie
parent
23bca78e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
135 deletions
+68
-135
faq.xml
docs/xml/faq.xml
+68
-135
No files found.
docs/xml/faq.xml
View file @
fad12dc2
...
@@ -172,50 +172,34 @@
...
@@ -172,50 +172,34 @@
</qandaentry>
</qandaentry>
<qandaentry>
<qandaentry>
<question
id=
"faq-general-
mysql
"
>
<question
id=
"faq-general-
db
"
>
<para>
<para>
Why MySQL? I'm interested in seeing Bugzilla run on
What databases does Bugzilla run on?
PostgreSQL/Sybase/Oracle/Msql/MSSQL.
</para>
</para>
</question>
</question>
<answer>
<answer>
<para>
<para>
MySQL was originally chosen because it is free, easy to install,
MySQL is the default database for Bugzilla. It was originally chosen
and was available for the hardware Netscape intended to run it on.
because it is free, easy to install, and was available for the hardware
Netscape intended to run it on.
</para>
</para>
<para>
<para>
Bugzilla 2.20 contains experimental support for PostgreSQL.
As of Bugzilla 2.22, complete support for PostgreSQL
Bugzilla 2.22 contains complete, stable support for PostgreSQL.
is included. With this release using PostgreSQL with Bugzilla
As of this release, using PostgreSQL with Bugzilla should
should be as stable as using MySQL. If you experience any problems
be as stable as using MySQL. If you experience any problems
with PostgreSQL compatibility, they will be taken as
with PostgreSQL compatibility, they will be taken as
seriously as if you were running MySQL.
seriously as if you were running MySQL.
</para>
</para>
<para>
<para>
Red Hat once ran a version of Bugzilla that worked on Oracle,
There are plans to include an Oracle driver for Bugzilla 3.1.2.
but that was long, long ago; that version (Bugzilla 2.8) is
Track progress at
now obsolete, insecure, and totally unsupported.
</para>
<para>
In August of 2005, Wim Coekaerts (Director of Linux
Engineering at Oracle Corporation) wrote to Dave Miller
confirming that Oracle intends to implement and support
Bugzilla. Since then, no further information has been
forthcoming. Track progress at
<ulink
url=
"https://bugzilla.mozilla.org/show_bug.cgi?id=189947"
>
<ulink
url=
"https://bugzilla.mozilla.org/show_bug.cgi?id=189947"
>
Bug 189947
</ulink>
.
Bug 189947
</ulink>
.
</para>
</para>
<para>
<para>
Sybase support is no longer being worked on. Even if it
Sybase support was worked on for a time. However, several
eventually happens, it's VERY unlikely to work without
complicating factors have prevented Sybase support from
the end-user-company having to stick a few developers on
being realized. There are currently no plans to revive it.
making several manual changes. Sybase is just NOT very
standards-compliant (despite all the hype), and it turned
out that way too much had to be changed to make it work --
like moving half of the application logic into stored
procedures to get any kind of decent performance out of it.
<ulink
url=
"https://bugzilla.mozilla.org/show_bug.cgi?id=173130"
>
Bug 173130
</ulink>
is the relevant bug.
</para>
</para>
<para>
<para>
<ulink
url=
"https://bugzilla.mozilla.org/show_bug.cgi?id=237862"
>
<ulink
url=
"https://bugzilla.mozilla.org/show_bug.cgi?id=237862"
>
...
@@ -227,28 +211,6 @@
...
@@ -227,28 +211,6 @@
</qandaentry>
</qandaentry>
<qandaentry>
<qandaentry>
<question
id=
"faq-general-bonsaitools"
>
<para>
What is
<filename>
/usr/bonsaitools/bin/perl
</filename>
?
</para>
</question>
<answer>
<para>
Bugzilla used to have the path to perl on the shebang line set
to
<filename>
/usr/bonsaitools/bin/perl
</filename>
because when
Terry first started writing the code for mozilla.org he needed a
version of Perl and other tools that were completely under his
control. This location was abandoned for the 2.18 release in favor
of the more sensible
<filename>
/usr/bin/perl
</filename>
. If you
installed an older version of Bugzilla and created the symlink we
suggested, you can remove it now (provided that you don't have
anything else, such as Bonsai, using it and you don't intend to
reinstall an older version of Bugzilla).
</para>
</answer>
</qandaentry>
<qandaentry>
<question
id=
"faq-general-perlpath"
>
<question
id=
"faq-general-perlpath"
>
<para>
<para>
My perl is located at
<filename>
/usr/local/bin/perl
</filename>
My perl is located at
<filename>
/usr/local/bin/perl
</filename>
...
@@ -293,7 +255,7 @@ C:\mysql\bin\replace "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- *.cgi *.pl
...
@@ -293,7 +255,7 @@ C:\mysql\bin\replace "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- *.cgi *.pl
url=
"http://www.bugzilla.org/docs/developer.html#testsuite"
>
Developers'
url=
"http://www.bugzilla.org/docs/developer.html#testsuite"
>
Developers'
Guide
</ulink>
.) Having done this, run the test itself:
Guide
</ulink>
.) Having done this, run the test itself:
<programlisting>
<programlisting>
perl runtests.pl 2 --verbose
perl runtests.pl 2 --verbose
</programlisting>
</programlisting>
to ensure that you've modified all the relevant files.
to ensure that you've modified all the relevant files.
</para>
</para>
...
@@ -334,9 +296,16 @@ perl runtests.pl 2 --verbose
...
@@ -334,9 +296,16 @@ perl runtests.pl 2 --verbose
</question>
</question>
<answer>
<answer>
<para>
<para>
Unfortunately there are no step-by-step instructions,
As a web application, Bugzilla simply requires its root
but the following URL contains hints on how to do it:
directory to have the httpd context applied for it to work
<ulink
url=
"http://fedora.redhat.com/docs/selinux-apache-fc3/sn-debugging-and-customizing.html"
/>
properly under SELinux. This should happen automatically
on distributions that use SELinux and that package Bugzilla
(if it is installed with the native package management tools).
Information on how to view and change SELinux file contexts
can be found at the
<ulink
url=
"http://docs.fedoraproject.org/selinux-faq-fc5/"
>
SELinux FAQ
</ulink>
.
</para>
</para>
</answer>
</answer>
</qandaentry>
</qandaentry>
...
@@ -375,9 +344,8 @@ perl runtests.pl 2 --verbose
...
@@ -375,9 +344,8 @@ perl runtests.pl 2 --verbose
compensate for the change.
compensate for the change.
</para>
</para>
<para>
<para>
There is no GUI for adding fields to Bugzilla at this
As of Bugzilla 3.0 custom fields can be created via the
time. You can follow development of this feature in
"Custom Fields" admin page.
<ulink
url=
"https://bugzilla.mozilla.org/show_bug.cgi?id=91037"
>
bug 91037
</ulink>
</para>
</para>
</answer>
</answer>
</qandaentry>
</qandaentry>
...
@@ -425,8 +393,7 @@ perl runtests.pl 2 --verbose
...
@@ -425,8 +393,7 @@ perl runtests.pl 2 --verbose
<qandaentry>
<qandaentry>
<question
id=
"faq-phb-emailapp"
>
<question
id=
"faq-phb-emailapp"
>
<para>
<para>
Do users have to have any particular
Do users have to have any particular type of email application?
type of email application?
</para>
</para>
</question>
</question>
<answer>
<answer>
...
@@ -531,10 +498,11 @@ perl runtests.pl 2 --verbose
...
@@ -531,10 +498,11 @@ perl runtests.pl 2 --verbose
</question>
</question>
<answer>
<answer>
<para>
<para>
MySQL, the database back-end for Bugzilla, allows hot-backup
You should use the backup options supplied by your database platform.
of data. You can find strategies for dealing with backup
Vendor documentation for backing up a MySQL database can be found at
considerations at
<ulink
<ulink
url=
"http://www.mysql.com/doc/B/a/Backup.html"
/>
.
url=
"http://www.mysql.com/doc/B/a/Backup.html"
/>
.
PostgreSQL backup documentation can be found at
<ulink
url=
"http://www.postgresql.org/docs/8.0/static/backup.html"
/>
.
</para>
</para>
</answer>
</answer>
</qandaentry>
</qandaentry>
...
@@ -600,9 +568,9 @@ perl runtests.pl 2 --verbose
...
@@ -600,9 +568,9 @@ perl runtests.pl 2 --verbose
<para>
<para>
No. Bugzilla, Perl, the Template Toolkit, and all other support
No. Bugzilla, Perl, the Template Toolkit, and all other support
software needed to make Bugzilla work can be downloaded for free.
software needed to make Bugzilla work can be downloaded for free.
MySQL
-- the database used by Bugzilla -- is also open-source, but
MySQL
and PostgreSQL -- the databases supported by Bugzilla --
they ask that if you find their product valuable, you purchase a
are also open-source. MySQL asks that if you find their product
support contract from them that suits your needs.
valuable, you purchase a
support contract from them that suits your needs.
</para>
</para>
</answer>
</answer>
</qandaentry>
</qandaentry>
...
@@ -655,13 +623,12 @@ perl runtests.pl 2 --verbose
...
@@ -655,13 +623,12 @@ perl runtests.pl 2 --verbose
</question>
</question>
<answer>
<answer>
<para>
<para>
Yes, but commits to the database must wait until the tables
Refer to your database platform documentation for details on how to do hot
are unlocked. Bugzilla databases are typically very small,
backups.
and backups routinely take less than a minute. If your database
Vendor documentation for backing up a MySQL database can be found at
is larger, you may want to look into alternate backup
<ulink
url=
"http://www.mysql.com/doc/B/a/Backup.html"
/>
.
techniques, such as database replication, or backing up from
PostgreSQL backup documentation can be found at
a read-only mirror. (Read up on these in the MySQL docs
<ulink
url=
"http://www.postgresql.org/docs/8.0/static/backup.html"
/>
.
on the MySQL site.)
</para>
</para>
</answer>
</answer>
</qandaentry>
</qandaentry>
...
@@ -775,35 +742,14 @@ perl runtests.pl 2 --verbose
...
@@ -775,35 +742,14 @@ perl runtests.pl 2 --verbose
<answer>
<answer>
<para>
<para>
Use mysqldump to make a backup of the bugs database. For a
Reference your database vendor's documentation for information on
typical Bugzilla setup, such a command might look like this:
backing up and restoring your Bugzilla database on to a different server.
<programlisting>
Vendor documentation for backing up a MySQL database can be found at
/usr/bin/mysqldump -u(username) -p(password) --database bugs > bugzilla-backup.txt
<ulink
url=
"http://dev.mysql.com/doc/mysql/en/mysqldump.html"
/>
.
</programlisting>
PostgreSQL backup documentation can be found at
See the
<ulink
url=
"http://dev.mysql.com/doc/mysql/en/mysqldump.html"
>
<ulink
url=
"http://www.postgresql.org/docs/8.0/static/backup.html"
/>
.
mysqldump documentation
</ulink>
for more information on using
the tool, including how to restore your copy onto the destination
machine.
</para>
</para>
<warning>
<para>
Depending on the size of your database, and the power of your
machine, the mysqldump command could be running long enough
that the password would be visible to someone using the
<command>
ps
</command>
command. If you are on a multi-user
machine, and this is a concern to you, create an entry in
the file
<filename>
~/.my.cnf
</filename>
that looks like this:
<programlisting>
[mysqldump]
user=bugs
password=mypassword
</programlisting>
and then leave the 'user' and 'password' params out of the
command line.
</para>
</warning>
<para>
<para>
On your new machine, follow the instructions found in
<xref
On your new machine, follow the instructions found in
<xref
linkend=
"installing-bugzilla"
/>
as far as setting up the physical
linkend=
"installing-bugzilla"
/>
as far as setting up the physical
...
@@ -821,7 +767,7 @@ password=mypassword
...
@@ -821,7 +767,7 @@ password=mypassword
<note>
<note>
<para>
<para>
If the
location or port number of your SQL
server changed
If the
hostname or port number of your database
server changed
as part of the move, you'll need to update the appropriate
as part of the move, you'll need to update the appropriate
variables in localconfig before taking the next step.
variables in localconfig before taking the next step.
</para>
</para>
...
@@ -857,7 +803,6 @@ password=mypassword
...
@@ -857,7 +803,6 @@ password=mypassword
<qandadiv
id=
"faq-security"
>
<qandadiv
id=
"faq-security"
>
<title>
Bugzilla Security
</title>
<title>
Bugzilla Security
</title>
<qandaentry>
<qandaentry>
<question
id=
"faq-security-mysql"
>
<question
id=
"faq-security-mysql"
>
<para>
<para>
...
@@ -866,24 +811,18 @@ password=mypassword
...
@@ -866,24 +811,18 @@ password=mypassword
section of this guide...)
section of this guide...)
</para>
</para>
</question>
</question>
<!-- Should we really even answer this question? -->
<answer>
<answer>
<para>
<para>
Run MySQL like this:
<command>
mysqld --skip-grant-tables
</command>
.
You can run MySQL like this:
<command>
mysqld --skip-grant-tables
</command>
.
Please remember that
<emphasis>
this makes MySQL as secure as
However, doing so disables all MySQL security. This is a bad idea.
taping a $100 to the floor of a football stadium bathroom for
Please consult
<xref
linkend=
"security-mysql"
/>
of this guide
safekeeping.
</emphasis>
and the MySQL documentation for better solutions.
</para>
<warning>
<para>
This can't be stressed enough. Doing this is a bad idea.
Please consult
<xref
linkend=
"security-mysql"
/>
of this guide
and the MySQL documentation for better solutions.
</para>
</para>
</warning>
</warning>
</answer>
</answer>
</qandaentry>
</qandaentry>
<qandaentry>
<qandaentry>
<question
id=
"faq-security-knownproblems"
>
<question
id=
"faq-security-knownproblems"
>
<para>
<para>
...
@@ -1124,19 +1063,16 @@ password=mypassword
...
@@ -1124,19 +1063,16 @@ password=mypassword
There is no facility in Bugzilla itself to do this. It's also
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
generally not a smart thing to do if you don't know exactly what
you're doing. If you understand SQL, though, you can use the
you're doing. If you understand SQL, though, you can use the
<command>
mysql
</command>
command line utility to manually insert,
<command>
mysql
</command>
or
<command>
psql
</command>
command line
delete and modify table information. There are also more intuitive
utilities to manually insert, delete and modify table information.
GUI clients available. Personal favorites of the Bugzilla team
There are also more intuitive GUI clients available for both MySQL
are
<ulink
url=
"http://www.phpmyadmin.net/"
>
phpMyAdmin
</ulink>
and PostgreSQL. For MySQL, we recommend
and
<ulink
url=
"http://www.mysql.com/products/mysqlcc/"
>
MySQL
<ulink
url=
"http://www.phpmyadmin.net/"
>
phpMyAdmin
</ulink>
.
Control Center
</ulink>
.
</para>
</para>
<para>
<para>
Remember, backups are your friend. Everyone makes mistakes, and
Remember, backups are your friend. Everyone makes mistakes, and
it's nice to have a safety net in case you mess something up.
it's nice to have a safety net in case you mess something up.
Consider using
<command>
mysqldump
</command>
to make a duplicate
of your database before altering it manually.
</para>
</para>
</answer>
</answer>
...
@@ -1163,7 +1099,8 @@ password=mypassword
...
@@ -1163,7 +1099,8 @@ password=mypassword
<para>
<para>
Running MySQL with this command line option is very insecure and
Running MySQL with this command line option is very insecure and
should only be done when not connected to the external network
should only be done when not connected to the external network
as a troubleshooting step.
as a troubleshooting step. Please do not run your production
database in this mode.
</para>
</para>
</warning>
</warning>
<para>
<para>
...
@@ -1255,7 +1192,7 @@ password=mypassword
...
@@ -1255,7 +1192,7 @@ password=mypassword
</qandadiv>
</qandadiv>
<qandadiv
id=
"faq-nt"
>
<qandadiv
id=
"faq-nt"
>
<title>
Bugzilla and Win32
</title>
<title>
Can Bugzilla run on a Windows server?
</title>
<qandaentry>
<qandaentry>
<question
id=
"faq-nt-easiest"
>
<question
id=
"faq-nt-easiest"
>
...
@@ -1265,11 +1202,7 @@ password=mypassword
...
@@ -1265,11 +1202,7 @@ password=mypassword
</question>
</question>
<answer>
<answer>
<para>
<para>
Remove Windows. Install Linux. Install Bugzilla.
Making Bugzilla work easily with Windows
The boss will never know the difference. B^)
</para>
<para>
Seriously though, making Bugzilla work easily with Windows
was one of the major goals of the 2.18 milestone. If the
was one of the major goals of the 2.18 milestone. If the
necessary components are in place (perl, a webserver, an MTA, etc.)
necessary components are in place (perl, a webserver, an MTA, etc.)
then installation of Bugzilla on a Windows box should be no more
then installation of Bugzilla on a Windows box should be no more
...
@@ -1349,7 +1282,7 @@ password=mypassword
...
@@ -1349,7 +1282,7 @@ password=mypassword
<orderedlist>
<orderedlist>
<listitem>
<listitem>
<para>
<para>
Hitting
http://www.activestate.com/ActivePerl
Hitting
<ulink
url=
"http://www.activestate.com/ActivePerl"
/>
</para>
</para>
</listitem>
</listitem>
<listitem>
<listitem>
...
@@ -1393,10 +1326,10 @@ password=mypassword
...
@@ -1393,10 +1326,10 @@ password=mypassword
</question>
</question>
<answer>
<answer>
<para>
<para>
New in 2.16 - you can change it
from the Name and Password
You can change your email address
from the Name and Password
section in Preferences. You will be emailed at both
addresses for
section in Preferences. You will be emailed at both
the old
confirmation. 'Administrative Policies' must have the
and new addresses for confirmation. 'Administrative Policies'
'allowemailchange' parameter set to
<quote>
On
</quote>
.
must have the
'allowemailchange' parameter set to
<quote>
On
</quote>
.
</para>
</para>
</answer>
</answer>
</qandaentry>
</qandaentry>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment