Bug 557954

Summary: SELinux is preventing /usr/bin/python "write" access.
Product: [Fedora] Fedora Reporter: Chris Recker <recker.chris>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: brsessions, dlstripes-fedorabugs, dwalsh, jghobrial, keyur.thadeshwar, mgrepl, robert.l.kief
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:8c7d23f6ba6265dffb79724209905103bee2789c0b899b2b95e4baf5874fd542
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-25 10:09: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:
Embargoed:

Description Chris Recker 2010-01-22 21:24:25 UTC
Summary:

SELinux is preventing /usr/bin/python "write" access.

Detailed Description:

[smoltSendProfil has a permissive type (smoltclient_t). This access was not
denied.]

SELinux denied access requested by smoltSendProfil. It is not expected that this
access is required by smoltSendProfil and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:smoltclient_t:s0-s0:c0.c1023
Target Context                system_u:system_r:smoltclient_t:s0-s0:c0.c1023
Target Objects                None [ unix_dgram_socket ]
Source                        smoltSendProfil
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.2-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-69.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.9-174.fc12.x86_64 #1
                              SMP Mon Dec 21 05:33:33 UTC 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 22 Jan 2010 12:20:12 PM CST
Last Seen                     Fri 22 Jan 2010 12:20:12 PM CST
Local ID                      84ff7f0c-cba8-4808-b0d1-e8bde70cf645
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1264184412.157:28019): avc:  denied  { write } for  pid=13834 comm="smoltSendProfil" scontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tcontext=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 tclass=unix_dgram_socket

node=(removed) type=SYSCALL msg=audit(1264184412.157:28019): arch=c000003e syscall=44 success=yes exit=100 a0=6 a1=1b598b0 a2=64 a3=4000 items=0 ppid=13832 pid=13834 auid=494 uid=494 gid=485 euid=494 suid=494 fsuid=494 egid=485 sgid=485 fsgid=485 tty=(none) ses=74 comm="smoltSendProfil" exe="/usr/bin/python" subj=system_u:system_r:smoltclient_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-69.fc12,catchall,smoltSendProfil,smoltclient_t,smoltclient_t,unix_dgram_socket,write
audit2allow suggests:

#============= smoltclient_t ==============
allow smoltclient_t self:unix_dgram_socket write;

Comment 1 Miroslav Grepl 2010-01-25 10:09:59 UTC

*** This bug has been marked as a duplicate of bug 557952 ***