Bug 735900
Summary: | fpaste-server fails to start -- CFUNCTYPE(c_int)(lambda: None) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Oron Peled <oron> | ||||
Component: | fpaste-server | Assignee: | Clint Savage <herlo1> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | herlo1, jonathansteffan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-08-06 19:55:32 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
Oron Peled
2011-09-06 05:52:25 UTC
I've just run through the install again on F15 without this issue. I will build out a fresh F15 install in the morning and double-check, however I don't think there is any problems on this end. I did note a couple typos in the INSTALL.rst, but I'm supposing since you are past them, it didn't affect much. As for the comments you have made above not related to the error. I do understand your desire to have the configuration be simple. Standing up an fpaste-server instance with sqlite3 is actually quite simple, I agree. But since we want this to be a robust server application, it's probably better that we use something like postgresql or mysql at a minimum. Not sure about the reference to /etc vs /usr other than to say that I normally agree. The settings.py is just how Django does things and thus part of their normal configuration setup. In the meantime, if you could figure out what package is giving that weird ctypes error, I'd be most appreciative. Cheers, herlo Oh, I missed one comment. You mentioned the creation of the fpaste user. Well, that user is only for the web interface, not to run a service and thus why it was not created during package install. If the fpaste user actually were the one running the process (in this case, it's apache) I would have done so. Cheers, herlo OK, the culprit is selinux (setenforce 0 "solved" it) After consulting /var/log/audit/audit.log and using audit2why, the minimal setting that solved the problem (with setenforce 1) was: setsebool -P httpd_tmp_exec 1 With this, the fpaste-server work as advertised. I think that you can add this to your howto, but maybe the selinux fedora team would have better idea. They should probably add specific rules for this service to fedora targeted policy (re-assign the bug?) Interesting to say the least. Thanks for that tidbit. I've added a mention of it in the updated INSTALL.rst. Also, I misspoke previously, the fpaste user is actually created to managed the postgresql database. Thanks for your help on this. Cheers, Clint This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |