Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37347

Summary: Bugzilla ebuild dies when running ./checksetup.pl due to incorrect permissions set for mysql 4
Product: Gentoo Linux Reporter: Mark Lynch <markl>
Component: New packagesAssignee: Benjamin Coles <sj7trunks>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for 2.17.7 with changes to permissions to work with mysql 4.
slight modifications to ebuild

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.