Bug 1495817
Summary: | SELinux is preventing setroubleshootd from read access on the file /var/lib/rpm/Packages. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joel Uckelman <uckelman> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | dwalsh, edosurina, lsm5, lvrabec, mgrepl, plautrba, pmatilai, pmoore, reynaldo.porras, uckelman |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-29 12:46:07 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
Joel Uckelman
2017-09-26 12:05:45 UTC
Hi, Your system is mislabeled. $ matchpathcon /var/lib/rpm/Packages /var/lib/rpm/Packages system_u:object_r:rpm_var_lib_t:s0 Please use: # restorecon -Rv /var/lib/rpm/ To fix your issue. Observe: [root@clio ~]# restorecon -Rv /var/lib/rpm/ [root@clio ~]# restorecon didn't relabel anything, which suggests that my system is _not_ mislabeled. Reopening. Are you able to reproduce it? I've looked into this a bit more now. The same SELinux denial happens repeatedly on four different F26 systems I admin. On the first system, I'd forgotten that I ran restorecon between when the most recent denial happened and when I discovered that the denial had happened. On the others, I found that many files in /var/lib/rpm were mislabeled---and the denial has recurred since the relabeling, which indicates that something is mislabeling these files, but I don't know what's doing that. *** Bug 1491858 has been marked as a duplicate of this bug. *** *** Bug 1491610 has been marked as a duplicate of this bug. *** This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. 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 '26'. 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 26 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 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 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. |