Description of problem: Popped up during regular use of a Rawhide system, probably a background job. SELinux is preventing /usr/sbin/logrotate from 'read' accesses on the directory /var/cache/dnf. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that logrotate should be allowed read access on the dnf directory 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: # grep logrotate /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:logrotate_t:s0-s0:c0.c1023 Target Context system_u:object_r:rpm_var_cache_t:s0 Target Objects /var/cache/dnf [ dir ] Source logrotate Source Path /usr/sbin/logrotate Port <Unknown> Host (removed) Source RPM Packages logrotate-3.8.8-1.fc22.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-99.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.18.0-1.fc22.x86_64 #1 SMP Tue Dec 9 14:49:38 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-12-11 09:50:45 PST Last Seen 2014-12-11 09:50:45 PST Local ID 36fcc429-fcfa-4b24-a925-4c67e47dbef7 Raw Audit Messages type=AVC msg=audit(1418320245.334:983): avc: denied { read } for pid=5996 comm="logrotate" name="dnf" dev="dm-1" ino=401184 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpm_var_cache_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1418320245.334:983): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffffffffffff9c a1=7fff875eb1d0 a2=90800 a3=0 items=0 ppid=5994 pid=5996 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=logrotate exe=/usr/sbin/logrotate subj=system_u:system_r:logrotate_t:s0-s0:c0.c1023 key=(null) Hash: logrotate,logrotate_t,rpm_var_cache_t,dir,read Version-Release number of selected component: selinux-policy-3.13.1-99.fc22.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.0-1.fc22.x86_64 type: libreport Potential duplicate: bug 1163438
*** This bug has been marked as a duplicate of bug 1163438 ***