Bug 442706
Summary: | fixfiles prints out 'broken pipe' error when selinux is disabled | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
Component: | glpi | Assignee: | Remi Collet <fedora> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-25 18:55:22 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: | |||
Bug Depends On: | |||
Bug Blocks: | 235705 |
Description
Karsten Hopp
2008-04-16 11:26:19 UTC
The problem here is the glpi spec file is not checking if SELinux is installed. It should be using semodule -s targeted glpi.pp You don't need to install a Policy Package for this either. semanage fcontext could be used. /etc/glpi(/.*)? root:object_r:httpd_sys_content_t:s0 /var/log/glpi(/.*)? system_u:object_r:httpd_sys_content_t:s0 /var/lib/glpi(/.*)? system_u:object_r:httpd_sys_content_t:s0 This would be better if you specified. /etc/glpi(/.*)? system_u:object_r:httpd_sys_content_t:s0 /var/log/glpi(/.*)? system_u:object_r:httpd_sys_script_rw_t:s0 Do the php scripts actually read/write this directory or could you label it httpd_log_t? /var/lib/glpi(/.*)? system_u:object_r:httpd_sys_script_rw_t:s0 @daniel, thanks Next release will use semanage fcontext. |