Bug 1288815
| Summary: | sphinx systemd service file references mysqld still | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Trevor Cordes <fedora> |
| Component: | sphinx | Assignee: | Gerald Cox <gbcox> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 24 | CC: | christof, gbcox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sphinx-2.2.11-1.fc23 sphinx-2.2.11-1.fc24 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-05 20:50:22 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
Trevor Cordes
2015-12-06 08:59:24 UTC
Investigating... Still investigating, but don't believe this will cause an issue because it doesn't appear that mysql/mariadb is required. In my system, I am running neither... instead I'm using postgresql - and I haven't experienced any issues. I will however continue to research before I update the searchd.service file. Good point. I haven't actually had sphinx fail because of this, I only came across it when I had another .service file that did fail because it referenced mysqld and in that case the order did matter. If sphinx doesn't need maria alive when it starts, if it waits for connections from client programs before calling the db, then I guess it wouldn't matter. However, say you have another .service file that had After=searchd.service and started to make sphinx calls right away. If sphinx wasn't waiting for maria then in that case things would start failing. Pathological, but possible? I don't think systemd and rpm give an easy way to say "if our db choice is pg then After=pg; if our db choice is maria then After=maria". So it might be hopeless until someone programs such an option. (That said, most people will be using maria instead of pg(? maybe?) so perhaps a default still helps. In any case, After=mysqld.service is no longer useful.) Thanks (In reply to Trevor Cordes from comment #3) > I don't think systemd and rpm give an easy way to say "if our db choice is > pg then After=pg; if our db choice is maria then After=maria". So it might > be hopeless until someone programs such an option. (That said, most people > will be using maria instead of pg(? maybe?) so perhaps a default still > helps. In any case, After=mysqld.service is no longer useful.) Agreed, mysqld.service should be removed. I'll continue looking, but at this point appears it was really never needed. I'll keep this bug open as a reminder to me to remove it during the next update. Thanks for taking the time to report it. Changing to F24 since that is current. Awaiting next release to incorporate this change. Upstream bugfix release 2.2.11 is available. sphinx-2.2.11-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bca02f997b sphinx-2.2.11-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-29846306eb sphinx-2.2.11-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-29846306eb sphinx-2.2.11-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bca02f997b sphinx-2.2.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. sphinx-2.2.11-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |