Bug 610852 - SELinux is preventing /usr/bin/mpd "write" access on (null).
Summary: SELinux is preventing /usr/bin/mpd "write" access on (null).
Keywords:
Status: CLOSED DUPLICATE of bug 604952
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:773d37ef221...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-02 15:30 UTC by Miroslav Grepl
Modified: 2010-07-02 17:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-02 17:28:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miroslav Grepl 2010-07-02 15:30:14 UTC
Summary:

SELinux is preventing /usr/bin/mpd "write" access on (null).

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                unconfined_u:object_r:user_tmp_t:s0
Target Objects                (null) [ sock_file ]
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                   6
First Seen                    Thu 01 Jul 2010 07:29:10 PM CEST
Last Seen                     Thu 01 Jul 2010 08:55:48 PM CEST
Local ID                      c14c9eb7-9ac8-4662-a83a-c6965d2f79d4
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278010548.361:44532): avc:  denied  { write } for  pid=14861 comm="mpd" name="native" dev=dm-0 ino=2097418 scontext=unconfined_u:system_r:mpd_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=sock_file

node=(removed) type=AVC msg=audit(1278010548.361:44532): avc:  denied  { connectto } for  pid=14861 comm="mpd" path="/tmp/pulse-ewjtwijpmiph/native" scontext=unconfined_u:system_r:mpd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=SYSCALL msg=audit(1278010548.361:44532): arch=c000003e syscall=42 success=yes exit=68719476864 a0=c a1=7f5b77ffea10 a2=6e a3=7f5b77ffe95c 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=PATH msg=audit(1278010548.361:44532): item=0 name=(null) inode=2097418 dev=fd:00 mode=0140777 ouid=500 ogid=500 rdev=00:00 obj=unconfined_u:object_r:user_tmp_t:s0



Hash String generated from  catchall,mpd,mpd_t,user_tmp_t,sock_file,write
audit2allow suggests:

#============= mpd_t ==============
allow mpd_t unconfined_t:unix_stream_socket connectto;
allow mpd_t user_tmp_t:sock_file write;

Comment 1 Miroslav Grepl 2010-07-02 17:28:54 UTC

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


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