Bug 1044192 - SELinux is preventing /usr/bin/pulseaudio from 'connectto' accesses on the unix_stream_socket /tmp/.ICE-unix/1448.
Summary: SELinux is preventing /usr/bin/pulseaudio from 'connectto' accesses on the un...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:18b36408647f6c62a27c7b3825a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 21:49 UTC by BrollyLSSJ
Modified: 2014-06-09 23:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-09 23:08:01 UTC
Type: ---


Attachments (Terms of Use)

Description BrollyLSSJ 2013-12-17 21:49:49 UTC
Description of problem:
SELinux is preventing /usr/bin/pulseaudio from 'connectto' accesses on the unix_stream_socket /tmp/.ICE-unix/1448.

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

If you believe that pulseaudio should be allowed connectto access on the 1448 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                system_u:system_r:initrc_t:s0
Target Objects                /tmp/.ICE-unix/1448 [ 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                   1
First Seen                    2013-12-17 22:41:31 CET
Last Seen                     2013-12-17 22:41:31 CET
Local ID                      935a3769-b90c-499f-a3c6-2b22caa4555c

Raw Audit Messages
type=AVC msg=audit(1387316491.820:495): avc:  denied  { connectto } for  pid=1735 comm="pulseaudio" path="/tmp/.ICE-unix/1448" scontext=system_u:system_r:pulseaudio_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_stream_socket


type=SYSCALL msg=audit(1387316491.820:495): 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,initrc_t,unix_stream_socket,connectto

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

Comment 1 Daniel Walsh 2013-12-19 20:40:52 UTC
Seems like you have wierd applications running as initrc_t?

ps -eZ |grep initrc_t

Comment 2 BrollyLSSJ 2014-06-09 22:21:42 UTC
Sorry for the late answer. It did not happen for quite a time so I guess this ticket can be closed.

Comment 3 Lukas Vrabec 2014-06-09 23:08:01 UTC
I close it.
Please re-open this when similar problems appears.
Thank you.


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