Bug 830885

Summary: SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'remove_name' accesses on the directory /home/tneuber/.nv/GLCache/ec6f932fae7d95e478bbdf2897444f22/7394b3b787edd802.
Product: [Fedora] Fedora Reporter: Thomas Neuber <th.neuber>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e6ca76b54f27ee8784710174c8403e46bf804a201b55d0075435026cc0e31241
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-11 15:31:12 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 Thomas Neuber 2012-06-11 15:01:54 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc17.x86_64
time:           Mo 11 Jun 2012 17:01:32 CEST

description:
:SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from 'remove_name' accesses on the directory /home/tneuber/.nv/GLCache/ec6f932fae7d95e478bbdf2897444f22/7394b3b787edd802.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If sie denken, dass gst-plugin-scanner standardmässig erlaubt sein sollte, remove_name Zugriff auf 7394b3b787edd802 directory zu erhalten.
:Then sie sollten dies als Fehler melden.
:Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
:Do
:zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
:# grep gst-plugin-scan /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:user_home_t:s0
:Target Objects                /home/tneuber/.nv/GLCache/ec6f932fae7d95e478bbdf28
:                              97444f22/7394b3b787edd802 [ dir ]
:Source                        gst-plugin-scan
:Source Path                   /usr/libexec/gstreamer-0.10/gst-plugin-scanner
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           gstreamer-0.10.36-1.fc17.x86_64
:                              gstreamer-0.10.36-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-128.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-1.fc17.x86_64 #1 SMP Mon
:                              May 21 22:32:19 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Mo 11 Jun 2012 16:59:50 CEST
:Last Seen                     Mo 11 Jun 2012 16:59:50 CEST
:Local ID                      b5d27f73-0b55-4363-acec-4292bdefca6b
:
:Raw Audit Messages
:type=AVC msg=audit(1339426790.555:104): avc:  denied  { remove_name } for  pid=2778 comm="gst-plugin-scan" name="7394b3b787edd802" dev="dm-9" ino=3152460 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1339426790.555:104): avc:  denied  { rmdir } for  pid=2778 comm="gst-plugin-scan" name="7394b3b787edd802" dev="dm-9" ino=3152460 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1339426790.555:104): arch=x86_64 syscall=rmdir success=no exit=ENOTEMPTY a0=7fff9444b830 a1=0 a2=15 a3=7fff9444b570 items=0 ppid=2777 pid=2778 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=gst-plugin-scan exe=/usr/libexec/gstreamer-0.10/gst-plugin-scanner subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)
:
:Hash: gst-plugin-scan,thumb_t,user_home_t,dir,remove_name
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Daniel Walsh 2012-06-11 15:31:12 UTC
restorecon -R -v /home

Should fix the labeling in your homedir.

Comment 2 Daniel Walsh 2012-06-11 15:31:37 UTC
*** Bug 830886 has been marked as a duplicate of this bug. ***