Bug 809601 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'read' accesses on the lnk_file /home/german/Downloads.
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'read' accesses o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:74e4525c67d4659e4ade085313c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-03 18:23 UTC by Germán Ríos
Modified: 2013-07-04 13:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-04 13:54:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Germán Ríos 2012-04-03 18:23:20 UTC
libreport version: 2.0.10
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-8.fc17.x86_64
time:           Tue 03 Apr 2012 13:23:05 COT

description:
:SELinux is preventing /usr/bin/totem-video-thumbnailer from 'read' accesses on the lnk_file /home/german/Downloads.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that totem-video-thumbnailer should be allowed read access on the Downloads lnk_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                unconfined_u:object_r:user_home_t:s0
:Target Objects                /home/german/Downloads [ lnk_file ]
:Source                        totem-video-thu
:Source Path                   /usr/bin/totem-video-thumbnailer
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.4.0-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-8.fc17.x86_64 #1 SMP Thu
:                              Mar 29 18:18:26 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    Tue 03 Apr 2012 13:22:26 COT
:Last Seen                     Tue 03 Apr 2012 13:22:26 COT
:Local ID                      b0081e3e-8064-4464-a93c-31bd40642159
:
:Raw Audit Messages
:type=AVC msg=audit(1333477346.288:518): avc:  denied  { read } for  pid=22007 comm="totem-video-thu" name="Downloads" dev="sda2" ino=1852157 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=lnk_file
:
:
:type=SYSCALL msg=audit(1333477346.288:518): arch=x86_64 syscall=open success=no exit=EACCES a0=fd0f70 a1=0 a2=0 a3=88 items=0 ppid=21975 pid=22007 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,user_home_t,lnk_file,read
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-04-04 09:06:14 UTC
Should be fixed in the latest policy

$ yum update selinux-policy --enablerepo=updates-testing



Dan,
but I think we will need to add

files_read_non_security_files

as you suggested.

Comment 2 Fedora End Of Life 2013-07-04 07:45:19 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


Note You need to log in before you can comment on or make changes to this bug.