Bug 1945685
| Summary: | plymouth should transition to system_u:system_r:plymouthd_t:s0 once the rootfs is mounted | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hans de Goede <hdegoede> |
| Component: | plymouth | Assignee: | Ray Strode [halfline] <rstrode> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dwalsh, gnome-sig, grepl.miroslav, hans, hdegoede, jsegitz, lvrabec, mmalik, nilskemail, omosnace, plautrba, rstrode, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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
Hans de Goede
2021-04-01 16:07:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35. So the plymouthd started from initramfs runs with system_u:system_r:kernel_t:s0. I think it's a good idea to do the transition as soon as possible. There are basically 2 ways how to do it: 1. re-exec - plymouthd would need to re-exec itself after a policy a loaded. In this case the transition would be handled automatically by a kernel. afaik systemd does re-exec after switch-root when the policy is loaded - this would be preferred. 2. plymouthd could transition to the new domain using setcon() Switching the component based on #c2. Let us know if the agreed change needs to be backed by a selinux-policy rule, too. This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37. This message is a reminder that Fedora Linux 37 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05. 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 'version' of '37'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 37 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 Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. This is still relevant / still needs to be fixed, changing version to rawhide. This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40. This message is a reminder that Fedora Linux 40 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13. 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 'version' of '40'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 40 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 Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. This still needs to be fixed, changing release to rawhide. |