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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-22 19:33:45 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:
Bug Depends On:    
Bug Blocks: 235703    

Description Bill Nottingham 2007-10-12 19:05:46 UTC
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):

selinux-policy-targeted-3.0.8-20.fc8
alsa-utils-1.0.15-0.4.rc1.fc8

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>
scontext=system_u:system_r:alsa_t:s0-s0:c0.c1023
tcontext=system_u:objecvt_r:alsa_exec_t:s0 tclass=file

Comment 1 Daniel Walsh 2007-10-15 17:20:08 UTC
Fixed in selinux-policy-targeted-3.0.8-22.fc8

Comment 2 Bill Nottingham 2007-10-16 02:41:02 UTC
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-17 03:51:32 UTC
selinux-policy-targeted-3.0.8-24.fc8

Comment 4 Bill Nottingham 2007-10-22 19:33:45 UTC
Seems to work for me with -28.