Bug 800741 - SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgram_socket .
Summary: SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgra...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:50494e8fc5b66ffc916e1b52e79...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-07 06:20 UTC by geminic86
Modified: 2012-03-07 07:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-07 07:35:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description geminic86 2012-03-07 06:20:23 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.i686.PAE
reason:         SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgram_socket .
time:           Wed 07 Mar 2012 01:20:13 AM EST

description:
:SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgram_socket .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that python should be allowed create access on the  unix_dgram_socket 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 sagator /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:sagator_t:s0
:Target Context                system_u:system_r:sagator_t:s0
:Target Objects                 [ unix_dgram_socket ]
:Source                        sagator
:Source Path                   /usr/bin/python
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           python-2.7.2-5.2.fc16.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.7-1.fc16.i686.PAE #1 SMP Tue Feb
:                              21 01:30:59 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Wed 07 Mar 2012 01:18:53 AM EST
:Last Seen                     Wed 07 Mar 2012 01:18:53 AM EST
:Local ID                      bfe607e0-6bd1-49c1-8282-b93481701109
:
:Raw Audit Messages
:type=AVC msg=audit(1331101133.669:1944): avc:  denied  { create } for  pid=19648 comm="sagator" scontext=system_u:system_r:sagator_t:s0 tcontext=system_u:system_r:sagator_t:s0 tclass=unix_dgram_socket
:
:
:type=SYSCALL msg=audit(1331101133.669:1944): arch=i386 syscall=socketcall success=no exit=EACCES a0=1 a1=bfcd1fb0 a2=4f5ddff4 a3=9da7e38 items=0 ppid=19647 pid=19648 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sagator exe=/usr/bin/python subj=system_u:system_r:sagator_t:s0 key=(null)
:
:Hash: sagator,sagator_t,sagator_t,unix_dgram_socket,create
:
:audit2allow
:
:#============= sagator_t ==============
:allow sagator_t self:unix_dgram_socket create;
:
:audit2allow -R
:
:#============= sagator_t ==============
:allow sagator_t self:unix_dgram_socket create;
:

Comment 1 Miroslav Grepl 2012-03-07 07:35:47 UTC
Please don't report bugs like this. We don't ship sagator policy. 

We don't know where this policy come from?

If you need to help with this policy, just send a mail on 

selinux.org


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