Bug 1938050

Summary: [rhel8][selinux] - NFS Ganesha goes to failed state on restarting the service due to one or more AVCs
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Upasana <ubansal>
Component: nfs-ganeshaAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED ERRATA QA Contact: Upasana <ubansal>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: arjsharm, dang, grajoria, kkeithle, mbenjamin, rcyriac, rhs-bugs, shilpsha, skoduri, storage-qa-internal, vdas
Target Milestone: ---Keywords: Regression, TestBlocker, ZStream
Target Release: RHGS 3.5.z Batch Update 4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-ganesha-3.4-3.el8rhgs Doc Type: Bug Fix
Doc Text:
Previously, `ganesha.nfsd` process got terminated because a new SELinux in RHEL8 triggered an AVC denial for the `/var/lib/nfs symlink`. The` /var/lib/nfs` directory was replaced by ganesha HA setup with a symlink to a directory on the gluster-shared-storage volume. With this update, an additional SELinux policy has been added to enable reading the symlink. As a result, `ganesha.nfsd` is now allowed to run.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-29 07:21:23 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:

Comment 13 errata-xmlrpc 2021-04-29 07:21:23 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 (nfs-ganesha bug fix and enhancement update), 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-2021:1463