Bug 1701643 - SELinux is preventing pool-tumblerd from 'unlink' accesses on the file 67df3f1cac7a74531f2f433d15409aaa.png.
Summary: SELinux is preventing pool-tumblerd from 'unlink' accesses on the file 67df3f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aa1c4e8401836e207924f629ee8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-20 09:13 UTC by Abhisek Mukherjee
Modified: 2019-04-29 01:41 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.3-32.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-29 01:41:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Abhisek Mukherjee 2019-04-20 09:13:39 UTC
Description of problem:
SELinux is preventing pool-tumblerd from 'unlink' accesses on the file 67df3f1cac7a74531f2f433d15409aaa.png.

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

If you believe that pool-tumblerd should be allowed unlink access on the 67df3f1cac7a74531f2f433d15409aaa.png 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:
# ausearch -c 'pool-tumblerd' --raw | audit2allow -M my-pooltumblerd
# semodule -X 300 -i my-pooltumblerd.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:cache_home_t:s0
Target Objects                67df3f1cac7a74531f2f433d15409aaa.png [ file ]
Source                        pool-tumblerd
Source Path                   pool-tumblerd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-29.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.0.7-300.fc30.x86_64 #1 SMP Mon
                              Apr 8 18:28:09 UTC 2019 x86_64 x86_64
Alert Count                   3
First Seen                    2019-04-20 14:21:28 IST
Last Seen                     2019-04-20 14:21:29 IST
Local ID                      9125b4a2-c531-42d5-8af8-06074c73190f

Raw Audit Messages
type=AVC msg=audit(1555750289.385:222): avc:  denied  { unlink } for  pid=1568 comm="pool-tumblerd" name="67df3f1cac7a74531f2f433d15409aaa.png" dev="sdb3" ino=654378 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:cache_home_t:s0 tclass=file permissive=0


Hash: pool-tumblerd,thumb_t,cache_home_t,file,unlink

Version-Release number of selected component:
selinux-policy-3.14.3-29.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.0.7-300.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-04-23 12:38:54 UTC
commit f53a566c86c35be54cb63f3485b4498b5f8cb1f0 (HEAD -> rawhide, origin/rawhide, origin/HEAD)
Author: Lukas Vrabec <lvrabec>
Date:   Tue Apr 23 14:30:42 2019 +0200

    Allow thumb_t domain to delete cache_home_t files BZ(1701643)

Comment 2 Fedora Update System 2019-04-26 10:31:10 UTC
selinux-policy-3.14.3-32.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-98603a3cde

Comment 3 Fedora Update System 2019-04-27 22:30:23 UTC
selinux-policy-3.14.3-32.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-98603a3cde

Comment 4 Fedora Update System 2019-04-29 01:41:43 UTC
selinux-policy-3.14.3-32.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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