diff options
author | anand <anekkunt@redhat.com> | 2015-05-19 14:31:23 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-05-29 00:44:16 -0700 |
commit | 3fec17dd4535866de61ae3c12cbc590062d08d5d (patch) | |
tree | 9dcb556fdca942707ade835adc605372ee7cab47 /rpc/rpc-lib/src/auth-null.c | |
parent | 99eaa1a8255105687c78f8dda48c0a60023e1ffc (diff) |
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@redhat.com>
Reviewed-on: http://review.gluster.org/10815
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/rpc-lib/src/auth-null.c')
0 files changed, 0 insertions, 0 deletions