Bug 1857170 - [Ganesha+Selinux] Lock test is failing on v3 mount when selinux is in Enforcing mode
Summary: [Ganesha+Selinux] Lock test is failing on v3 mount when selinux is in Enforci...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.5.z Async Update
Assignee: Kaleb KEITHLEY
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-15 10:28 UTC by Manisha Saini
Modified: 2020-11-18 12:09 UTC (History)
14 users (show)

Fixed In Version: nfs-ganesha-2.7.3-12.el7rhgs
Doc Type: Bug Fix
Doc Text:
Cause: changes in base selinux policy Consequence: AVCs at runtime, ganesha cannot connect to the portmapper to connect to the rpc-lockd and create file locks Fix: allow connection to portmapper Result: file locking works
Clone Of:
Environment:
Last Closed: 2020-11-17 14:52:46 UTC
Embargoed:


Attachments (Terms of Use)

Comment 4 Manisha Saini 2020-07-20 13:52:26 UTC
Verified this BZ with

# rpm -qa | grep ganesha
glusterfs-ganesha-6.0-37.1.el7rhgs.x86_64
nfs-ganesha-2.7.3-12.el7rhgs.x86_64
nfs-ganesha-selinux-2.7.3-12.el7rhgs.noarch
nfs-ganesha-gluster-2.7.3-12.el7rhgs.x86_64


# getenforce
Enforcing

# ./a.out /mnt/ganesha/1G 
opening /mnt/ganesha/1G
opened; hit Enter to lock... 
locking
locked; hit Enter to write... 
Write succeeeded 
locked; hit Enter to unlock... 
unlocking

Lock test is passing with v3 mount.Moving this BZ to verified state


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