Bug 1651027 - SELinux is preventing pmdalinux from 'search' accesses on the directory .cache.
Summary: SELinux is preventing pmdalinux from 'search' accesses on the directory .cache.
Keywords:
Status: CLOSED DUPLICATE of bug 1635522
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:92061810fe244b8faee7d623b3b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-18 22:55 UTC by Bob John
Modified: 2018-12-17 19:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-12-17 19:01:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bob John 2018-11-18 22:55:55 UTC
Description of problem:
SELinux is preventing pmdalinux from 'search' accesses on the directory .cache.

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

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

Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                system_u:object_r:cache_home_t:s0
Target Objects                .cache [ dir ]
Source                        pmdalinux
Source Path                   pmdalinux
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-42.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.18.18-300.fc29.x86_64 #1 SMP Mon
                              Nov 12 03:12:14 UTC 2018 x86_64 x86_64
Alert Count                   5
First Seen                    2018-11-19 06:34:18 CST
Last Seen                     2018-11-19 06:36:18 CST
Local ID                      04d00ae3-97be-46e0-b3b7-608e5d0b1ff2

Raw Audit Messages
type=AVC msg=audit(1542580578.493:353): avc:  denied  { search } for  pid=1232 comm="pmdalinux" name=".cache" dev="sda1" ino=7869022 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cache_home_t:s0 tclass=dir permissive=0


Hash: pmdalinux,pcp_pmcd_t,cache_home_t,dir,search

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

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

Potential duplicate: bug 1635522

Comment 1 Lukas Vrabec 2018-12-17 19:01:09 UTC

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


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