Bug 671212

Summary: SELinux is preventing /usr/bin/evolution "getattr" access on unix_dgram_socket.
Product: [Fedora] Fedora Reporter: Walt <waltsaw>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA 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:c386484799788ce793eef13062a17fa0cd332bc6e6f3a861d9b289a7eacd2ccf
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-11 15:31:14 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 18:59:38 UTC
Summary:

SELinux is preventing /usr/bin/evolution "getattr" access on unix_dgram_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_dgram_socket [ unix_dgram_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                   7
First Seen                    Thu 06 Jan 2011 08:39:48 AM EST
Last Seen                     Thu 06 Jan 2011 08:39:49 AM EST
Local ID                      d2956a2b-f320-47dc-a9c8-28d650783591
Line Numbers                  

Raw Audit Messages            

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

node=(removed) type=SYSCALL msg=audit(1294321189.38:9156): 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_dgram_socket,getattr
audit2allow suggests:

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

Comment 1 Daniel Walsh 2011-01-20 19:48:57 UTC
What did you do to get this to happen.  Just run evolution in a user session

Comment 2 Miroslav Grepl 2011-01-21 09:43:51 UTC
*** Bug 671213 has been marked as a duplicate of this bug. ***