fbd7d77 rpmspec: ensure ipa snippet for sshd is always included

Authored and Committed by frenaud 3 years ago
    rpmspec: ensure ipa snippet for sshd is always included
    
    Whn openssh-server > 8.2 is installed, ipa rpmspec moves its
    configuration directives to /etc/ssh/sshd_config.d/04-ipa.conf
    but doesn't check that the 04-ipa.conf is included from
    /etc/ssh/sshd_config.
    
    The fixes ensures that the snippet is always included, either
    through the line Include /etc/ssh/sshd_config.d/*.conf or
    directly with Include /etc/ssh/sshd_config.d/04-ipa.conf
    
    Fixes: https://pagure.io/freeipa/issue/8535
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+12 -0