Bug 1064524
| Summary: | Wrong SELinux type in dokuwiki-selinux package | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Manuel Faux <fedora> |
| Component: | dokuwiki | Assignee: | Adam Tkac <vonsch> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | andrew, vonsch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dokuwiki-0-0.24.20140929c.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-25 19:58:24 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: | |||
dokuwiki-0-0.23.20140929b.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/dokuwiki-0-0.23.20140929b.el5 dokuwiki-0-0.23.20140929b.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/dokuwiki-0-0.23.20140929b.el6 dokuwiki-0-0.23.20140929b.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dokuwiki-0-0.23.20140929b.fc21 dokuwiki-0-0.23.20140929b.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dokuwiki-0-0.23.20140929b.fc19 dokuwiki-0-0.23.20140929b.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dokuwiki-0-0.23.20140929b.fc20 Package dokuwiki-0-0.23.20140929b.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing dokuwiki-0-0.23.20140929b.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-4917/dokuwiki-0-0.23.20140929b.el5 then log in and leave karma (feedback). dokuwiki-0-0.24.20140929c.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dokuwiki-0-0.24.20140929c.fc21 dokuwiki-0-0.24.20140929c.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/dokuwiki-0-0.24.20140929c.el7 dokuwiki-0-0.24.20140929c.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/dokuwiki-0-0.24.20140929c.el6 dokuwiki-0-0.24.20140929c.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dokuwiki-0-0.24.20140929c.fc20 dokuwiki-0-0.24.20140929c.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/dokuwiki-0-0.24.20140929c.el5 dokuwiki-0-0.24.20140929c.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dokuwiki-0-0.24.20140929c.fc22 dokuwiki-0-0.24.20140929c.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. dokuwiki-0-0.24.20140929c.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. dokuwiki-0-0.24.20140929c.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. dokuwiki-0-0.24.20140929c.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. dokuwiki-0-0.24.20140929c.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: In the dokuwiki-selinux package, the SELinux type "httpd_sys_content_rw_t" is used, which does not exist. Actually the type is called "httpd_sys_rw_content_t". Version-Release number of selected component (if applicable): 0-0.21.20131208.fc20 How reproducible: Install dokuwiki-selinux from Fedora repo. The files in /etc/dokuwiki and /usr/share/dokuwiki/lib/plugins have "wrong" SELinux types, which deny httpd to write to those directories. Actual results: /etc/dokuwiki/* and /usr/share/dokuwiki/lib/plugins/* have SELinux types etc_t and httpd_sys_content_t, respectively. Expected results: Directories /etc/dokuwiki/* and /usr/share/dokuwiki/lib/plugins/* should have SELinux type httpd_sys_rw_content_t. Additional info: I also think that the last line of the "%post selinux" section in the spec file can be ommited, since the one before last already covers that directory recursively: restorecon -R '%{_datadir}/%{name}' || : restorecon -R '%{_datadir}/%{name}/lib/plugins' || :