Bug 1222869
Summary: | [SELinux] [BVT]: Selinux throws AVC errors while running DHT automation on Rhel6.6 | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anand Nekkunti <anekkunt> | |
Component: | packaging | Assignee: | Anand Nekkunti <anekkunt> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 3.7.0 | CC: | akhakhar, amukherj, anekkunt, bugs, gluster-bugs, kaushal, kparthas, lvrabec, mgrepl, mmalik, nsathyan, pprakash, rcyriac, sgraf, storage-qa-internal | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1210404 | |||
: | 1223185 (view as bug list) | Environment: | ||
Last Closed: | 2015-06-02 08:03:00 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: | ||||
Bug Blocks: | 1210404, 1212796, 1219955, 1223185, 1228109 |
Description
Anand Nekkunti
2015-05-19 10:35:38 UTC
REVIEW: http://review.gluster.org/10815 (Build: Restoring selinux context for rhel6 during post run) posted (#3) for review on master by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10996 (Build: glusterd socket file cleanup to set SElinux context properly.) posted (#3) for review on release-3.7 by Atin Mukherjee (amukherj) REVIEW: http://review.gluster.org/10996 (Build: glusterd socket file cleanup to set SElinux context properly.) posted (#4) for review on release-3.7 by Anand Nekkunti (anekkunt) REVIEW: http://review.gluster.org/10996 (Build: glusterd socket file cleanup to set SElinux context properly.) posted (#5) for review on release-3.7 by Anand Nekkunti (anekkunt) COMMIT: http://review.gluster.org/10996 committed in release-3.7 by Niels de Vos (ndevos) ------ commit 4fda438a0aa55e2cb0412f8c800d01f81fe4bbbe Author: anand <anekkunt> Date: Fri May 29 13:57:00 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. Backport of: >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> Change-Id: Ic97458f41e1184054cbedbeb547118b217768bbd BUG: 1222869 Signed-off-by: anand <anekkunt> Reviewed-on: http://review.gluster.org/10996 Reviewed-by: Niels de Vos <ndevos> Tested-by: Niels de Vos <ndevos> 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.7.1, please reopen this bug report. glusterfs-3.7.1 has been announced on the Gluster Packaging mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.packaging/1 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |