Bug 610825

Summary: SELinux is preventing /usr/bin/mpd "search" access on /home/mgrepl/.pulse/client.conf.
Product: [Fedora] Fedora Reporter: Miroslav Grepl <mgrepl>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:ba7b69f02d8ed800362656799845d5b6ba3b1e5f211bbe8d38ac3d3ac48566ec
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-02 17:31:53 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:

Description Miroslav Grepl 2010-07-02 14:17:14 UTC
Summary:

SELinux is preventing /usr/bin/mpd "search" access on
/home/mgrepl/.pulse/client.conf.

Detailed Description:

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                unconfined_u:object_r:pulseaudio_home_t:s0
Target Objects                /home/mgrepl/.pulse/client.conf [ dir ]
Source                        mpd
Source Path                   /usr/bin/mpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           mpd-0.15.8-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-33.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.5-112.fc13.x86_64 #1 SMP
                              Thu May 27 02:28:31 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Thu 01 Jul 2010 07:29:10 PM CEST
Last Seen                     Thu 01 Jul 2010 08:55:48 PM CEST
Local ID                      16eb8d2e-5afb-41ad-ba7b-8b409a748aca
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278010548.359:44526): avc:  denied  { search } for  pid=14861 comm="mpd" name=".pulse" dev=dm-3 ino=783396 scontext=unconfined_u:system_r:mpd_t:s0 tcontext=unconfined_u:object_r:pulseaudio_home_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1278010548.359:44526): arch=c000003e syscall=2 success=no exit=-2 a0=7f5b6c002010 a1=0 a2=1b6 a3=0 items=1 ppid=1 pid=14861 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="mpd" exe="/usr/bin/mpd" subj=unconfined_u:system_r:mpd_t:s0 key=(null)

node=(removed) type=CWD msg=audit(1278010548.359:44526): cwd="/"

node=(removed) type=PATH msg=audit(1278010548.359:44526): item=0 name="/home/mgrepl/.pulse/client.conf"



Hash String generated from  catchall,mpd,mpd_t,pulseaudio_home_t,dir,search
audit2allow suggests:

#============= mpd_t ==============
allow mpd_t pulseaudio_home_t:dir search;

Comment 1 Miroslav Grepl 2010-07-02 17:31:53 UTC

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