Bug 783838 - SELinux is preventing /usr/bin/pulseaudio from 'write' accesses on the None pid.
Summary: SELinux is preventing /usr/bin/pulseaudio from 'write' accesses on the None pid.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ef46b78770dfa1960bde6602d45...
: 783839 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-22 17:50 UTC by Nicolas Mailhot
Modified: 2012-01-25 21:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-25 21:09:12 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-01-22 17:50:04 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.1-5.fc17.x86_64
reason:         SELinux is preventing /usr/bin/pulseaudio from 'write' accesses on the None pid.
time:           dim. 22 janv. 2012 18:49:50 CET

description:
:SELinux is preventing /usr/bin/pulseaudio from 'write' accesses on the None pid.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that pulseaudio should be allowed write access on the pid <Inconnu> 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                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:user_tmp_t:s0
:Target Objects                pid [ None ]
:Source                        pulseaudio
:Source Path                   /usr/bin/pulseaudio
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           pulseaudio-1.1-3.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-76.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan
:                              17 18:57:18 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    dim. 22 janv. 2012 15:59:33 CET
:Last Seen                     dim. 22 janv. 2012 15:59:33 CET
:Local ID                      72c082a0-f618-4d84-be81-738883e8f486
:
:Raw Audit Messages
:type=AVC msg=audit(1327244373.397:417): avc:  denied  { write } for  pid=8233 comm="pulseaudio" name="pid" dev=dm-1 ino=282702 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1327244373.397:417): arch=c000003e syscall=2 success=yes exit=6 a0=1435840 a1=a0142 a2=180 a3=6336303835356666 items=0 ppid=8232 pid=8233 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm="pulseaudio" exe="/usr/bin/pulseaudio" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: pulseaudio,mozilla_plugin_t,user_tmp_t,None,write
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-01-24 15:35:37 UTC
*** Bug 783839 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2012-01-24 15:57:22 UTC
You seem to have pulseaudio running as mozilla_plugin_t?  Is all of user processes running as mozilla_plugin_t?

ps -eZ | grep mozilla_plugin_t

Comment 3 Nicolas Mailhot 2012-01-24 18:37:16 UTC
I don't have anything running as mozilla_plugin_t right now

But I wouldn't be surprised if a moz plugin had poked pa when trying to play sound on a webpage
I've seen pages that launched totem-based plugins recently

Comment 4 Daniel Walsh 2012-01-25 21:09:12 UTC
Ok I am going to change this to userdom_rw_inherited_user_tmp_files.  So it can write to the files but not open them.

Fixed in 
selinux-policy-3.10.0-80.fc17


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