Bug 1223185
| Summary: | [SELinux] [BVT]: Selinux throws AVC errors while running DHT automation on Rhel6.6 | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Anand Nekkunti <anekkunt> |
| Component: | glusterd | Assignee: | bugs <bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | akhakhar, bugs, kaushal, lvrabec, mgrepl, mmalik, pprakash, rcyriac, sgraf, smohan, storage-qa-internal |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1222869 | Environment: | |
| Last Closed: | 2016-06-16 13:03:20 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: | |||
| Bug Depends On: | 1222869 | ||
| Bug Blocks: | |||
|
Description
Anand Nekkunti
2015-05-20 03:56:36 UTC
REVIEW: http://review.gluster.org/10815 (Build: Restoring selinux context for rhel6 during post run) posted (#4) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: Restoring selinux context for rhel6 during post run) posted (#5) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: Restoring selinux context for rhel6 during post run) posted (#6) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: Restoring selinux context for rhel6 during post run) posted (#7) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: glusterd files cleanup to set SElinux context properly.) posted (#8) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: glusterd files cleanup to set SElinux context properly.) posted (#9) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: glusterd socket file cleanup to set SElinux context properly.) posted (#10) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10815 (Build: glusterd socket file cleanup to set SElinux context properly.) posted (#11) for review on master by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/10815 (Build: glusterd socket file cleanup to set SElinux context properly.) posted (#12) for review on master by Anand Nekkunti (anekkunt) COMMIT: http://review.gluster.org/10815 committed in master by Niels de Vos (ndevos) ------ commit 3fec17dd4535866de61ae3c12cbc590062d08d5d Author: anand <anekkunt> Date: Tue May 19 14:31:23 2015 +0530 Build: glusterd socket file cleanup to set SElinux context properly. Issue : glusterd runs as rpm_script_t when it's executed from the rpm scriptlet, socket file created in this context is set as rpm_script_t type, glusterd unable to access socket file when it runs in glusterd_t context (glusted not cleaning socket file while stoping due to some cleanup issues, so cleanup required in rpm install). Fix: In rpm post upgrade,remove the glusterd.socket file which is created by glusterd in rpm context. so that glusterd recreates socket file when it runs in glusterd_t context. Change-Id: I57041e2e0f9d3e74e12198507a9bd47d09f4a132 BUG: 1223185 Signed-off-by: anand <anekkunt> Reviewed-on: http://review.gluster.org/10815 Reviewed-by: Niels de Vos <ndevos> Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins.com> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report. glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |