[Bugs] [Bug 1222869] [SELinux] [BVT]: Selinux throws AVC errors while running DHT automation on Rhel6.6

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 1 08:25:53 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1222869



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10996 committed in release-3.7 by Niels de
Vos (ndevos at redhat.com) 
------
commit 4fda438a0aa55e2cb0412f8c800d01f81fe4bbbe
Author: anand <anekkunt at redhat.com>
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 at redhat.com>
    >Reviewed-on: http://review.gluster.org/10815
    >Reviewed-by: Niels de Vos <ndevos at redhat.com>
    >Tested-by: NetBSD Build System
    >Tested-by: Gluster Build System <jenkins at build.gluster.com>

    Change-Id: Ic97458f41e1184054cbedbeb547118b217768bbd
    BUG: 1222869
    Signed-off-by: anand <anekkunt at redhat.com>
    Reviewed-on: http://review.gluster.org/10996
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Tested-by: Niels de Vos <ndevos at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3T8lhyZIen&a=cc_unsubscribe


More information about the Bugs mailing list