Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37347 - Bugzilla ebuild dies when running ./checksetup.pl due to incorrect permissions set for mysql 4
Summary: Bugzilla ebuild dies when running ./checksetup.pl due to incorrect permission...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Benjamin Coles
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 14:55 UTC by Mark Lynch
Modified: 2004-08-08 17:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for 2.17.7 with changes to permissions to work with mysql 4. (bugzilla-2.17.7.ebuild,4.22 KB, text/plain)
2004-03-26 23:17 UTC, Mark Lynch
Details
slight modifications to ebuild (bugzilla-2.17.7.ebuild,4.24 KB, text/plain)
2004-03-31 21:56 UTC, Carl A. Dunham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lynch 2004-01-05 14:55:13 UTC
When installing bugzilla ebuild and running the config step it fails on the checksetup.pl script.

This is due to a permissions error in the database set up - from the bugzilla install documentation:

If you are using MySQL 4, the bugs user also needs to be granted the LOCK TABLES and CREATE TEMPORARY TABLES permissions.

Reproducible: Always
Steps to Reproduce:
1. emerge bugzilla
2. ebuild /var/db/pkg/net-www/bugzilla-2.17.6-r1/bugzilla-2.17.6-r1.ebuild


Actual Results:  
Script crashed with permission error

Expected Results:  
Completed ebuild configuration.

Other comments on ebuild:

In file /var/www/bugzilla/localconfig change $webservergroup = "apache"; which
will let the permissions be set by the ./checksetup script correctly.

For apache2 the bugzilla.conf could be installed to /etc/apache2/conf/modules.d/
instead of /etc/apache/conf and then allow the user to specify the linkage to
the server - i.e. named host etc.
Comment 1 Mark Lynch 2004-03-26 23:17:25 UTC
Created attachment 28135 [details]
Ebuild for 2.17.7 with changes to permissions to work with mysql 4.

I've made some minor changes to the ebuild to get it to work and also upgraded
it to 2.17.7 in the hope that it can be commited to portage?

Is there a maintainer for bugzilla at the moment?

Cheers,
Mark
Comment 2 x-wing 2004-03-28 19:40:28 UTC
I have this exact same problem and it works like a charm now with the posted ebuild.
Comment 3 Carl A. Dunham 2004-03-31 21:56:04 UTC
Created attachment 28489 [details]
slight modifications to ebuild

Hi, just popping in a couple of quick fixes, including mysql grant fix,
removing archaic reference to "processmail", dependency on patchutils. Could 
still use better apache2 support and elimination of "/usr/bonsaitools"...
Comment 4 Mark Lynch 2004-08-08 17:43:07 UTC
Closing this bug in favour of bug 59165 which uses the new wepapp-config.