Hide Forgot
Description of problem: [SElinux]: AVC denying read to "/var/lib/pcsd/pcsd.key" observed during gluster nfs-ganesha disable. but it doesnt affect any functionality. Tear down of ganesha works just fine. Version-Release number of selected component (if applicable): [root@dhcp42-47 b0]# rpm -qa|grep glusterfs glusterfs-3.7.9-2.el6rhs.x86_64 glusterfs-geo-replication-3.7.9-2.el6rhs.x86_64 glusterfs-libs-3.7.9-2.el6rhs.x86_64 glusterfs-client-xlators-3.7.9-2.el6rhs.x86_64 glusterfs-cli-3.7.9-2.el6rhs.x86_64 glusterfs-server-3.7.9-2.el6rhs.x86_64 glusterfs-ganesha-3.7.9-2.el6rhs.x86_64 glusterfs-api-3.7.9-2.el6rhs.x86_64 glusterfs-fuse-3.7.9-2.el6rhs.x86_64 [root@dhcp42-47 b0]# rpm -qa|grep ganesha nfs-ganesha-2.3.1-2.el6rhs.x86_64 nfs-ganesha-gluster-2.3.1-2.el6rhs.x86_64 glusterfs-ganesha-3.7.9-2.el6rhs.x86_64 [root@dhcp42-47 b0]# rpm -qa|grep pcs pcsc-lite-libs-1.5.2-15.el6.x86_64 pcs-0.9.139-9.el6.x86_64 How reproducible: Always Steps to Reproduce: 1.Create a 4 node cluster and configure ganesha on cluster. 2.Now do a gluster nfs-ganesha disable and observe that below AVC is seen in audit.log type=AVC msg=audit(1460557717.262:2029): avc: denied { read } for pid=32068 comm="fence_tool" path="/var/lib/pcsd/pcsd.key" dev=dm-0 ino=915918 scontext=unconfined_u:system_r:fenced_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file type=AVC msg=audit(1460558390.304:2437): avc: denied { read } for pid=3543 comm="fence_tool" path="/var/lib/pcsd/pcsd.key" dev=dm-0 ino=915918 scontext=unconfined_u:system_r:fenced_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file Actual results: Denial AVC seen for /var/lib/pcsd/pcsd.key during gluster nfs-ganesha disable but it doesnt affect any functionality. Tear down of ganesha works just fine. Expected results: There should not be any denial AVC in audit.log Additional info: