Bug 752556

Summary: AVC denials with icecast in F16
Product: [Fedora] Fedora Reporter: Marcos Mello <marcosfrm>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-56.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-21 00:00:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marcos Mello 2011-11-09 20:30:08 UTC
Every time icecast starts, SELinux complains about

type=AVC msg=audit(1320866367.463:68): avc:  denied  { read } for  pid=2138 comm="icecast" name="online" dev=sysfs ino=33 scontext=system_u:system_r:icecast_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
type=AVC msg=audit(1320866367.467:69): avc:  denied  { read } for  pid=2134 comm="icecast" name="urandom" dev=devtmpfs ino=1035 scontext=system_u:system_r:icecast_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file
type=AVC msg=audit(1320866367.467:70): avc:  denied  { read } for  pid=2134 comm="icecast" name="random" dev=devtmpfs ino=1034 scontext=system_u:system_r:icecast_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file

The daemon still works though. 

Fedora 16 x86-32
icecast-2.3.2-5.fc15.i686
selinux-policy-3.10.0-51.fc16.noarch

Comment 1 Daniel Walsh 2011-11-09 21:08:36 UTC
Are you using ldap for a backend to resolve user names?

Comment 2 Marcos Mello 2011-11-10 10:16:08 UTC
I don't think so. icecast was installed in a plain F16 Live CD install.

Comment 3 Daniel Walsh 2011-11-10 13:24:52 UTC
Fixed in selinux-policy-3.10.0-55.fc16

Comment 4 Fedora Update System 2011-11-16 15:22:34 UTC
selinux-policy-3.10.0-56.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-56.fc16

Comment 5 Fedora Update System 2011-11-17 23:30:13 UTC
Package selinux-policy-3.10.0-56.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-56.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16003/selinux-policy-3.10.0-56.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-11-21 00:00:20 UTC
selinux-policy-3.10.0-56.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.