Bug 1070979
| Summary: | Access to /var/lib/bugzilla/data/webdot is denied by default bugzilla.conf | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joel Uckelman <uckelman> |
| Component: | bugzilla | Assignee: | Emmanuel Seyman <emmanuel> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | bazanluis20, emmanuel, itamar, mcepl, mcepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | bugzilla-4.2.13-1.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-15 03:24:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Joel Uckelman
2014-02-27 20:43:09 UTC
(In reply to Joel Uckelman from comment #0) > > Bugzilla writes files for dependency graphs to > /var/lib/bugzilla/data/webdot, but there's nothing in > /etc/httpd/conf.d/bugzilla.conf which makes that directory accessible, and > no note in /usr/share/doc/bugzilla/README.fedora about needing to add that > to make it so. You're right. I've fixed this in rawhide. I need to test this and I'll backport the fix soon (along with an update to 4.4.7, by the looks of it). > The fact that the URLs show up starting with "/var/lib/bugzilla/data/webdot" > in the pages generated by showdependencygraph.cgi make this a rather > confusing problem to troubleshoot in the first place, so at least a note > someplace would be helpful. Indeed. A while back, I set out to fix this (by making the url match what you would get by installing bugzilla from the tarball) and it got lost in the haystack of things I need to do. > I added this to /etc/httpd/conf.d/bugzilla.conf: > > <Directory /var/lib/bugzilla/data/webdot> > Require all granted > </Directory> Added. > That was sufficient to make it work. Additionally, the > /var/lib/bugzilla/data/webdot/.htaccess should have "<FilesMatch > \.(png|map)$>" instead of just "<FilesMatch \.png$>", since the *.map files > are needed for providing the hyperlinks in the dependency graphs. The webdot directory and everything it contains is created by Bugzilla when you run the checksetup.pl program. Have you filed a bug in Mozilla's bugzilla instance about this? bugzilla-4.2.13-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/bugzilla-4.2.13-1.fc20 bugzilla-4.4.8-1.fc21.1 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/bugzilla-4.4.8-1.fc21.1 Package bugzilla-4.2.13-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing bugzilla-4.2.13-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1699/bugzilla-4.2.13-1.fc20 then log in and leave karma (feedback). bugzilla-4.4.8-1.fc21.1 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. bugzilla-4.2.13-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |