Bug 671213

Summary: SELinux is preventing /usr/bin/evolution "getattr" access on unix_stream_socket.
Product: [Fedora] Fedora Reporter: Walt <waltsaw>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 13CC: dwalsh, mgrepl, waltsaw
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e5f6f8966218e596ad7202c558e670153f5554db2fa6f42ce9d5ec6ef0c075e0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-21 09:43:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Walt 2011-01-20 19:01:22 UTC
Summary:

SELinux is preventing /usr/bin/evolution "getattr" access on unix_stream_socket.

Detailed Description:

SELinux denied access requested by evolution. It is not expected that this
access is required by evolution 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                user_u:user_r:user_t:s0
Target Context                user_u:user_r:pulseaudio_t:s0
Target Objects                unix_stream_socket [ unix_stream_socket ]
Source                        evolution
Source Path                   /usr/bin/evolution
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           evolution-2.30.3-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-76.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.7-66.fc13.i686 #1
                              SMP Wed Dec 15 07:40:25 UTC 2010 i686 i686
Alert Count                   88
First Seen                    Thu 06 Jan 2011 08:39:48 AM EST
Last Seen                     Thu 06 Jan 2011 08:39:49 AM EST
Local ID                      fd0f428f-09cb-4c12-aa2a-931563e3c408
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1294321189.39:9161): avc:  denied  { getattr } for  pid=14549 comm="evolution" path="socket:[31409]" dev=sockfs ino=31409 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:pulseaudio_t:s0 tclass=unix_stream_socket

node=(removed) type=SYSCALL msg=audit(1294321189.39:9161): arch=40000003 syscall=195 success=no exit=-13 a0=82d747e0 a1=ad41699c a2=bf5ff4 a3=3 items=0 ppid=4711 pid=14549 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=6 comm="evolution" exe="/usr/bin/evolution" subj=user_u:user_r:user_t:s0 key=(null)



Hash String generated from  catchall,evolution,user_t,pulseaudio_t,unix_stream_socket,getattr
audit2allow suggests:

#============= user_t ==============
allow user_t pulseaudio_t:unix_stream_socket getattr;

Comment 1 Miroslav Grepl 2011-01-21 09:43:50 UTC

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