8272da7 Adapt redhat ipaplatform to RHEL9/ELN

Authored and Committed by frenaud 2 years ago
    Adapt redhat ipaplatform to RHEL9/ELN
    
    On RHEL8, ipa is using named-pkcs11.service but RHEL9 is based on
    fedora34 and uses named.service instead. There is already some support
    for this distinction in ipaplatform, and the patch relies on the
    specific settings that can be configured in ipaplatform/xx/services.py
    and ipaplatform/xx/constants.py
    
    On RHEL9 ipa also needs to define NAMED_OPENSSL_ENGINE for named
    to use openssl's okcs11 engine.
    
    Fixes: https://pagure.io/freeipa/issue/8753
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+6 -0