Bug 723002 - SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'unlink' accesses on the fichier orcexec.wnguUk.
Summary: SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'un...
Keywords:
Status: CLOSED DUPLICATE of bug 723001
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:61f84d5fea9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 17:59 UTC by Nicolas Mailhot
Modified: 2011-07-18 21:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-18 21:23:54 UTC
Type: ---


Attachments (Terms of Use)

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 ***


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