7fd6024 Add check for config file consistency

Authored and Committed by vmojzis 5 years ago
    Add check for config file consistency
    
    Make sure the config is consistent with what packages are (being)
    installed in the system.
    
    This should ensure that the package corresponding to SELINUXTYPE
    in the config is always present in the system, or selinux is DISABLED
    (both before policy_load is called and after any RPM transaction involving
    selinux-policy-* package). Targeted mode is used when possible.
    
    Resolves: rhbz#1641631
    
    Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
    
        
file modified
+73 -0