Bug 426918
Summary: | Make cyloadrules on upgrade | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexey Torkhov <atorkhov> |
Component: | cyphesis | Assignee: | Wart <wart> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.5.15-8.fc9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-06-14 04:20:26 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: |
Description
Alexey Torkhov
2007-12-28 12:45:13 UTC
You're right. It looks like cyloadrules is only getting called the first time the database is created. Do you think it would be better to run cyloadrules every time the server starts, or only when the server is upgraded? It should be also runned on rpm install, not just upgrade - after uninstalling you're leaving database intact. Um, I don't know. May be running it only on install/upgrade is better. The reason we can't do it in the rpm script during install/upgrade time is because we can't be guaranteed that postgres is running. If we want to limit it to only during upgrades/installs, then we would have to make the rpm create some sort of trigger, such as setting a flag in /etc/sysconfig/cyphesis. The init.d script for cyphesis would then check for this trigger, run cyloadrules, and then reset the trigger. I have a patch to fix this and will post a link to the rpm for you to try once I've done a little more testing on it. Changing Version to F9. I can push this fix to F8 if there is still demand for it. cyphesis-0.5.15-7.fc9 has been submitted as an update for Fedora 9 cyphesis-0.5.15-8.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cyphesis'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5107 cyphesis-0.5.15-8.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. cyphesis-0.5.15-8.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |