Bug 1554955 - SELinux is preventing pmdalinux from 'unix_read' accesses on the semaphore Unknown.
Summary: SELinux is preventing pmdalinux from 'unix_read' accesses on the semaphore Un...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:31081a7094d1a7c91ebc2ae512f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-13 16:07 UTC by Jan Kalina
Modified: 2018-03-27 20:14 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-283.29.fc27
Clone Of:
Environment:
Last Closed: 2018-03-27 20:14:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kalina 2018-03-13 16:07:38 UTC
Description of problem:
SELinux is preventing pmdalinux from 'unix_read' accesses on the semaphore Unknown.

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

If you believe that pmdalinux should be allowed unix_read access on the Unknown sem 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 [ sem ]
Source                        pmdalinux
Source Path                   pmdalinux
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.26.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.15.7-300.fc27.x86_64 #1 SMP Wed
                              Feb 28 17:53:39 UTC 2018 x86_64 x86_64
Alert Count                   21
First Seen                    2018-03-13 16:02:50 CET
Last Seen                     2018-03-13 17:05:50 CET
Local ID                      aaa25239-616e-4bc0-b876-b53271d8b61b

Raw Audit Messages
type=AVC msg=audit(1520957150.386:571): avc:  denied  { unix_read } for  pid=1456 comm="pmdalinux" key=-1591014495  scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=sem permissive=0


Hash: pmdalinux,pcp_pmcd_t,unconfined_t,sem,unix_read

Version-Release number of selected component:
selinux-policy-3.13.1-283.26.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.15.7-300.fc27.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-03-25 13:13:42 UTC
selinux-policy-3.13.1-283.29.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ad9976b6a2

Comment 2 Fedora Update System 2018-03-25 22:41:58 UTC
selinux-policy-3.13.1-283.29.fc27 has been pushed to the Fedora 27 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-ad9976b6a2

Comment 3 Fedora Update System 2018-03-27 20:14:06 UTC
selinux-policy-3.13.1-283.29.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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