First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 124282
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jon Sporring <sporring@diku.dk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124282 depends on: Show dependency tree
Bug 124282 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-27 09:43 0000
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 From Gunnar Wrobel 2006-12-05 08:41:11 0000 -------
*** Bug 130371 has been marked as a duplicate of this bug. ***

------- Comment #2 From Gunnar Wrobel 2006-12-05 08:48:36 0000 -------
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

vhost_perms_serverowned_file="0644"

This can be changed to 

vhost_perms_serverowned_file="o-w"

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:

vhost_perms_serverowned_file="o-w"

in /etc/vhosts/webapp-config for now.

------- Comment #3 From Renat Lumpau 2007-01-03 07:46:26 0000 -------
should be fixed in 2.22.1

First Last Prev Next    No search results available      Search page      Enter new bug