Bug 911943 - not honoring PROJECT environment variable
Summary: not honoring PROJECT environment variable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bugzilla
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-16 20:52 UTC by Michael Cronenworth
Modified: 2014-02-07 03:14 UTC (History)
3 users (show)

Fixed In Version: bugzilla-4.2.7-3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-07 03:04:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 843457 0 None None None Never

Description Michael Cronenworth 2013-02-16 20:52:21 UTC
Description of problem:
As described in the official documentation:
http://www.bugzilla.org/docs/4.2/en/html/multiple-bz-dbs.html

The $PROJECT variable was honored in Bugzilla 4.0. After the upgrade from F17 to F18 this variable is not honored.

I have verified that Apache is working correctly. It is passing PROJECT on to Bugzilla, but Bugzilla is ignoring it.

Version-Release number of selected component (if applicable):
bugzilla-4.2.4-1.fc18.noarch


How reproducible: Always


Steps to Reproduce:
1. PROJECT=test ./checksetup.pl
2. Add <VirtualHost> in apache as documented.
3. Browse to web site.
  
Actual results: Apache gives an internal server error.

It creates a /etc/bugzilla/localconfig instead of a /etc/bugzilla/localconfig.test and does not use the templates for /usr/share/bugzilla/templates/en/test.


Expected results: Working bugzilla.

Comment 1 Michael Cronenworth 2013-11-13 15:14:23 UTC
Upstream has a patch that fixes this. It should be released in 4.2.8 and higher.

Comment 2 Emmanuel Seyman 2013-11-14 21:58:07 UTC
I'll backport the upstream patch, fix the one we have already and release an update.

Comment 3 Fedora Update System 2013-11-14 23:55:28 UTC
bugzilla-4.2.7-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/bugzilla-4.2.7-2.fc19

Comment 4 Fedora Update System 2013-11-14 23:55:36 UTC
bugzilla-4.2.7-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/bugzilla-4.2.7-2.fc20

Comment 5 Fedora Update System 2013-11-14 23:55:43 UTC
bugzilla-4.2.7-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/bugzilla-4.2.7-2.fc18

Comment 6 Fedora Update System 2013-11-16 06:54:07 UTC
Package bugzilla-4.2.7-2.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.7-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21428/bugzilla-4.2.7-2.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-11-24 03:39:05 UTC
bugzilla-4.2.7-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-11-24 03:40:41 UTC
bugzilla-4.2.7-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-11-24 04:02:20 UTC
bugzilla-4.2.7-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Carl-Johan Schenström 2014-01-13 08:20:41 UTC
Still does not work properly. Our version is bugzilla-4.2.7-2.fc18, but the error is present in later versions, including master, due to the following change in bugzilla-rw-paths.patch:

-        'localconfig' => "$libpath/$localconfig",
+        'localconfig' => "/etc/bugzilla/localconfig",

Replace with "/etc/bugzilla/$localconfig" to enable PROJECT-based multitenancy.

Comment 11 Michael Cronenworth 2014-01-13 14:08:43 UTC
Yes, this is not fixed. Sorry, I forgot to re-open this.

Comment 12 Michael Cronenworth 2014-01-13 14:11:37 UTC
My patch in bug 949130 provided the same fix as comment 10 here.

https://bugzilla.redhat.com/attachment.cgi?id=814839

Comment 13 Fedora Update System 2014-01-22 06:33:51 UTC
bugzilla-4.2.7-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/bugzilla-4.2.7-3.fc20

Comment 14 Fedora Update System 2014-01-22 06:34:08 UTC
bugzilla-4.2.7-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/bugzilla-4.2.7-3.fc19

Comment 15 Fedora Update System 2014-01-22 23:08:22 UTC
Package bugzilla-4.2.7-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 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.7-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1331/bugzilla-4.2.7-3.fc19
then log in and leave karma (feedback).

Comment 16 Fedora End Of Life 2014-02-05 23:23:45 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 17 Fedora Update System 2014-02-07 03:04:27 UTC
bugzilla-4.2.7-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2014-02-07 03:14:01 UTC
bugzilla-4.2.7-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.