Bug 1715134
Summary: | sbd is unable to set rt-priority if CPUAccounting is enabled | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Klaus Wenninger <kwenning> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | cfeist, cluster-maint, cluster-qe, lvrabec, mlisik, mmalik, plautrba, sbradley, ssekidde, zpytela |
Target Milestone: | rc | Keywords: | AutoVerified |
Target Release: | 8.1 | Flags: | pm-rhel:
mirror+
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.14.3-12.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1713021 | Environment: | |
Last Closed: | 2019-11-05 22:11:44 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: | |||
Bug Depends On: | 1713021 | ||
Bug Blocks: | 1713023, 1715136 |
Comment 3
Klaus Wenninger
2019-05-31 14:45:40 UTC
Klaus, based on https://bugzilla.redhat.com/show_bug.cgi?id=1713021#c3 it seems this permission is required as well - is it correct? allow sbd_t cgroup_t:dir write; Zdenek, Good question! Iirc I've quite intensively tested selinux-policy-3.14.3-8.el8 on my rhel-8.0.0-setup and didn't find any issues (everything working well and no denials logged). Would writing to existent files require that property? Klaus Klaus, The permission reported in Milos's AVC was "writing to a directory", i. e. creating a new file. Maybe reboot is required to test the scenario completely? (In reply to Zdenek Pytela from comment #18) > Klaus, > > The permission reported in Milos's AVC was "writing to a directory", i. e. > creating a new file. Maybe reboot is required to test the scenario > completely? Hmm .. mystery only writing line is f = fopen("/sys/fs/cgroup/cpu/tasks", "w"); and that one is present regardless of if cpu-accounting is on or off. All others are mode = "rt". Klaus, So is the latest AVC required to make sbd work smoothly on RHEL8? Thanks, Lukas. 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, 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-2019:3547 |