Bug 1044189

Summary: SELinux is preventing /usr/bin/pulseaudio from 'connectto' accesses on the unix_stream_socket /tmp/.ICE-unix/2074.
Product: [Fedora] Fedora Reporter: BrollyLSSJ <songokussj>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dominick.grift, dwalsh, lvrabec, mgrepl, songokussj
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:60c08c06c8993f97495338b7e0c8d4dd8bcb4f2e6edf818a162b763312b3e3b8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 13:19:16 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 BrollyLSSJ 2013-12-17 21:48:29 UTC
Description of problem:
SELinux is preventing /usr/bin/pulseaudio from 'connectto' accesses on the unix_stream_socket /tmp/.ICE-unix/2074.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that pulseaudio should be allowed connectto access on the 2074 unix_stream_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 pulseaudio /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:pulseaudio_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                /tmp/.ICE-unix/2074 [ unix_stream_socket ]
Source                        pulseaudio
Source Path                   /usr/bin/pulseaudio
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pulseaudio-4.0-9.gitf81e3.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.10-301.fc20.i686+PAE #1 SMP
                              Thu Dec 5 14:12:06 UTC 2013 i686 i686
Alert Count                   2
First Seen                    2013-12-17 22:42:06 CET
Last Seen                     2013-12-17 22:42:06 CET
Local ID                      b13aadad-c656-4247-85a7-8b0091695468

Raw Audit Messages
type=AVC msg=audit(1387316526.264:521): avc:  denied  { connectto } for  pid=1735 comm="pulseaudio" path="/tmp/.ICE-unix/2074" scontext=system_u:system_r:pulseaudio_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket


type=SYSCALL msg=audit(1387316526.264:521): arch=i386 syscall=socketcall success=no exit=EACCES a0=3 a1=bfc30a80 a2=4c498000 a3=0 items=0 ppid=1 pid=1735 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) comm=pulseaudio exe=/usr/bin/pulseaudio subj=system_u:system_r:pulseaudio_t:s0 key=(null)

Hash: pulseaudio,pulseaudio_t,unconfined_t,unix_stream_socket,connectto

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.10-301.fc20.i686+PAE
type:           libreport

Potential duplicate: bug 678159

Comment 1 Miroslav Grepl 2014-01-07 08:07:13 UTC
Did you get it again?

What is your output of

# ps -eZ | grep pulseaudio

Comment 2 BrollyLSSJ 2014-06-09 22:20:37 UTC
No I did not get it again. So far Fedora 20 is running fine. I guess this ticket can be closed. And sorry for the late answer. I thought I already answered it.