Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Post inservice upgrade from RHGS 3.3.1 [Rhel 7.4] to RHGS 3.3.1_Async [Rhel 7.5] , Lots of Selinux AVC denied { search } for ganesha.nfsd process is been observed. Version-Release number of selected component (if applicable): # rpm -qa | grep selinux selinux-policy-targeted-3.13.1-192.el7.noarch selinux-policy-3.13.1-192.el7.noarch libselinux-python-2.5-12.el7.x86_64 libselinux-2.5-12.el7.x86_64 libselinux-utils-2.5-12.el7.x86_64 # rpm -qa | grep ganesha glusterfs-ganesha-3.8.4-54.1.el7rhgs.x86_64 nfs-ganesha-2.4.4-18.el7rhgs.x86_64 nfs-ganesha-gluster-2.4.4-18.el7rhgs.x86_64 How reproducible: 1/1 Steps to Reproduce: 1.Create RHGS 3.3.1, 4 node Ganesha cluster 2.Create and export 2 volumes. 3.Mount 2 volumes to 4 clients. 4.Run linux untars and Crefy (Crefy Io pattern -create,chmod,chown,chgrp,hardlink,symlink,truncate,rename) 5.While IO's are in process,perform inservice upgrade of all the 4 nodes.(Post each node upgrade,perform reboot) Actual results: Post inservice upgrade (Rhel 7.4 to Rhel 7.5),on all the 4 nodes,Selinux AVC denied { search } for ganesha.nfsd process is been observed # cat /var/log/audit/audit.log | grep "search" | grep "AVC" | wc -l 225 # cat /var/log/audit/audit.log | grep "search" type=AVC msg=audit(1520497331.671:112): avc: denied { search } for pid=4600 comm="ganesha.nfsd" name="/" dev="fuse" ino=1 scontext=system_u:system_r:ganesha_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir type=AVC msg=audit(1520497335.579:120): avc: denied { search } for pid=5197 comm="ganesha.nfsd" name="/" dev="fuse" ino=1 scontext=system_u:system_r:ganesha_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir type=AVC msg=audit(1520497339.089:126): avc: denied { search } for pid=5889 comm="ganesha.nfsd" name="/" dev="fuse" ino=1 scontext=system_u:system_r:ganesha_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir type=AVC msg=audit(1520497342.480:134): avc: denied { search } for pid=6972 comm="ganesha.nfsd" name="/" dev="fuse" ino=1 scontext=system_u:system_r:ganesha_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir type=AVC msg=audit(1520497346.027:140): avc: denied { search } for pid=8135 comm="ganesha.nfsd" name="/" dev="fuse" ino=1 scontext=system_u:system_r:ganesha_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir Expected results: No AVC's should be observed post upgrade to RHEL 7.5 Additional info: No Fuctionality impact is been observed post upgrade