Bug 1733677

Summary: pcp spams system journal with SELinux read AVCs
Product: [Fedora] Fedora Reporter: Georg Sauthoff <fedora>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: brolley, fche, lberk, mgoodwin, nathans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-29 01:38:07 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:

Description Georg Sauthoff 2019-07-27 09:01:25 UTC
Description of problem:
When running Fedora 29 pcp triggers several read denied AVCs.

Version-Release number of selected component (if applicable):
pcp-4.3.2-1.fc29.x86_64

How reproducible:
always

Steps to Reproduce:
1. make sure that pcp is installed (e.g. as a dependency of dstat)
2. journalctl -n 8000
3. search for AVC denied messages

Actual results:
Several repeats of read denied AVCs like this one:

audit[7229]: AVC avc:  denied  { read } for  pid=72
29 comm="mdadm" path="/var/lib/pcp/pmdas/linux/help.dir" dev="sdc4" ino=203264 s
context=system_u:system_r:mdadm_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0
 tclass=file permissive=0

When they occur they are repeated 4, 8 or even 20 times or so.

Expected results:
No such AVC errors.

Additional info:

Comment 1 Nathan Scott 2019-07-29 01:38:07 UTC

*** This bug has been marked as a duplicate of bug 1721644 ***