Bug 1344375 - SELinux is preventing find from 'read' accesses on the directory /var/cache/dnf/dwmw2-sipecollab-d41e3dfdf3d8f71a/repodata.
Summary: SELinux is preventing find from 'read' accesses on the directory /var/cache/d...
Keywords:
Status: CLOSED DUPLICATE of bug 1276922
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9fb8200dcf856be7e19d40f68ba...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-09 14:04 UTC by Brian J. Murrell
Modified: 2016-06-20 10:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-20 10:58:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian J. Murrell 2016-06-09 14:04:09 UTC
Description of problem:
SELinux is preventing find from 'read' accesses on the directory /var/cache/dnf/dwmw2-sipecollab-d41e3dfdf3d8f71a/repodata.

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

If you believe that find should be allowed read access on the repodata 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 'find' --raw | audit2allow -M my-find
# semodule -X 300 -i my-find.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:rpm_tmp_t:s0
Target Objects                /var/cache/dnf/dwmw2-sipecollab-
                              d41e3dfdf3d8f71a/repodata [ dir ]
Source                        find
Source Path                   find
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-158.14.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.4.8-300.fc23.x86_64 #1 SMP Wed
                              Apr 20 16:59:27 UTC 2016 x86_64 x86_64
Alert Count                   11
First Seen                    2016-01-27 11:36:55 EST
Last Seen                     2016-05-03 10:05:49 EDT
Local ID                      359c7260-4ba9-475d-aa61-3caff5bf6b65

Raw Audit Messages
type=AVC msg=audit(1462284349.16:13658): avc:  denied  { read } for  pid=2101 comm="find" name="repodata" dev="dm-5" ino=524063 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpm_tmp_t:s0 tclass=dir permissive=0


Hash: find,abrt_t,rpm_tmp_t,dir,read

Version-Release number of selected component:
selinux-policy-3.13.1-158.14.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.5.6-200.fc23.x86_64
type:           libreport

Potential duplicate: bug 1276922

Comment 1 Brian J. Murrell 2016-06-14 14:29:36 UTC
Description of problem:
Not sure what caused this bug

Version-Release number of selected component:
selinux-policy-3.13.1-158.14.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.5.6-200.fc23.x86_64
type:           libreport

Comment 2 Lukas Vrabec 2016-06-20 10:58:36 UTC

*** This bug has been marked as a duplicate of bug 1276922 ***


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