Bug 986743

Summary: SELinux is preventing /usr/bin/ffmpegthumbnailer from 'create' accesses on the file M1.jpg.
Product: [Fedora] Fedora Reporter: Daniel Cabral <danielhc99>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: danielhc99, dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4538566dce6d8b432eac2ea4c1a74ff95de3c15f384c0ea420736a8960fc36de
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-25 09:31:51 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 Daniel Cabral 2013-07-22 02:03:28 UTC
Description of problem:
Opened up google-chrome browser
SELinux is preventing /usr/bin/ffmpegthumbnailer from 'create' accesses on the file M1.jpg.

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

If you believe that ffmpegthumbnailer should be allowed create access on the M1.jpg 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 ffmpegthumbnail /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                M1.jpg [ file ]
Source                        ffmpegthumbnail
Source Path                   /usr/bin/ffmpegthumbnailer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ffmpegthumbnailer-2.0.8-4.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-63.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.9.9-302.fc19.x86_64 #1 SMP Sat
                              Jul 6 13:41:07 UTC 2013 x86_64 x86_64
Alert Count                   11
First Seen                    2013-07-20 21:50:06 PDT
Last Seen                     2013-07-20 22:19:16 PDT
Local ID                      e8629214-7d0d-4393-8f01-051caa10d19f

Raw Audit Messages
type=AVC msg=audit(1374383956.952:517): avc:  denied  { create } for  pid=10008 comm="ffmpegthumbnail" name="M1.jpg" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file


type=SYSCALL msg=audit(1374383956.952:517): arch=x86_64 syscall=open success=no exit=EACCES a0=23100c8 a1=241 a2=1b6 a3=7fff84965120 items=0 ppid=10007 pid=10008 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=ffmpegthumbnail exe=/usr/bin/ffmpegthumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

Hash: ffmpegthumbnail,thumb_t,user_home_t,file,create

Additional info:
reporter:       libreport-2.1.5
hashmarkername: setroubleshoot
kernel:         3.9.9-302.fc19.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-07-22 09:33:15 UTC
restorecon -R -v /home

Does this change anything?

Do you know where "M1.jpg" is created by ffmpegthumbnail?