Bug 1825177

Summary: Set relevant selinux booleans to "on" state to allow rsync operation for gluster
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Arun Kumar <arukumar>
Component: selinuxAssignee: Sunny Kumar <sunkumar>
Status: CLOSED ERRATA QA Contact: Arun Kumar <arukumar>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: pasik, pprakash, rcyriac, rhs-bugs, rkothiya, sgirijan, sheggodu, sunkumar
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.5.z Batch Update 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0-34 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-16 06:19:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1813917    

Description Arun Kumar 2020-04-17 10:11:21 UTC
Description of problem:

Boolean option  "rsync_client" and "rsync_full_access" should be set to "on" to fix the rsync permission issue referred in the link[1]. 
Setting these boolean values to "on "fixes the problem of file permissions mentioned in the bug[2]

These options should be persistently set to "on" state 
to fix the problem of rsync operation not working with gluster rpm  

Solution:
--------------
# setsebool -P  rsync_full_access on
# setsebool -P rsync_client on

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1824842#c8

[2]:  https://bugzilla.redhat.com/show_bug.cgi?id=1821759#c5

Comment 3 Sunny Kumar 2020-04-20 12:05:17 UTC
Upstream patch:
https://review.gluster.org/#/c/glusterfs/+/24348/.

Comment 23 errata-xmlrpc 2020-06-16 06:19:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2572