+++ This bug was initially created as a clone of Bug #1047975 +++ SELinux has defined the new glusterd_brick_t label to support a server side policy of glusterfs. Use of this label should allow enablement of SELinux (e.g., enforcing mode) on glusterfs servers. Bug 1016138 covers the evolution of the server side selinux policy for glusterfs. To avoid the confusion and overhead of manual labelling each time a brick is created, add a hook script that labels the brick directory automatically on volume creation. The hook script can be included by users/admins/packagers as necessary if selinux support is desired. --- Additional comment from Anand Avati on 2014-01-02 14:26:45 EST --- REVIEW: http://review.gluster.org/6630 (extras/hook-scripts: add post-create script to label bricks for selinux) posted (#1) for review on master by Brian Foster (bfoster) --- Additional comment from Anand Avati on 2014-01-02 15:04:19 EST --- REVIEW: http://review.gluster.org/6630 (extras/hook-scripts: add post-create script to label bricks for selinux) posted (#2) for review on master by Brian Foster (bfoster) --- Additional comment from Anand Avati on 2014-01-03 09:39:58 EST --- REVIEW: http://review.gluster.org/6630 (extras/hook-scripts: selinux brick file context management scripts) posted (#3) for review on master by Brian Foster (bfoster) --- Additional comment from Anand Avati on 2014-01-03 11:04:16 EST --- REVIEW: http://review.gluster.org/6630 (extras/hook-scripts: selinux brick file context management scripts) posted (#4) for review on master by Brian Foster (bfoster)
The above patches have already made it into the currently shipped RHGS versions.