| Summary: | selinux-policy upgrade denies abrt-server access to /var/cache/dnf/* | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | ILMostro <ilmostro7> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 23 | CC: | dominick.grift, dwalsh, ilmostro7, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-20 19:57:37 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: | |
|
Description
ILMostro
2016-04-14 10:15:13 UTC
Sorry, I mistakenly stated that fcontext was "var_cache_t" instead of "rpm_var_cache_t". The following is a list of the SELinux labels for the existing directories and files in "/var/cache/dnf/.": ``` unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 unconfined_u:object_r:rpm_var_cache_t:s0 system_u:object_r:rpm_var_cache_t:s0 ``` Ok so /var/cache/dnf is labeled correctly, right? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Hi, This was a while ago, but I did provide the file context SELinux labels in my previous comments. Based on that information, you can see that they were, indeed, labelled correctly. Additionally, I'd like to point out that I ended up resolving this issue, though, due to the age of this report, I am not sure how I had done that. Once again, based on the context labels in Comment 1, it appears that the complaints were showing **MLS** labelled files/directories; and `selinux-policy-targeted` as well as `selinux-policy-mls` were installed. At this time, the following SELinux labels are on the same system where the issue was reported and resolved (somehow). ~~~ [09:11][1005]# ls -alhZ /var/cache/dnf/updates-96b7b648a31a001b/ total 48K drwxr-xr-x. 4 root root unconfined_u:object_r:rpm_var_cache_t:s0 4.0K Nov 7 00:51 . drwxr-xr-x. 22 root root system_u:object_r:rpm_var_cache_t:s0 4.0K Nov 7 09:11 .. -rw-r--r--. 1 root root system_u:object_r:rpm_tmp_t:s0 7.8K Nov 7 00:51 metalink.xml drwxr-xr-x. 2 root root unconfined_u:object_r:rpm_var_cache_t:s0 24K Oct 7 12:39 packages drwxr-xr-x. 2 root root system_u:object_r:rpm_tmp_t:s0 4.0K Nov 7 00:51 repodata ~~~ This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. 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 '23'. 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 23 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 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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. |