Description of problem: SELinux is preventing /usr/bin/rm from 'getattr' accesses on the file /run/lock/man-db.lock. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that rm should be allowed getattr access on the man-db.lock 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: # grep rm /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mandb_t:s0-s0:c0.c1023 Target Context system_u:object_r:var_run_t:s0 Target Objects /run/lock/man-db.lock [ file ] Source rm Source Path /usr/bin/rm Port <Unknown> Host (removed) Source RPM Packages coreutils-8.21-8.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-24.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-rc4-fafadora+ #4 SMP Sun Mar 24 08:50:50 CET 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-31 15:27:15 CEST Last Seen 2013-03-31 15:27:15 CEST Local ID f2012a3d-6875-41dd-b7d7-3735de4addf8 Raw Audit Messages type=AVC msg=audit(1364736435.19:212): avc: denied { getattr } for pid=21610 comm="rm" path="/run/lock/man-db.lock" dev="tmpfs" ino=344855 scontext=system_u:system_r:mandb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file type=SYSCALL msg=audit(1364736435.19:212): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=ffffffffffffff9c a1=10c3428 a2=10c3398 a3=100 items=0 ppid=20636 pid=21610 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=2 tty=(none) comm=rm exe=/usr/bin/rm subj=system_u:system_r:mandb_t:s0-s0:c0.c1023 key=(null) Hash: rm,mandb_t,var_run_t,file,getattr audit2allow #============= mandb_t ============== allow mandb_t var_run_t:file getattr; audit2allow -R require { type mandb_t; type var_run_t; class file getattr; } #============= mandb_t ============== allow mandb_t var_run_t:file getattr; Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-rc4-fafadora+ type: libreport
*** This bug has been marked as a duplicate of bug 947001 ***