Hide Forgot
SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the dossier accounts. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that tmpwatch should be allowed setattr access on the accounts 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 unconfined_u:object_r:telepathy_mission_control_ho me_t:s0 Target Objects accounts [ dir ] Source tmpwatch Source Path /usr/sbin/tmpwatch Port <Inconnu> Host (removed) Source RPM Packages tmpwatch-2.10.2-1.fc16 Target RPM Packages Policy RPM selinux-policy-3.9.16-28.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.0-0.rc3.git0.3.fc16.x86_64 #1 SMP Tue Jun 14 17:13:27 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen jeu. 16 juin 2011 03:42:14 CEST Last Seen jeu. 16 juin 2011 03:42:14 CEST Local ID 0003344c-7198-4525-b20a-f6db6f60077f Raw Audit Messages type=AVC msg=audit(1308188534.342:869): avc: denied { setattr } for pid=13640 comm="tmpwatch" name="accounts" dev=dm-1 ino=920069 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:telepathy_mission_control_home_t:s0 tclass=dir type=SYSCALL msg=audit(1308188534.342:869): arch=x86_64 syscall=utime success=yes exit=0 a0=40458b a1=7fffdbe7a380 a2=10450 a3=200 items=0 ppid=13638 pid=13640 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=54 comm=tmpwatch exe=/usr/sbin/tmpwatch subj=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 key=(null) Hash: tmpwatch,tmpreaper_t,telepathy_mission_control_home_t,dir,setattr audit2allow #============= tmpreaper_t ============== allow tmpreaper_t telepathy_mission_control_home_t:dir setattr; audit2allow -R #============= tmpreaper_t ============== allow tmpreaper_t telepathy_mission_control_home_t:dir setattr;
Allow tmpreaper to set attributes of all user home content directories and allow it to delete all user home content files, dirs, symlinks and sock files. http://git.fedorahosted.org/git/?p=selinux-policy.git;a=commitdiff;h=a6687c87a03566c97523e28ed25e76abbc99abea
Fixed in selinux-policy-3.9.16-30.fc16