aa17a8f Issue 50550 - DS installer debug messages leaking to ipa-server-install

Authored and Committed by spichugi 4 years ago
    Issue 50550 - DS installer debug messages leaking to ipa-server-install
    
    Bug Description:
    DS installer debug messages are now leaked in the main ipa-server-install output.
    This looks as a (very minor) regression, I did not see this text in the past.
    
    Fix Description:
    Clean up loging in lib389. Replace 'sepolicy' module with subprocess call
    to 'semanage' tool. It is done because 'sepolicy' has verbose output that
    appears on 'import'. Instead of developing a tricky workaround, direct
    'semange' call was used.
    
    https://pagure.io/389-ds-base/issue/50550
    
    Reviewed by: firstyear, mreynolds, mhonek (Thanks!)
    
        
file modified
+35 -27