Bug 1413344 - SELinux is preventing tumblerd from 'write' accesses on the directory normal.
Summary: SELinux is preventing tumblerd from 'write' accesses on the directory normal.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8b893e94bd27cade70948ede415...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-15 06:47 UTC by Ildar Akhmetgaleev
Modified: 2017-01-20 04:12 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-20 04:12:13 UTC
Type: ---


Attachments (Terms of Use)

Description Ildar Akhmetgaleev 2017-01-15 06:47:01 UTC
Description of problem:
Start xfce4's thunar and go to directory with images
No thumbnails will appear. And this notification by SELinux.
SELinux is preventing tumblerd from 'write' accesses on the directory normal.

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

If you believe that tumblerd should be allowed write access on the normal directory 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:
# ausearch -c 'tumblerd' --raw | audit2allow -M my-tumblerd
# semodule -X 300 -i my-tumblerd.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                normal [ dir ]
Source                        tumblerd
Source Path                   tumblerd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.6.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.16-300.fc25.x86_64 #1 SMP Fri
                              Jan 6 18:11:49 UTC 2017 x86_64 x86_64
Alert Count                   8
First Seen                    2017-01-15 13:31:25 +07
Last Seen                     2017-01-15 13:42:59 +07
Local ID                      253d492c-aafb-4675-8fcf-fd97ab82e390

Raw Audit Messages
type=AVC msg=audit(1484462579.421:264): avc:  denied  { write } for  pid=2655 comm="pool" name="normal" dev="dm-0" ino=751475 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir permissive=0


Hash: tumblerd,thumb_t,user_home_t,dir,write

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

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.16-300.fc25.x86_64
type:           libreport

Comment 1 Ildar Akhmetgaleev 2017-01-20 04:12:13 UTC
Problem solved by resetting selinux policies to factory defaults and resetting labels.


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