| Summary: | SELinux is preventing /sbin/killall5 from 'getattr' accesses on the None /home/ahmed/.dropbox-dist/dropbox. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mamii <sarrab1976> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:7f9f5d11b2f9a4d34b994626ddbad83f1b11af8afe5920871d3166e8fb4712ad | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-15 15:37:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I have no idea why This seems particularily strange, unless dropbox sets up logrotate to watch the contents in a users homedirectory? How does dropbox logrotate file look? |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.2-1.fc16.x86_64 reason: SELinux is preventing /sbin/killall5 from 'getattr' accesses on the None /home/ahmed/.dropbox-dist/dropbox. time: Tue 31 Jan 2012 08:22:28 PM CET description: :SELinux is preventing /sbin/killall5 from 'getattr' accesses on the None /home/ahmed/.dropbox-dist/dropbox. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that killall5 should be allowed getattr access on the dropbox <Unknown> 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 pidof /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 unconfined_u:object_r:user_home_t:s0 :Target Objects /home/ahmed/.dropbox-dist/dropbox [ None ] :Source pidof :Source Path /sbin/killall5 :Port <Unknown> :Host (removed) :Source RPM Packages sysvinit-tools-2.88-5.dsf.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-74.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26 : 03:21:58 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Tue 31 Jan 2012 08:15:01 PM CET :Last Seen Tue 31 Jan 2012 08:15:01 PM CET :Local ID 715aea2c-def6-4d79-a926-1bee6af28765 : :Raw Audit Messages :type=AVC msg=audit(1328037301.453:78): avc: denied { getattr } for pid=2221 comm="pidof" path="/home/ahmed/.dropbox-dist/dropbox" dev=dm-1 ino=1317710 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1328037301.453:78): arch=c000003e syscall=4 success=yes exit=0 a0=7fff13b96770 a1=7fff13b966d0 a2=7fff13b966d0 a3=0 items=0 ppid=2220 pid=2221 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="pidof" exe="/sbin/killall5" subj=system_u:system_r:logrotate_t:s0-s0:c0.c1023 key=(null) : : :Hash: pidof,logrotate_t,user_home_t,None,getattr : :audit2allow : : :audit2allow -R : :