Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124282 - Update from bugzilla 2.18.4 to 2.18.5 causes internal server error. Have fix!
Summary: Update from bugzilla 2.18.4 to 2.18.5 causes internal server error. Have fix!
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
: 130371 (view as bug list)
Depends on:
Reported: 2006-02-27 09:43 UTC by Jon Sporring
Modified: 2007-01-03 07:46 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jon Sporring 2006-02-27 09:43:38 UTC
Upgrading from v. 2.18.4 to 2.18.5 in x86 results in an "500 Internal Server error".  I use enotice, and there have not been any emerge messages, warning me of extra action, which I need to take.

Fix: Some files had changed ownership to root:root, I first changed ownership, although I have no idea if that is really necessary:

chown -R apache:apache /var/www/localhost/htdocs/bugzilla

Then I looked in /var/log/apache2/error_log, which had the error: 

(13)Permission denied: exec of '/var/www/localhost/htdocs/bugzilla/index.cgi' failed, [...]

so I added excecution rights to all the cgi scripts:

chmod u+x /var/www/localhost/htdocs/bugzilla/*.cgi

Which resolved the internal error.

I hope this will help others upgrading bugzilla.

Best, Jon
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2006-12-05 08:41:11 UTC
*** Bug 130371 has been marked as a duplicate of this bug. ***
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2006-12-05 08:48:36 UTC
The problem here is that the bugzilla ebuild marks all the cgi-files as "server-owned".

Now /etc/vhosts/webapp-config sets the permissions on such files to


This can be changed to 


and webapp-config should then refrain from killing the permission bit.

The problem is: Server-owned files are usually not intended to be executable for security reasons. I don't know exactly why the bugzilla ebuild does this but there might be a valid reason for that. I'll contact rl03 and try to resolve that.

So just as a workaround you can set:


in /etc/vhosts/webapp-config for now.
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2007-01-03 07:46:26 UTC
should be fixed in 2.22.1