Bug 1830029
Summary: | SELinux is preventing restorecon from using the 'mac_admin' capabilities. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael <michael.scheiffler> |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 32 | CC: | dwalsh, grepl.miroslav, lvrabec, plautrba, vmojzis, zpytela |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:1dc43931c1cd6f76536841a3456e2c67caea068e9a36125c2b45deebdf1f433a;VARIANT_ID=workstation; | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-25 18:45:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael
2020-04-30 18:18:29 UTC
Hi, The mac_admin permission indicates an attempt to get or set raw security context values unknown to the current policy. Could you show the audited denials? # ausearch -i -m avc,user_avc,selinux_err,user_selinux_err -ts today Unfortunately I cannot. This error was one of the outcomes of the catastrophic selinux 3.14.5-37 update. Also some flatpak selinux problems have been reported. After trying to relabel the whole system, I couldn't log in any more. Ultimately I had to disable selinux via the kernel command line and to revert the selinux update again. I'll add a versionlock for now to prevent another disaster from happening at the next update. I URGE EVERYONE WHO READS THIS TO NOT (!!!) USE VERSION 3.14.5-37 AS IT IS FUNDAMENTALLY BROKEN AND WILL RESULT IN AN UNUSABLE SYSTEM. I can confirm https://bugzilla.redhat.com/show_bug.cgi?id=1811407#c44 by 100% on my side. Michael, The mac_admin permission indicates an attempt to get or set raw security context values unknown to the current policy, and this context may be defined in an independent policy module which is a part of a separate subpackage, e. g. flatpak-selinux. These steps can help with identifying a possible problem: # rpm -qa "*-selinux" # ls -lZ /var/lib/selinux/targeted/active/modules/[24]00/ # semodule -lfull|grep -v ^100 Note the current package version is selinux-policy-3.14.5-38.fc32, but with no substantial change possibly related to your problem. We expect to have another build soon. This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |