Bug 723002

Summary: SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'unlink' accesses on the fichier orcexec.wnguUk.
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:61f84d5fea93dce2da310c264fcea77a9a0033f2183ef709c60abb92658497fa
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-18 21:23:54 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 Nicolas Mailhot 2011-07-18 17:59:49 UTC
SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'unlink' accesses on the fichier orcexec.wnguUk.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that gst-plugin-scanner should be allowed unlink access on the orcexec.wnguUk file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep gst-plugin-scan /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:user_home_dir_t:s0
Target Objects                orcexec.wnguUk [ file ]
Source                        gst-plugin-scan
Source Path                   /usr/libexec/gstreamer-0.10/gst-plugin-scanner
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           gstreamer-0.10.35-1.fc16
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-4.fc16
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.0-0.rc7.git3.1.fc16.x86_64 #1
                              SMP Fri Jul 15 22:56:12 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    dim. 17 juil. 2011 21:14:25 CEST
Last Seen                     dim. 17 juil. 2011 21:14:25 CEST
Local ID                      b29391d3-f721-4d68-938d-55c6f43c495f

Raw Audit Messages
type=AVC msg=audit(1310930065.640:816): avc:  denied  { unlink } for  pid=7871 comm="gst-plugin-scan" name="orcexec.wnguUk" dev=dm-0 ino=46963 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file


type=SYSCALL msg=audit(1310930065.640:816): arch=x86_64 syscall=unlink success=yes exit=0 a0=1d334c0 a1=0 a2=ffffffffffffff80 a3=73 items=0 ppid=7858 pid=7871 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=gst-plugin-scan exe=/usr/libexec/gstreamer-0.10/gst-plugin-scanner subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: gst-plugin-scan,mozilla_plugin_t,user_home_dir_t,file,unlink

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file unlink;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file unlink;

Comment 1 Daniel Walsh 2011-07-18 21:23:54 UTC

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