Bug 1238202 - [SELinux] glusterfs/extras: add a convenience script to label (selinux) gluster bricks
Summary: [SELinux] glusterfs/extras: add a convenience script to label (selinux) glust...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Vijay Bellur
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On: 1047975
Blocks: 1235589
TreeView+ depends on / blocked
 
Reported: 2015-07-01 11:59 UTC by Prasanth
Modified: 2018-01-29 17:46 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1047975
Environment:
Last Closed: 2018-01-29 17:46:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Prasanth 2015-07-01 11:59:45 UTC
+++ 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)

Comment 2 Amar Tumballi 2018-01-29 17:46:39 UTC
The above patches have already made it into the currently shipped RHGS versions.


Note You need to log in before you can comment on or make changes to this bug.