Bug 659948 - SELinux is preventing /usr/bin/mpd "getattr" access on /usr/share/alsa/alsa.conf.
Summary: SELinux is preventing /usr/bin/mpd "getattr" access on /usr/share/alsa/a...
Keywords:
Status: CLOSED DUPLICATE of bug 659949
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:85d3b0c5f39...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-04 11:36 UTC by matthias.guentert
Modified: 2010-12-06 11:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-06 11:41:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description matthias.guentert 2010-12-04 11:36:53 UTC
Summary:

SELinux is preventing /usr/bin/mpd "getattr" access on
/usr/share/alsa/alsa.conf.

Detailed Description:

[mpd has a permissive type (mpd_t). This access was not denied.]

SELinux denied access requested by mpd. It is not expected that this access is
required by mpd 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.

Allowing Access:

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
report.

Additional Information:

Source Context                unconfined_u:system_r:mpd_t:s0
Target Context                system_u:object_r:alsa_etc_rw_t:s0
Target Objects                /usr/share/alsa/alsa.conf [ file ]
Source                        mpd
Source Path                   /usr/bin/mpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           mpd-0.15.12-1.fc14
Target RPM Packages           alsa-lib-1.0.23-2.fc14
Policy RPM                    selinux-policy-3.9.7-12.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-48.fc14.x86_64
                              #1 SMP Fri Oct 22 15:36:08 UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Wed 01 Dec 2010 10:19:50 PM CET
Last Seen                     Wed 01 Dec 2010 10:21:17 PM CET
Local ID                      9d3ffef6-3223-4c76-8329-cee620c4930e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1291238477.436:66): avc:  denied  { getattr } for  pid=2712 comm="mpd" path="/usr/share/alsa/alsa.conf" dev=md2 ino=33038062 scontext=unconfined_u:system_r:mpd_t:s0 tcontext=system_u:object_r:alsa_etc_rw_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1291238477.436:66): arch=c000003e syscall=4 success=yes exit=0 a0=d0acf0 a1=7fff6b0d4420 a2=7fff6b0d4420 a3=7fff6b0d4150 items=0 ppid=2711 pid=2712 auid=500 uid=491 gid=487 euid=491 suid=491 fsuid=491 egid=487 sgid=487 fsgid=487 tty=pts0 ses=1 comm="mpd" exe="/usr/bin/mpd" subj=unconfined_u:system_r:mpd_t:s0 key=(null)



Hash String generated from  catchall,mpd,mpd_t,alsa_etc_rw_t,file,getattr
audit2allow suggests:

#============= mpd_t ==============
allow mpd_t alsa_etc_rw_t:file getattr;

Comment 1 Miroslav Grepl 2010-12-06 11:41:10 UTC

*** This bug has been marked as a duplicate of bug 659949 ***


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