| Summary: | SELinux is preventing /usr/sbin/tmpwatch from 'setattr' accesses on the dossier accounts. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:38a4bc045252cf4d1c816bd23334e4b0bf03fbc8be664e6b0d02d05ccc5470dc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-17 18:53:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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;