Bug 1731764

Summary: SELinux is preventing pmcd from 'read' accesses on the diretório pmcd.
Product: [Fedora] Fedora Reporter: alamar <alamarbrandao>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: dwalsh, lvrabec, mgrepl, plautrba, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e0756ef235e19203caad0ba6e5229102386839ac9ade6082cb5ac890c13e0ef2;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-22 10:09:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description alamar 2019-07-21 21:44:28 UTC
Description of problem:
SELinux is preventing pmcd from 'read' accesses on the diretório pmcd.

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

Se você acredita nisso pmcd deve ser permitido read acesso no pmcd directory 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_log_t:s0
Target Objects                pmcd [ dir ]
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                   4
First Seen                    2019-07-21 14:23:31 -03
Last Seen                     2019-07-21 21:37:33 -03
Local ID                      0574ef91-7d6d-4a7a-af7b-2946e7371926

Raw Audit Messages
type=AVC msg=audit(1563755853.675:248): avc:  denied  { read } for  pid=1529 comm="pmcd" name="pmcd" dev="dm-0" ino=2098742 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_log_t:s0 tclass=dir permissive=0


Hash: pmcd,init_t,pcp_log_t,dir,read

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

Comment 1 Lukas Vrabec 2019-07-22 10:09:43 UTC

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