Bug 1308568

Summary: No thumbnails when selinux in Enforcing mode
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: tumblerAssignee: Christoph Wickert <cwickert>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: cwickert, kevin, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 20:43:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Thunar with setenforce 0
none
Desktop settings with setenforce 0
none
Thunar with setenforce 1
none
Desktop settings with setenforce 1 none

Description Miro Hrončok 2016-02-15 14:12:07 UTC
Description of problem:
tumbler generates no thumbnail if selinux is in Enforcing mode

Version-Release number of selected component (if applicable):
tumbler-0.1.31-2.fc23.x86_64
selinux-policy-3.13.1-158.4.fc23.noarch

How reproducible:
Happens on my primary machine, almost fresh installation of Fedora 23 Xfce spin

Steps to Reproduce:
1. set selinux to Permissive mode (setenforce 0)
2. reboot or similar
3. from terminal create a new folder, wget some image to that folder
4. open the folder in Thunar
5. observe the result
6. open desktop settings
7. observe the wallpaper settings
8. set selinux to Enforcing mode (setenforce 1)
9. reboot or similar
10. from terminal create a new (different) folder, wget some (different) image to that folder
11. open the folder in Thunar
12. observe the result
13. open desktop settings
14. observe the wallpaper settings

Actual results:
During Permissive mode, Thunar and Wallpaper settings generates image previews
During Enforcing mode, Thunar does not generate/display thumbnails, Wallpaper setting is unusable

See screenshots I will attach.

Expected results:
During both selinux modes, Thunar and Wallpaper settings generates image previews.

Comment 1 Miro Hrončok 2016-02-15 14:12:56 UTC
Created attachment 1127298 [details]
Thunar with setenforce 0

Comment 2 Miro Hrončok 2016-02-15 14:13:37 UTC
Created attachment 1127300 [details]
Desktop settings with setenforce 0

Comment 3 Miro Hrončok 2016-02-15 14:14:00 UTC
Created attachment 1127301 [details]
Thunar with setenforce 1

Comment 4 Miro Hrončok 2016-02-15 14:14:27 UTC
Created attachment 1127302 [details]
Desktop settings with setenforce 1

Comment 5 Kevin Fenzi 2016-02-15 15:47:17 UTC
Can you please duplicate the issue and check for selinux AVCs?

I assume the folders are in your home dir? or are they somewhere else?

Comment 6 Miro Hrončok 2016-02-18 20:43:51 UTC
Weird, now I cannot replicate this. Will close it and reopen if it happens again.