Bug 1436408

Summary: SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'create' accesses on the file .glvndDJYInF.
Product: [Fedora] Fedora Reporter: Dark Shenada <shenada>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: basela, dominick.grift, dwalsh, lvrabec, mcatanzaro+wrong-account-do-not-cc, mgrepl, plautrba, pmoore, report.fedora, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:374665139410b4aaabc6b46f2fd8f97a91a29def89b614447eaf9547b2252b56;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-22 13:00:01 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 Dark Shenada 2017-03-27 21:03:32 UTC
Description of problem:
SELinux is preventing /usr/libexec/gstreamer-1.0/gst-plugin-scanner from 'create' accesses on the file .glvndDJYInF.

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

If 您認為 gst-plugin-scanner 就預設值應擁有 .glvndDJYInF file 的 create 存取權。
Then 您應將此回報為錯誤。
您可產生本機模組,以允許這項存取。
Do
allow this access for now by executing:
# ausearch -c 'gst-plugin-scan' --raw | audit2allow -M my-gstpluginscan
# semodule -X 300 -i my-gstpluginscan.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_dir_t:s0
Target Objects                .glvndDJYInF [ file ]
Source                        gst-plugin-scan
Source Path                   /usr/libexec/gstreamer-1.0/gst-plugin-scanner
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.9.14-200.fc25.x86_64 #1 SMP Mon
                              Mar 13 19:26:40 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-03-28 04:46:09 CST
Last Seen                     2017-03-28 04:46:09 CST
Local ID                      9da4af3b-3f83-498d-b43b-039701ba776e

Raw Audit Messages
type=AVC msg=audit(1490647569.942:5230): avc:  denied  { create } for  pid=18688 comm="gst-plugin-scan" name=".glvndDJYInF" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file permissive=0


type=SYSCALL msg=audit(1490647569.942:5230): arch=x86_64 syscall=open success=no exit=EACCES a0=560732248630 a1=c2 a2=180 a3=382d4ec60b26ac items=0 ppid=18687 pid=18688 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm=gst-plugin-scan exe=/usr/libexec/gstreamer-1.0/gst-plugin-scanner subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: gst-plugin-scan,thumb_t,user_home_dir_t,file,create


Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.14-200.fc25.x86_64
type:           libreport

Comment 1 basela 2017-05-02 02:32:21 UTC
*** Bug 1447173 has been marked as a duplicate of this bug. ***

Comment 2 basela 2017-05-02 02:34:48 UTC
*** Bug 1447174 has been marked as a duplicate of this bug. ***

Comment 3 Lukas Vrabec 2017-10-22 13:00:01 UTC

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