Bug 1442244

Summary: SELinux is preventing totem-video-thu from 'write' accesses on the directory gstreamer-1.0.
Product: [Fedora] Fedora Reporter: xzj8b3 <xzj8b3>
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: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d7a44e394c412974f0fced33206cafc9400f791d55408feaabf071af45c93374;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-13 20:50:16 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 xzj8b3 2017-04-13 20:24:29 UTC
Description of problem:
SELinux is preventing totem-video-thu from 'write' accesses on the directory gstreamer-1.0.

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

If si crede che totem-video-thu dovrebbe avere possibilità di accesso write sui gstreamer-1.0 directory in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
allow this access for now by executing:
# ausearch -c 'totem-video-thu' --raw | audit2allow -M my-totemvideothu
# semodule -X 300 -i my-totemvideothu.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:admin_home_t:s0
Target Objects                gstreamer-1.0 [ dir ]
Source                        totem-video-thu
Source Path                   totem-video-thu
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.11.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.10.8-200.fc25.x86_64 #1 SMP Fri
                              Mar 31 13:20:22 UTC 2017 x86_64 x86_64
Alert Count                   3
First Seen                    2017-04-11 19:07:08 CEST
Last Seen                     2017-04-13 01:18:47 CEST
Local ID                      57d0a868-5f40-4e76-bf0a-a15b39704ccb

Raw Audit Messages
type=AVC msg=audit(1492039127.748:289): avc:  denied  { write } for  pid=7720 comm="totem-video-thu" name="gstreamer-1.0" dev="sda3" ino=393251 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=dir permissive=1


Hash: totem-video-thu,thumb_t,admin_home_t,dir,write

Version-Release number of selected component:
selinux-policy-3.13.1-225.11.fc25.noarch

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

Potential duplicate: bug 1335647

Comment 1 Daniel Walsh 2017-04-13 20:50:16 UTC

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