Bug 2050140
Summary: | unexpected selinux changes during installation to image | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Zdenek Veleba <zveleba> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED WONTFIX | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | unspecified | Docs Contact: | Sagar Dubewar <sdubewar> |
Priority: | unspecified | ||
Version: | 8.6 | CC: | gfialova, jkonecny, jstodola, lmanasko, sdubewar, vslavik |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
.Unexpected SELinux policies on systems where Anaconda is running as an application
When Anaconda is running as an application on an already installed system (for example to perform another installation to an image file using the `–image` anaconda option), the system is not prohibited to modify the SELinux types and attributes during installation. As a consequence, certain elements of SELinux policy might change on the system where Anaconda is running.
To work around this problem, do not run Anaconda on the production system. Instead, run Anaconda in a temporary virtual machine to keep the SELinux policy unchanged on a production system. Running anaconda as part of the system installation process such as installing from `boot.iso` or `dvd.iso` is not affected by this issue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-04-22 15:36:26 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2026666 |
Description
Zdenek Veleba
2022-02-03 10:51:12 UTC
Hi Vlada, could you please take a look on this if it is SELinux or us? I did not find anything that would explicitly change such things, so I think this effect is indirect and likely not our bug. In my limited understanding, a system's policy can consist of many files installed by many packages, and this command's output only dumps the sum of all the types from all the files. With that hypothesis, the differences in seinfo output according to installed packages make sense. And changes to the output on host instead of target feel like something is leaking while installing things. It might be useful to see if the same changes occur to installation environment. Better ask somebody who knows what they are doing... |