Description of problem: SELinux is preventing logrotate from 'getattr' accesses on the file /var/log/audit/audit.log. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that logrotate should be allowed getattr access on the audit.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 'logrotate' --raw | audit2allow -M my-logrotate # semodule -X 300 -i my-logrotate.pp Additional Information: Source Context system_u:system_r:logrotate_t:s0-s0:c0.c1023 Target Context system_u:object_r:auditd_log_t:s0 Target Objects /var/log/audit/audit.log [ file ] Source logrotate Source Path logrotate Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.17.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.14.3-300.fc27.x86_64 #1 SMP Mon Dec 4 17:18:27 UTC 2017 x86_64 x86_64 Alert Count 3 First Seen 2017-12-11 01:06:02 CET Last Seen 2017-12-12 14:06:03 CET Local ID ed31c2e6-acd7-46cb-bc27-dd2cee4c62b2 Raw Audit Messages type=AVC msg=audit(1513083963.830:292): avc: denied { getattr } for pid=5077 comm="logrotate" path="/var/log/audit/audit.log" dev="dm-1" ino=2027388 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:auditd_log_t:s0 tclass=file permissive=0 Hash: logrotate,logrotate_t,auditd_log_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-283.17.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.14.3-300.fc27.x86_64 type: libreport
selinux-policy-3.13.1-283.26.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a9711c96b2
selinux-policy-3.13.1-283.26.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a9711c96b2
selinux-policy-3.13.1-283.26.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.