Bug 800741 - SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgram_socket .
SELinux is preventing /usr/bin/python from 'create' accesses on the unix_dgra...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-03-07 01:20 EST by geminic86
Modified: 2012-03-07 02:35 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-07 02:35:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description geminic86 2012-03-07 01:20:23 EST
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

: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.
: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
:#============= 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 02:35:47 EST
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 


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