libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.9-1.fc16.x86_64 time: Fri 31 Aug 2012 12:42:43 PM CLT description: :SELinux is preventing /usr/sbin/tmpwatch from 'write' accesses on the directory H. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that tmpwatch should be allowed write access on the H 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 tmpwatch /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 :Target Context system_u:object_r:dosfs_t:s0 :Target Objects H [ dir ] :Source tmpwatch :Source Path /usr/sbin/tmpwatch :Port <Unknown> :Host (removed) :Source RPM Packages tmpwatch-2.10.3-1.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-91.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.9-1.fc16.x86_64 #1 : SMP Wed Aug 15 20:45:23 UTC 2012 x86_64 x86_64 :Alert Count 220 :First Seen Tue 28 Aug 2012 09:17:34 AM CLT :Last Seen Fri 31 Aug 2012 11:34:44 AM CLT :Local ID 837511c8-208f-44d5-b4d3-0b170c50bedc : :Raw Audit Messages :type=AVC msg=audit(1346427284.472:367): avc: denied { write } for pid=29686 comm="tmpwatch" name="48" dev="dm-5" ino=175 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dosfs_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1346427284.472:367): arch=x86_64 syscall=unlink success=no exit=EACCES a0=20a558b a1=40470b a2=208b2d0 a3=7fff9d97c0e8 items=0 ppid=29683 pid=29686 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm=tmpwatch exe=/usr/sbin/tmpwatch subj=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 key=(null) : :Hash: tmpwatch,tmpreaper_t,dosfs_t,dir,write : :audit2allow : :#============= tmpreaper_t ============== :#!!!! The source type 'tmpreaper_t' can write to a 'dir' of the following types: :# amavis_spool_t, man_t, file_t, tmpfile, sandbox_file_t, httpd_cache_t, kismet_log_t, rpm_var_cache_t, httpd_sys_rw_content_t, print_spool_t : :allow tmpreaper_t dosfs_t:dir write; : :audit2allow -R : :#============= tmpreaper_t ============== :#!!!! The source type 'tmpreaper_t' can write to a 'dir' of the following types: :# amavis_spool_t, man_t, file_t, tmpfile, sandbox_file_t, httpd_cache_t, kismet_log_t, rpm_var_cache_t, httpd_sys_rw_content_t, print_spool_t : :allow tmpreaper_t dosfs_t:dir write; :
Where is "48" dir located? Did you move it to /tmp directory? # find /tmp -printf "%P %Z\n" | grep "48" If yes, remove it if you don't want it. Please reopen, if I am wrong. Thank you.
*** Bug 853478 has been marked as a duplicate of this bug. ***