Bug #35198
closedLeapp upgrade requires foreman-selinux and katello-selinux to be reinstalled
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2106268
Description of problem:
After an upgrade of a Satellite with Leapp from EL7 to EL8, the new system is lacking the Selinux port labels, rendering the application unusable once the user tries to enable SELinux enforcing.
The workaround is to re-install the foreman-selinux and katello-selinux packages, as this will trigger re-adding the ports.
However, the reason the ports are not added during initial upgrade is that the %post scripts of the packages check if SELinux is enabled before doing any action -- and it is disabled during Leapp.
Other packages (candlepin-selinux, pulpcore-selinux) don't have this limitation and do not require re-installation.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Updated by Evgeni Golov over 2 years ago
- Project changed from Foreman to Packaging
- Subject changed from Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled to Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled
- Category deleted (
Packaging)
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/8209 added
Updated by Evgeni Golov over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman-packaging|3c9880a66e235547e0b381a68a7d498ae03aae91.