Bug 1643698 - SELinux is preventing appsrc0:src from 'execute' accesses on the file 2F72756E2F757365722F313030302F6F7263657865632E4E6E62395457202864656C6574656429.
Summary: SELinux is preventing appsrc0:src from 'execute' accesses on the file 2F72756...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:799d0b2cc69775780cdd2d3f803...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-27 14:44 UTC by xzj8b3
Modified: 2018-11-09 06:02 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.2-42.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-09 06:02:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description xzj8b3 2018-10-27 14:44:37 UTC
Description of problem:
Defaulth
SELinux is preventing appsrc0:src from 'execute' accesses on the file 2F72756E2F757365722F313030302F6F7263657865632E4E6E62395457202864656C6574656429.

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

If you believe that appsrc0:src should be allowed execute access on the 2F72756E2F757365722F313030302F6F7263657865632E4E6E62395457202864656C6574656429 file by default.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
allow this access for now by executing:
# ausearch -c 'appsrc0:src' --raw | audit2allow -M my-appsrc0src
# semodule -X 300 -i my-appsrc0src.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:thumb_tmpfs_t:s0
Target Objects                2F72756E2F757365722F313030302F6F7263657865632E4E6E
                              62395457202864656C6574656429 [ file ]
Source                        appsrc0:src
Source Path                   appsrc0:src
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-40.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.18.16-300.fc29.x86_64 #1 SMP Sat
                              Oct 20 23:24:08 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2018-10-27 16:12:04 CEST
Last Seen                     2018-10-27 16:12:04 CEST
Local ID                      13a2e83d-3bd9-4127-90bc-5f20f4f906da

Raw Audit Messages
type=AVC msg=audit(1540649524.394:328): avc:  denied  { execute } for  pid=7621 comm="appsrc0:src" path=2F72756E2F757365722F313030302F6F7263657865632E4E6E62395457202864656C6574656429 dev="tmpfs" ino=191721 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:thumb_tmpfs_t:s0 tclass=file permissive=1


Hash: appsrc0:src,thumb_t,thumb_tmpfs_t,file,execute

Version-Release number of selected component:
selinux-policy-3.14.2-40.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.6
hashmarkername: setroubleshoot
kernel:         4.18.16-300.fc29.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-11-04 12:12:27 UTC
commit 5dd050d9e89117756ceb46dfdc1734effe0a2760 (HEAD -> rawhide, origin/rawhide, origin/HEAD)
Author: Lukas Vrabec <lvrabec>
Date:   Sun Nov 4 13:11:56 2018 +0100

    Allow thumb_t domain to execute own tmpfs files BZ(1643698)

Comment 2 Fedora Update System 2018-11-05 08:19:34 UTC
selinux-policy-3.14.2-42.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3129f981d3

Comment 3 Fedora Update System 2018-11-06 22:00:13 UTC
selinux-policy-3.14.2-42.fc29 has been pushed to the Fedora 29 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-2018-3129f981d3

Comment 4 Fedora Update System 2018-11-09 06:02:14 UTC
selinux-policy-3.14.2-42.fc29 has been pushed to the Fedora 29 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.