Bug 1731762 - SELinux is preventing pmcd from 'getattr' accesses on the arquivo /var/lib/pcp/pmns/root.
Summary: SELinux is preventing pmcd from 'getattr' accesses on the arquivo /var/lib/pc...
Keywords:
Status: CLOSED DUPLICATE of bug 1731766
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:7aeb0840038642ee7e485417b85...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-21 21:43 UTC by alamar
Modified: 2019-07-22 08:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-22 08:59:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description alamar 2019-07-21 21:43:27 UTC
Description of problem:
SELinux is preventing pmcd from 'getattr' accesses on the arquivo /var/lib/pcp/pmns/root.

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

Se você acredita nisso pmcd deve ser permitido getattr acesso no root file por padrão.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso por agora executando: # ausearch -c 'pmcd'--raw | audit2allow -M my-pmcd # semodule -X 300 -i my-pmcd.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:pcp_var_lib_t:s0
Target Objects                /var/lib/pcp/pmns/root [ file ]
Source                        pmcd
Source Path                   pmcd
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-41.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.1.18-300.fc30.x86_64 #1 SMP Mon
                              Jul 15 15:42:34 UTC 2019 x86_64 x86_64
Alert Count                   2
First Seen                    2019-07-21 14:23:31 -03
Last Seen                     2019-07-21 21:37:33 -03
Local ID                      58be9734-27ab-47e7-bb8b-936a55e05c3e

Raw Audit Messages
type=AVC msg=audit(1563755853.673:238): avc:  denied  { getattr } for  pid=1529 comm="pmcd" path="/var/lib/pcp/pmns/root" dev="dm-0" ino=2098752 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0 tclass=file permissive=0


Hash: pmcd,init_t,pcp_var_lib_t,file,getattr

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

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

Potential duplicate: bug 1398147

Comment 1 Lukas Vrabec 2019-07-22 08:59:56 UTC

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


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