Description of problem: The alert just popped up. I was not doing anything. SELinux is preventing restorecon from 'write' accesses on the file /var/log/pcp/pmlogger/pmlogger_daily-K.log. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that restorecon should be allowed write access on the pmlogger_daily-K.log file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'restorecon' --raw | audit2allow -M my-restorecon # semodule -X 300 -i my-restorecon.pp Additional Information: Source Context system_u:system_r:setfiles_t:s0 Target Context system_u:object_r:pcp_log_t:s0 Target Objects /var/log/pcp/pmlogger/pmlogger_daily-K.log [ file ] Source restorecon Source Path restorecon Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.5-12.fc32.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.4.0-0.rc6.git2.1.fc32.x86_64 #1 SMP Thu Nov 7 16:31:36 UTC 2019 x86_64 x86_64 Alert Count 2 First Seen 2019-11-13 16:16:14 EST Last Seen 2019-11-13 16:16:14 EST Local ID a8e9dde2-952b-45ea-8ad6-1d217a7bd706 Raw Audit Messages type=AVC msg=audit(1573679774.122:572): avc: denied { write } for pid=152317 comm="restorecon" path="/var/log/pcp/pmlogger/pmlogger_daily-K.log" dev="dm-3" ino=4065885 scontext=system_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:pcp_log_t:s0 tclass=file permissive=0 Hash: restorecon,setfiles_t,pcp_log_t,file,write Version-Release number of selected component: selinux-policy-3.14.5-12.fc32.noarch Additional info: component: selinux-policy reporter: libreport-2.11.2 hashmarkername: setroubleshoot kernel: 5.4.0-0.rc6.git2.1.fc32.x86_64 type: libreport Potential duplicate: bug 1747488
*** This bug has been marked as a duplicate of bug 1778449 ***