Bug 1927551
Summary: | SELinux block systemd from running scripts in /usr/lib/systemd/system-sleep | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Orion Poplawski <orion> |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.3 | CC: | lvrabec, mmalik, plautrba, ssekidde |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.5 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.14.3-69.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 19:42:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Orion Poplawski
2021-02-11 00:09:16 UTC
Changing to lib_t doesn't help. Changing to systemd_sleed_exec_t leads to a different denial: avc: denied { getattr } for pid=144222 comm="(sd-executor)" path="/usr/lib/systemd/system-sleep" dev="dm-1" ino=134845448 scontext=system_u:system_r:systemd_sleep_t:s0 tcontext=system_u:object_r:systemd_sleep_exec_t:s0 tclass=dir permissive=0 I've submitted a Fedora PR to address the issue: https://github.com/fedora-selinux/selinux-policy/pull/612 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4420 |