Bug 807060

Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'read' accesses on the file Rubber Bullets.mp3.
Product: [Fedora] Fedora Reporter: Flóki Pálsson <flokip>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE 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:af052247e91144abbeccadb4d6f72712c995b8906e85feb5255c00a112130286
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 06:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Flóki Pálsson 2012-03-26 21:45:15 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-1.fc17.x86_64
reason:         SELinux is preventing /usr/bin/totem-video-thumbnailer from 'read' accesses on the file Rubber Bullets.mp3.
time:           mán 26.mar 2012, 21:45:04 GMT

description:
:SELinux is preventing /usr/bin/totem-video-thumbnailer from 'read' accesses on the file Rubber Bullets.mp3.
:
:*****  Plugin catchall_labels (83.8 confidence) suggests  ********************
:
:If you want to allow totem-video-thumbnailer to have read access on the Rubber Bullets.mp3 file
:Then you need to change the label on Rubber.Bullets.mp3
:Do
:# semanage fcontext -a -t FILE_TYPE 'Rubber.Bullets.mp3'
:where FILE_TYPE is one of the following: user_home_type, sysctl_crypto_t, net_conf_t, cert_t, etc_t, user_tmp_type, gstreamer_home_t, sssd_public_t, abrt_t, lib_t, ld_so_t, xdm_home_t, cpu_online_t, afs_cache_t, abrt_helper_exec_t, thumb_tmp_t, krb5_conf_t, passwd_file_t, bin_t, locale_t, dosfs_t, etc_t, fonts_t, proc_t, thumb_t, sysfs_t, usr_t, textrel_shlib_t, rpm_script_tmp_t, audio_home_t, fonts_cache_t, ld_so_cache_t, samba_var_t, thumb_exec_t, thumb_home_t, shell_exec_t, net_conf_t, abrt_var_run_t, data_home_t, user_cron_spool_t. 
:Then execute: 
:restorecon -v 'Rubber.Bullets.mp3'
:
:
:*****  Plugin catchall (17.1 confidence) suggests  ***************************
:
:If you believe that totem-video-thumbnailer should be allowed read access on the Rubber Bullets.mp3 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 totem-video-thu /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                system_u:object_r:default_t:s0
:Target Objects                Rubber Bullets.mp3 [ file ]
:Source                        totem-video-thu
:Source Path                   /usr/bin/totem-video-thumbnailer
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.3.92-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-106.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-1.fc17.x86_64 #1 SMP Mon Mar 19
:                              03:03:39 UTC 2012 x86_64 x86_64
:Alert Count                   9
:First Seen                    mán 26.mar 2012, 21:41:02 GMT
:Last Seen                     mán 26.mar 2012, 21:44:32 GMT
:Local ID                      3a478f47-399c-449a-8ad8-220dcf2d693b
:
:Raw Audit Messages
:type=AVC msg=audit(1332798272.657:105): avc:  denied  { read } for  pid=2253 comm="totem-video-thu" name=5275626265722042756C6C6574732E6D7033 dev="sdc1" ino=5071826 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1332798272.657:105): arch=x86_64 syscall=open success=no exit=EACCES a0=c12ea0 a1=0 a2=0 a3=88 items=0 ppid=1506 pid=2253 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=totem-video-thu exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)
:
:Hash: totem-video-thu,thumb_t,default_t,file,read
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Flóki Pálsson 2012-03-26 21:45:57 UTC
see bug 806470

Comment 2 Miroslav Grepl 2012-03-27 06:51:38 UTC

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