[Bugs] [Bug 1718227] New: SELinux context labels are missing for newly added bricks using add-brick command

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 7 10:34:53 UTC 2019


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

            Bug ID: 1718227
           Summary: SELinux context labels are missing for newly added
                    bricks using add-brick command
           Product: GlusterFS
           Version: 6
                OS: Linux
            Status: NEW
         Component: scripts
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: anoopcs at redhat.com
                CC: bugs at gluster.org
        Depends On: 1717953
  Target Milestone: ---
    Classification: Community



+++ This bug was initially created as a clone of Bug #1717953 +++

Description of problem:
When we add new bricks to an existing volume using add-brick command
"glusterd_brick_t" SELinux context label is not assigned on those new brick
paths.

Version-Release number of selected component (if applicable):
master

How reproducible:
Always

Steps to Reproduce:
1. Create and start a basic distribute-replicate volume
2. Verify that brick paths have "glusted_brick_t" SELinux labels by running `ls
-lZ <brick-path>`
3. Add new bricks to the existing volume
4. Check SELinux labels on newly added brick paths

Actual results:
"glusterd_brick_t" SELinux label is missing on newly added bricks

Expected results:
Following SELinux label is expected:
system_u:object_r:glusterd_brick_t:s0

--- Additional comment from Worker Ant on 2019-06-06 19:46:18 IST ---

REVIEW: https://review.gluster.org/22834 (extras/hooks: Add SELinux label on
new bricks during add-brick) posted (#1) for review on master by Anoop C S


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1717953
[Bug 1717953] SELinux context labels are missing for newly added bricks using
add-brick command
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list