Bug 1705203 - SELinux is preventing pmdalinux from getattr, associate access on the message queue labeled unconfined_t.
Summary: SELinux is preventing pmdalinux from getattr, associate access on the message...
Keywords:
Status: CLOSED DUPLICATE of bug 1576478
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:ba86825656a312686c1e29218ec...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-01 18:16 UTC by Mark Tinberg
Modified: 2019-05-02 11:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-02 11:42:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark Tinberg 2019-05-01 18:16:39 UTC
Description of problem:
Enabled performance copilot in cockpit
SELinux is preventing pmdalinux from getattr, associate access on the message queue labeled unconfined_t.

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

If you believe that pmdalinux should be allowed getattr associate access on msgq labeled unconfined_t 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                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                Unknown [ msgq ]
Source                        pmdalinux
Source Path                   pmdalinux
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-32.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.0.9-301.fc30.x86_64 #1 SMP Tue
                              Apr 23 23:57:35 UTC 2019 x86_64 x86_64
Alert Count                   7
First Seen                    2019-05-01 13:09:07 CDT
Last Seen                     2019-05-01 13:15:07 CDT
Local ID                      fa0b9e12-b73f-429f-befe-aba8677fee27

Raw Audit Messages
type=AVC msg=audit(1556734507.463:580): avc:  denied  { getattr associate } for  pid=4873 comm="pmdalinux" key=1001  scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=msgq permissive=0


Hash: pmdalinux,pcp_pmcd_t,unconfined_t,msgq,getattr,associate

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.0.9-301.fc30.x86_64
type:           libreport

Potential duplicate: bug 1576478

Comment 1 Lukas Vrabec 2019-05-02 11:42:30 UTC

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


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