Bug 1951323
Summary: | SELinux is preventing kexec from read access on the file initramfs-5.10.19-200.fc33.x86_64kdump.img | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kelvin Fan <kfan> |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 33 | CC: | dwalsh, grepl.miroslav, kasong, ltao, lvrabec, mmalik, omosnace, plautrba, smilner, vmojzis, zpytela |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.14.6-38.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-16 01:07:20 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
Kelvin Fan
2021-04-19 21:44:59 UTC
I've submitted a draft Fedora PR to address the issue: https://github.com/fedora-selinux/selinux-policy/pull/732 This commit assigned a new type to files in /var/lib/kdump. Kairui Song, do you happen to know which additional system services need the access, either read or write, to /var/lib/kdump/initramfs* image files? Hi, currently there are two services that need rw access to /var/lib/kdump/initramfs* image files. One is kdump.service, another is when dnf updates kernel package, a kernel install hook "/lib/kernel/install.d/60-kdump.install" will get triggered and delete unused images. (In reply to Kairui Song from comment #2) > Hi, currently there are two services that need rw access to > /var/lib/kdump/initramfs* image files. One is kdump.service, another is when > dnf updates kernel package, a kernel install hook > "/lib/kernel/install.d/60-kdump.install" will get triggered and delete > unused images. Thank you, I've updated the PR accordingly and undrafted it. FEDORA-2021-e2de9e9e55 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e2de9e9e55 FEDORA-2021-e2de9e9e55 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e2de9e9e55` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e2de9e9e55 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-e2de9e9e55 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |