Project

General

Profile

Actions

Bug #35198

closed

Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled

Added by Evgeni Golov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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:

Actions #1

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)
Actions #2

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
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.4.0 added
Actions #4

Updated by Evgeni Golov over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF