Bug 786236 - SELinux is preventing /sbin/killall5 from 'getattr' accesses on the None /home/ahmed/.dropbox-dist/dropbox.
Summary: SELinux is preventing /sbin/killall5 from 'getattr' accesses on the None /hom...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7f9f5d11b2f9a4d34b994626ddb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-31 19:23 UTC by mamii
Modified: 2012-03-15 15:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 15:37:59 UTC
Type: ---


Attachments (Terms of Use)

Description mamii 2012-01-31 19:23:02 UTC
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
:
:

Comment 1 Daniel Walsh 2012-01-31 19:38:30 UTC
I have no idea why This seems particularily strange, unless dropbox sets up logrotate to watch the contents in a users homedirectory?

Comment 2 Miroslav Grepl 2012-03-15 15:37:59 UTC
How does dropbox logrotate file look?


Note You need to log in before you can comment on or make changes to this bug.