Bug 1607658

Summary: SELinux is preventing pmdalinux from 'unix_read' accesses on the semáforo Unknown.
Product: [Fedora] Fedora Reporter: serenade <veleroceleste>
Component: pcpAssignee: Lukas Berk <lberk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: dwalsh, fche, lberk, lvrabec, mgoodwin, mgrepl, nathans, plautrba, scox
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:16419d36767eea34d333c1f6f0aef2ec8176837ab8ced709124c211e73e62552;
Fixed In Version: pcp-4.3.0-1.fc29 pcp-4.3.0-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-24 06:07:33 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 serenade 2018-07-24 00:22:08 UTC
Description of problem:
Hello
I do not know why this fault occurs, but I'm sure it's because of some laptop shutdown, some for a critical failure. It is a failure that I get all the time that is in operation, and I can not reinstall everything, it is impossible, I have to work with the laptop, it is urgent. I installed everything very fast. besides this, only the copy paste works on the plasma desktop and on the cinnamon. And this failure occurs continuously
SELinux is preventing pmdalinux from 'unix_read' accesses on the semáforo Unknown.

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

Si cree que de manera predeterminada se debería permitir a pmdalinux el acceso unix_read sobre  Unknown sem.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'pmdalinux' --raw | audit2allow -M mi-pmdalinux
# semodule -X 300 -i mi-pmdalinux.pp

Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                system_u:system_r:initrc_t:s0
Target Objects                Unknown [ sem ]
Source                        pmdalinux
Source Path                   pmdalinux
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Desconocido>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.17.7-200.fc28.x86_64 #1 SMP Tue
                              Jul 17 16:28:31 UTC 2018 x86_64 x86_64
Alert Count                   1460
First Seen                    2018-07-23 00:59:15 CEST
Last Seen                     2018-07-24 02:12:44 CEST
Local ID                      e6e0973d-2afd-4f08-8d40-b3e517b0005a

Raw Audit Messages
type=AVC msg=audit(1532391164.466:390): avc:  denied  { unix_read } for  pid=1270 comm="pmdalinux" key=16843551  scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=sem permissive=0


Hash: pmdalinux,pcp_pmcd_t,initrc_t,sem,unix_read


Additional info:
component:      selinux-policy
reporter:       libreport-2.9.5
hashmarkername: setroubleshoot
kernel:         4.17.7-200.fc28.x86_64
type:           libreport

Comment 1 Lukas Berk 2018-12-20 20:32:57 UTC
Hi, this was fixed upstream and will be part of pcp-4.3.0

Comment 2 Fedora Update System 2018-12-21 04:11:25 UTC
pcp-4.3.0-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3dc05c6d19

Comment 3 Fedora Update System 2018-12-21 04:12:22 UTC
pcp-4.3.0-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3d0256193e

Comment 4 Fedora Update System 2018-12-22 01:33:29 UTC
pcp-4.3.0-1.fc28 has been pushed to the Fedora 28 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-3d0256193e

Comment 5 Fedora Update System 2018-12-22 02:58:16 UTC
pcp-4.3.0-1.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-3dc05c6d19

Comment 6 Fedora Update System 2018-12-24 06:07:33 UTC
pcp-4.3.0-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2018-12-26 10:40:25 UTC
pcp-4.3.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0913e3af78

Comment 8 Fedora Update System 2018-12-27 02:58:02 UTC
pcp-4.3.0-2.fc28 has been pushed to the Fedora 28 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-0913e3af78

Comment 9 Fedora Update System 2019-01-02 02:37:02 UTC
pcp-4.3.0-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.