Bug 329901

Summary: selinux prevents audio restoring on startup
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: rvokal, stransky
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-22 15:33:45 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235703    

Description Bill Nottingham 2007-10-12 15:05:46 EDT
Description of problem:

audit(...): avc: denied { search } for pid=1269 comm="salsa" name="sbin"
dev=dm=0 ino=<whatever> scontext=system_u:system_r:alsa_t:s0-s0:c0.c0123
tcontext=system_u:object_r:bin_t:s0 tclass=dir

Prevents restoring of mixer settings on startup

Version-Release number of selected component (if applicable):


Additional info:

When running in enforcing=0, there is an additional avc:

audit(): avc: denied {execute_no_trans) for pid=1473 comm="salsa"
path="/sbin/alsactl" dev=dm-0 ino=<whatever>
tcontext=system_u:objecvt_r:alsa_exec_t:s0 tclass=file
Comment 1 Daniel Walsh 2007-10-15 13:20:08 EDT
Fixed in selinux-policy-targeted-3.0.8-22.fc8
Comment 2 Bill Nottingham 2007-10-15 22:41:02 EDT
Still broken.

avc: deinied {execute} for pid=1936 comm="salsa" name="alsaunmute" dev=dm-0
ino=<whatever> scontext=system_u:system_r:alsa_t:s0-s0:c0.c1024
tcontext=system_u:object_r:bin_t:s0 tclass=file

Presumably alsaunmute needs alsa_exec_t.
Comment 3 Daniel Walsh 2007-10-16 23:51:32 EDT
Comment 4 Bill Nottingham 2007-10-22 15:33:45 EDT
Seems to work for me with -28.