Bug 1159242 - SELinux is preventing /usr/bin/pulseaudio from 'create' accesses on the file .
Summary: SELinux is preventing /usr/bin/pulseaudio from 'create' accesses on the file .
Keywords:
Status: CLOSED DUPLICATE of bug 1159241
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ec497f118e0249669868e668db6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-31 09:51 UTC by Cesar Eduardo Barros
Modified: 2014-11-03 10:06 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-03 10:06:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cesar Eduardo Barros 2014-10-31 09:51:34 UTC
Description of problem:
Pressed the "volume down" key in the keyboard, while on a selinux-restricted user (user_u). The resulting crash was appended to https://bugzilla.redhat.com/show_bug.cgi?id=1101073 by ABRT.
SELinux is preventing /usr/bin/pulseaudio from 'create' accesses on the file .

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

If você acredita que o pulseaudio deva ser permitido acesso de create em  file  por default.
Then você precisa reportar este como um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso agora executando:
# grep 616C73612D73696E6B2D48444D4920 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                user_u:user_r:pulseaudio_t:s0
Target Context                user_u:object_r:user_home_dir_t:s0
Target Objects                 [ file ]
Source                        616C73612D73696E6B2D48444D4920
Source Path                   /usr/bin/pulseaudio
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pulseaudio-5.0-7.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-192.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.16.6-203.fc20.x86_64 #1 SMP Sat
                              Oct 25 12:44:32 UTC 2014 x86_64 x86_64
Alert Count                   5
First Seen                    2014-10-31 07:22:19 BRST
Last Seen                     2014-10-31 07:22:30 BRST
Local ID                      ff1c9128-8ed8-4b37-9f02-162e390fb523

Raw Audit Messages
type=AVC msg=audit(1414747350.949:529): avc:  denied  { create } for  pid=7783 comm=616C73612D73696E6B2D48444D4920 name="orcexec.1YBEqh" scontext=user_u:user_r:pulseaudio_t:s0 tcontext=user_u:object_r:user_home_dir_t:s0 tclass=file permissive=0


type=SYSCALL msg=audit(1414747350.949:529): arch=x86_64 syscall=open success=no exit=EACCES a0=7faaf8000bd0 a1=c2 a2=180 a3=0 items=0 ppid=1 pid=7783 auid=1001 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 tty=(none) ses=8 comm=616C73612D73696E6B2D48444D4920 exe=/usr/bin/pulseaudio subj=user_u:user_r:pulseaudio_t:s0 key=(null)

Hash: 616C73612D73696E6B2D48444D4920,pulseaudio_t,user_home_dir_t,file,create

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.16.6-203.fc20.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2014-11-03 10:06:30 UTC

*** This bug has been marked as a duplicate of bug 1159241 ***


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