Bug 244991
Summary: | zabbix-1.4-2 package includes incorrect SQL initialization files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Blankenbaker <paul_blankenbaker> | ||||
Component: | zabbix | Assignee: | Jarod Wilson <jarod> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6 | CC: | dan, paul_blankenbaker | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.4-3.fc7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-07-02 16:08:50 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Paul Blankenbaker
2007-06-20 13:16:35 UTC
Hm... Thanks much for the detailed bug report. I've poked at the spec some, and this appears to be a problem with the upstream Makefile, since I don't do anything special to install the sql files, just a 'make install'. I'll see what I can do to get this fixed shortly. Created attachment 157856 [details]
update for the spec file
I have played a lot to find where is the problem. The spec file includes
out-dated SQL scripts from the frontend subdir. This patch fixes the issue, but
places the SQL files directly into the docdir.
Ideally, I'd like to fix this in the Makefile, but unfortunately, due to lack of time, we'll go with some spec file shuffling, similar to what Dan proposed. I'm taking a slightly different approach though, so as to put all the database files in a sub-directory of the docdir. $ rpm -qpl /data/buildroot/RPMS/x86_64/zabbix-1.4-3.fc7.x86_64.rpm |grep sql /usr/share/doc/zabbix-1.4/dbinit/data/data.sql /usr/share/doc/zabbix-1.4/dbinit/data/images_mysql.sql /usr/share/doc/zabbix-1.4/dbinit/schema/mysql.sql I'll get that checked in and built shortly. zabbix-1.4-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. Thanks for the fix. Just wanted to let you know that the zabbix-1.4-3.fc6 (which I "yum updated") contained the necessary SQL files to initialize the Zabbix server using a MySQL server as the backend database. Things are working again. |