Bug 870697

Summary: SELinux is preventing /usr/bin/pulseaudio from 'read' accesses on the file pulse-shm-3782893346.
Product: [Fedora] Fedora Reporter: sohrkim <sohrkim>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f5a40c714b7ce070a6a26112be3d93b02714535d98d53809c690dfb91faf1282
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-16 19:44: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:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description sohrkim@gmail.com 2012-10-28 02:30:12 UTC
Additional info:
libreport version: 2.0.16
kernel:         3.6.2-4.fc17.x86_64

description:
:SELinux is preventing /usr/bin/pulseaudio from 'read' accesses on the file pulse-shm-3782893346.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that pulseaudio should be allowed read access on the pulse-shm-3782893346 file 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:object_r:initrc_state_t:s0
:Target Objects                pulse-shm-3782893346 [ file ]
:Source                        pulseaudio
:Source Path                   /usr/bin/pulseaudio
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           pulseaudio-1.1-9.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.2-4.fc17.x86_64 #1 SMP Wed Oct
:                              17 02:43:21 UTC 2012 x86_64 x86_64
:Alert Count                   104
:First Seen                    2012-10-27 00:27:21 KST
:Last Seen                     2012-10-27 00:28:36 KST
:Local ID                      88910483-3683-4733-9a32-67eaed4967fe
:
:Raw Audit Messages
:type=AVC msg=audit(1351265316.608:243): avc:  denied  { read } for  pid=1444 comm="pulseaudio" name="pulse-shm-3782893346" dev="tmpfs" ino=16075 scontext=system_u:system_r:pulseaudio_t:s0 tcontext=system_u:object_r:initrc_state_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1351265316.608:243): arch=x86_64 syscall=open success=no exit=EACCES a0=7fff0e44cf40 a1=a0000 a2=0 a3=fffffffe items=0 ppid=1 pid=1444 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=pulseaudio exe=/usr/bin/pulseaudio subj=system_u:system_r:pulseaudio_t:s0 key=(null)
:
:Hash: pulseaudio,pulseaudio_t,initrc_state_t,file,read
:
:audit2allow
:
:#============= pulseaudio_t ==============
:allow pulseaudio_t initrc_state_t:file read;
:
:audit2allow -R
:
:#============= pulseaudio_t ==============
:allow pulseaudio_t initrc_state_t:file read;
:

Comment 1 sohrkim@gmail.com 2012-10-28 02:30:16 UTC
Created attachment 634410 [details]
File: type

Comment 2 sohrkim@gmail.com 2012-10-28 02:30:18 UTC
Created attachment 634411 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-10-29 15:59:07 UTC
What does

# ps -eZ |grep initrc

Comment 4 Miroslav Grepl 2012-12-16 19:44:16 UTC
Please reopen the bug if you still see this issue.