Bug 601559

Summary: SELinux is preventing pulseaudio "read" access on pulse-shm-1776787913.
Product: [Fedora] Fedora Reporter: Martin Edlman <martin.edlman>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:5dea9029024e06b4b501fbc13493e753a7c7cebafbe3455334eec483a2f8828c
Fixed In Version: selinux-policy-3.7.19-28.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-23 17:49:20 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 Martin Edlman 2010-06-08 08:04:12 UTC
Souhrn:

SELinux is preventing pulseaudio "read" access on pulse-shm-1776787913.

Podrobný popis:

SELinux denied access requested by pulseaudio. It is not expected that this
access is required by pulseaudio 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.

Povolení přístupu:

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.

Další informace:

Kontext zdroje                unconfined_u:system_r:pulseaudio_t:s0
Kontext cíle                 unconfined_u:object_r:initrc_state_t:s0
Objekty cíle                 pulse-shm-1776787913 [ file ]
Zdroj                         pulseaudio
Cesta zdroje                  pulseaudio
Port                          <Neznámé>
Počítač                    (removed)
RPM balíčky zdroje          
RPM balíčky cíle           
RPM politiky                  selinux-policy-3.7.19-21.fc13
Selinux povolen               True
Typ politiky                  targeted
Vynucovací režim            Enforcing
Název zásuvného modulu     catchall
Název počítače            (removed)
Platforma                     Linux (removed) 2.6.33.5-112.fc13.x86_64 #1 SMP
                              Thu May 27 02:28:31 UTC 2010 x86_64 x86_64
Počet upozornění           1
Poprvé viděno               Út 8. červen 2010, 09:35:26 CEST
Naposledy viděno             Út 8. červen 2010, 09:35:26 CEST
Místní ID                   ef608f42-8b60-4b26-a98c-53ab50f60e7a
Čísla řádků              

Původní zprávy auditu      

node=(removed) type=AVC msg=audit(1275982526.423:227): avc:  denied  { read } for  pid=6283 comm="pulseaudio" name="pulse-shm-1776787913" dev=tmpfs ino=150325 scontext=unconfined_u:system_r:pulseaudio_t:s0 tcontext=unconfined_u:object_r:initrc_state_t:s0 tclass=file



Hash String generated from  catchall,pulseaudio,pulseaudio_t,initrc_state_t,file,read
audit2allow suggests:

#============= pulseaudio_t ==============
allow pulseaudio_t initrc_state_t:file read;

Comment 1 Miroslav Grepl 2010-06-08 11:38:15 UTC
Martin,
do you use Music Player Daemon?

Comment 2 Martin Edlman 2010-06-08 13:16:15 UTC
Hello, yes I use mpd which is running under my UID/GID. I'd like to let it run under its native UID 'mpd' but it's not working at all.

# ps axu | grep mpd
edlman    6242  1.1  0.2 785804  7800 ?        Ssl  09:33   4:00 /usr/bin/mpd

# ps axu | grep pulse
edlman    6283  1.0  0.1 516520  6308 ?        S<sl 09:35   3:25 /usr/bin/pulseaudio --start --log-target=syslog
edlman    6293  0.0  0.0  91244  3156 ?        S    09:35   0:00 /usr/libexec/pulse/gconf-helper

Comment 3 Miroslav Grepl 2010-06-08 13:23:02 UTC
I will add mpd policy for F13.

Comment 4 Miroslav Grepl 2010-06-14 18:15:05 UTC
Fixed in selinux-policy-3.7.19-28.fc13

Comment 5 Fedora Update System 2010-06-14 19:30:48 UTC
selinux-policy-3.7.19-28.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-28.fc13

Comment 6 Fedora Update System 2010-06-15 16:00:51 UTC
selinux-policy-3.7.19-28.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-28.fc13

Comment 7 Fedora Update System 2010-06-23 17:47:44 UTC
selinux-policy-3.7.19-28.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.