Bug 522892

Summary: setroubleshoot: SELinux is preventing mplayer (nsplugin_t) "read" user_home_dir_t.
Product: [Fedora] Fedora Reporter: Brian Harrington <bharrington>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bharrington, dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:d637e21e83392bc339dcc29f2bf548da09678a6305383031952af6477dddd9c3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-12 03:10:13 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 Brian Harrington 2009-09-12 01:06:19 UTC
The following was filed automatically by setroubleshoot:


SELinux is preventing mplayer (nsplugin_t) "read" user_home_dir_t.

Detailed Description:

SELinux denied access requested by mplayer. It is not expected that this access
is required by mplayer 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Additional Information:

Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
Target Context                unconfined_u:object_r:user_home_dir_t:s0
Target Objects                config [ file ]
Source                        mplayer
Source Path                   /usr/bin/mplayer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           mplayer-1.0-0.109.20090329svn.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.26-8.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31- #1 SMP Tue Aug
                              11 21:20:05 EDT 2009 i686 i686
Alert Count                   12
First Seen                    Sat 05 Sep 2009 04:38:22 PM EDT
Last Seen                     Mon 07 Sep 2009 09:30:03 PM EDT
Local ID                      ee9e5531-68b1-41ab-bb0c-7d422dfb1b39
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1252373403.769:39): avc:  denied  { read } for  pid=2518 comm="mplayer" name="config" dev=dm-3 ino=265539 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1252373403.769:39): arch=40000003 syscall=5 success=no exit=-13 a0=9838730 a1=8000 a2=1b6 a3=87506b4 items=0 ppid=2517 pid=2518 auid=501 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=(none) ses=1 comm="mplayer" exe="/usr/bin/mplayer" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)

audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t user_home_dir_t:file read;

Comment 1 Daniel Walsh 2009-09-12 03:10:13 UTC
You have a mislabeled homedir.

restorecon -R -v ~