Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2106268 - Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled
Summary: Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled
Keywords:
Status: CLOSED DUPLICATE of bug 2122199
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Evgeni Golov
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 09:08 UTC by Evgeni Golov
Modified: 2023-03-08 08:29 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-08 08:29:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35198 0 Normal Closed Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled 2022-08-25 16:06:48 UTC
Red Hat Issue Tracker SAT-14685 0 None None None 2023-01-05 07:06:04 UTC

Description Evgeni Golov 2022-07-12 09:08:58 UTC
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:

Comment 1 Evgeni Golov 2022-07-12 09:10:11 UTC
Created redmine issue https://projects.theforeman.org/issues/35198 from this bug

Comment 5 Evgeni Golov 2023-03-08 08:29:56 UTC
This has been fixed via BZ#2122199 - closing.

*** This bug has been marked as a duplicate of bug 2122199 ***


Note You need to log in before you can comment on or make changes to this bug.