Bug 1490909 - [Ganesha] : Unable to bring up a Ganesha HA cluster on SELinux disabled machines on latest gluster bits.
Summary: [Ganesha] : Unable to bring up a Ganesha HA cluster on SELinux disabled machi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: common-ha
Version: 3.10
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ambarish
QA Contact: Ambarish
URL:
Whiteboard:
Depends On:
Blocks: 1478897
TreeView+ depends on / blocked
 
Reported: 2017-09-12 13:07 UTC by Ambarish
Modified: 2017-10-06 17:11 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.10.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1478897
Environment:
Last Closed: 2017-10-06 17:11:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Worker Ant 2017-09-12 13:10:02 UTC
REVIEW: https://review.gluster.org/18264 (semanage commands inside ganesha-ha.sh script will fail if selinux is Disabled.This patch introduces a check if selinux is enabled or not,and subsequently run semange commands only on selinux enabled systems.) posted (#1) for review on release-3.10 by Anonymous Coward

Comment 2 Worker Ant 2017-09-12 13:32:45 UTC
REVIEW: https://review.gluster.org/18264 (semanage commands inside ganesha-ha.sh script will fail if selinux is Disabled.This patch introduces a check if selinux is enabled or not,and subsequently run semange commands only on selinux enabled systems.) posted (#2) for review on release-3.10 by Anonymous Coward

Comment 3 Worker Ant 2017-09-14 09:18:54 UTC
REVIEW: https://review.gluster.org/18264 (ganesha-ha: don't set SELinux booleans if SELinux is disabled) posted (#3) for review on release-3.10 by Niels de Vos (ndevos)

Comment 4 Worker Ant 2017-09-16 13:01:52 UTC
COMMIT: https://review.gluster.org/18264 committed in release-3.10 by Kaleb KEITHLEY (kkeithle) 
------
commit b4eca2f985d8207183f15fccfc2f907737625097
Author: Ambarish <asoman>
Date:   Tue Sep 12 18:34:29 2017 +0530

    ganesha-ha: don't set SELinux booleans if SELinux is disabled
    
    semanage commands inside ganesha-ha.sh script will fail if selinux is
    Disabled. This patch introduces a check if selinux is enabled or not,
    and subsequently run semange commands only on selinux enabled systems.
    
    Change-Id: Ibee61cbb1d51a73e6c326b49bac5c7ce06feb310
    BUG: 1490909
    Signed-off-by: Ambarish <asoman>
    Reviewed-on: https://review.gluster.org/18264
    Reviewed-by: Niels de Vos <ndevos>
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: jiffin tony Thottan <jthottan>
    Reviewed-by: Daniel Gryniewicz <dang>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 5 Shyamsundar 2017-10-06 17:11:53 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.6, please open a new bug report.

glusterfs-3.10.6 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-October/000084.html
[2] https://www.gluster.org/pipermail/gluster-users/


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