Bug 329901 - selinux prevents audio restoring on startup
Summary: selinux prevents audio restoring on startup
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords: Reopened
Depends On:
Blocks: F8Blocker
TreeView+ depends on / blocked
 
Reported: 2007-10-12 19:05 UTC by Bill Nottingham
Modified: 2014-03-17 03:09 UTC (History)
2 users (show)

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: ---


Attachments (Terms of Use)

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.


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