Bug 761124 - SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file abrt.socket.
Summary: SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file...
Keywords:
Status: CLOSED NOTABUG
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:fb2975c0c38ae99814cddaa95e5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-07 18:00 UTC by Nikola Pajkovsky
Modified: 2014-02-02 22:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-13 08:57:36 UTC
Type: ---


Attachments (Terms of Use)

Description Nikola Pajkovsky 2011-12-07 18:00:24 UTC
libreport version: 2.0.7.49.g9038
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.4-1.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file abrt.socket.
time:           Wed 07 Dec 2011 06:59:50 PM CET

description:
:SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file abrt.socket.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that abrtd should be allowed unlink access on the abrt.socket sock_file 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 abrtd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:var_run_t:s0
:Target Objects                abrt.socket [ sock_file ]
:Source                        abrtd
:Source Path                   /usr/sbin/abrtd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           abrt-2.0.6-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-64.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.4-1.fc16.x86_64 #1 SMP Tue Nov
:                              29 11:37:53 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Wed 07 Dec 2011 06:59:04 PM CET
:Last Seen                     Wed 07 Dec 2011 06:59:04 PM CET
:Local ID                      1f60ea15-1f1b-483f-93fd-3e8886d96f78
:
:Raw Audit Messages
:type=AVC msg=audit(1323280744.751:256): avc:  denied  { unlink } for  pid=6138 comm="abrtd" name="abrt.socket" dev=tmpfs ino=82276 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=sock_file
:
:
:type=SYSCALL msg=audit(1323280744.751:256): arch=x86_64 syscall=unlink success=no exit=EACCES a0=403e02 a1=5 a2=5 a3=7fff40456330 items=0 ppid=1 pid=6138 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=abrtd exe=/usr/sbin/abrtd subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)
:
:Hash: abrtd,abrt_t,var_run_t,sock_file,unlink
:
:audit2allow
:
:#============= abrt_t ==============
:allow abrt_t var_run_t:sock_file unlink;
:
:audit2allow -R
:
:#============= abrt_t ==============
:allow abrt_t var_run_t:sock_file unlink;
:

Comment 1 Miroslav Grepl 2011-12-07 18:08:56 UTC
Where is this socket placed?


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