Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

Changes how pulp-selinux RPM decides when to run restorecon statements #2839

Merged
merged 1 commit into from
Nov 16, 2016

Commits on Nov 16, 2016

  1. Changes how pulp-selinux RPM decides when to run restorecon statements

    RHEL 7.3 was experiencing a bug that was preventing the pulp-selinux RPM from using semodule -l to
    figure out the installed version of pulp-selinux policies during upgrades. This patch switched to
    using rpm -qa for determining the version of previously installed SELinux policy.
    
    The version comparison logic in relabel.sh only worked for version strings <= 1.9.z. This patch
    improves this code to make sure upgrades to 2.10.2 don't accidently run unnecesary restorecon
    statements.
    
    closes pulp#2434
    https://pulp.plan.io/issues/2424
    dkliban committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    29c2026 View commit details
    Browse the repository at this point in the history