89adedf Disable SELinux on a policy type subpackage uninstall

1 file Authored by plautrba 6 years ago, Committed by lvrabec 6 years ago,
    Disable SELinux on a policy type subpackage uninstall
    
    When selinux-policy is uninstalled, SELinux is changed to permissive and
    /etc/selinux/config is updated to disable SELinux. But it doesn't apply
    when selinux-policy-{targeted,mls,minimum} are uninstalled.
    
    With this change when one of the policy subpackages is uninstalled
    and the current policy type is same as the uninstalled policy, SELinux
    is switched to permissive and disabled in config file as well.
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1498569
    
        
file modified
+43 -0