Bug 602077 - SELinux is preventing /usr/bin/icecast "read" access on cpuinfo.
Summary: SELinux is preventing /usr/bin/icecast "read" access on cpuinfo.
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy   
(Show other bugs)
Version: 13
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:d690557c571...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-09 05:20 UTC by Martin Edlman
Modified: 2010-07-09 00:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-07-09 00:26:55 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Martin Edlman 2010-06-09 05:20:07 UTC

SELinux is preventing /usr/bin/icecast "read" access on cpuinfo.

Podrobný popis:

SELinux denied access requested by icecast. It is not expected that this access
is required by icecast and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Povolení přístupu:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Další informace:

Kontext zdroje                unconfined_u:system_r:icecast_t:s0
Kontext cíle                 system_u:object_r:proc_t:s0
Objekty cíle                 cpuinfo [ file ]
Zdroj                         icecast
Cesta zdroje                  /usr/bin/icecast
Port                          <Neznámé>
Počítač                    (removed)
RPM balíčky zdroje          icecast-2.3.2-4.fc13
RPM balíčky cíle           
RPM politiky                  selinux-policy-3.7.19-21.fc13
Selinux povolen               True
Typ politiky                  targeted
Vynucovací režim            Enforcing
Název zásuvného modulu     catchall
Název počítače            (removed)
Platforma                     Linux worm.fortech.cz
                              #1 SMP Thu May 27 02:56:20 UTC 2010 i686 i686
Počet upozornění           2
Poprvé viděno               St 9. červen 2010, 07:18:09 CEST
Naposledy viděno             St 9. červen 2010, 07:18:09 CEST
Místní ID                   8797b49a-9b62-4f69-815a-3e92b3432e43
Čísla řádků              

Původní zprávy auditu      

node=worm.fortech.cz type=AVC msg=audit(1276060689.73:41859): avc:  denied  { read } for  pid=11602 comm="icecast" name="cpuinfo" dev=proc ino=4026531980 scontext=unconfined_u:system_r:icecast_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file

node=worm.fortech.cz type=SYSCALL msg=audit(1276060689.73:41859): arch=40000003 syscall=5 success=no exit=-13 a0=86811c a1=80000 a2=0 a3=34 items=0 ppid=1 pid=11602 auid=500 uid=487 gid=475 euid=487 suid=487 fsuid=487 egid=475 sgid=475 fsgid=475 tty=(none) ses=56 comm="icecast" exe="/usr/bin/icecast" subj=unconfined_u:system_r:icecast_t:s0 key=(null)

Hash String generated from  catchall,icecast,icecast_t,proc_t,file,read
audit2allow suggests:

#============= icecast_t ==============
allow icecast_t proc_t:file read;

Comment 1 Miroslav Grepl 2010-06-09 15:22:22 UTC
Fixed in selinux-policy-3.7.19-26.fc13

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