Bug 1517395 - SELinux is preventing pmlogger_check from 'execute_no_trans' accesses on the archivo /usr/bin/pmlogger.
Summary: SELinux is preventing pmlogger_check from 'execute_no_trans' accesses on the ...
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:a9418ef30b3084d0fcef2526893...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-24 20:34 UTC by Francisco de la Peña
Modified: 2018-01-02 16:48 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-283.19.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-02 16:48:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Francisco de la Peña 2017-11-24 20:34:51 UTC
Description of problem:
SELinux is preventing pmlogger_check from 'execute_no_trans' accesses on the archivo /usr/bin/pmlogger.

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

If cree que de manera predeterminada, pmlogger_check debería permitir acceso execute_no_trans sobre pmlogger file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
allow this access for now by executing:
# ausearch -c 'pmlogger_check' --raw | audit2allow -M my-pmloggercheck
# semodule -X 300 -i my-pmloggercheck.pp

Additional Information:
Source Context                system_u:system_r:pcp_pmlogger_t:s0
Target Context                system_u:object_r:pcp_pmlogger_exec_t:s0
Target Objects                /usr/bin/pmlogger [ file ]
Source                        pmlogger_check
Source Path                   pmlogger_check
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           pcp-3.12.1-3.fc27.x86_64
Policy RPM                    selinux-policy-3.13.1-283.16.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.13.13-300.fc27.x86_64 #1 SMP Wed
                              Nov 15 15:47:50 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-11-22 15:39:22 CST
Last Seen                     2017-11-22 15:39:22 CST
Local ID                      c1bf1ada-0dda-4f96-94c7-0cf299c5c6fe

Raw Audit Messages
type=AVC msg=audit(1511386762.829:1203): avc:  denied  { execute_no_trans } for  pid=27518 comm="pmlogger_check" path="/usr/bin/pmlogger" dev="dm-0" ino=2371752 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:pcp_pmlogger_exec_t:s0 tclass=file permissive=0


Hash: pmlogger_check,pcp_pmlogger_t,pcp_pmlogger_exec_t,file,execute_no_trans

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

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

Potential duplicate: bug 1470610

Comment 1 Fedora Update System 2017-12-13 08:27:42 UTC
selinux-policy-3.13.1-283.18.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502

Comment 2 Fedora Update System 2017-12-14 11:12:40 UTC
selinux-policy-3.13.1-283.18.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-2017-8225c4e502

Comment 3 Fedora Update System 2017-12-20 11:25:28 UTC
selinux-policy-3.13.1-283.19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502

Comment 4 Fedora Update System 2017-12-21 20:21:44 UTC
selinux-policy-3.13.1-283.19.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-2017-8225c4e502

Comment 5 Fedora Update System 2018-01-02 16:48:35 UTC
selinux-policy-3.13.1-283.19.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.