d88650a Ticket #48243 - replica upgrade failed in starting dirsrv service due to upgrade scripts did not run

Authored and Committed by nhosoi 4 years ago
    Ticket #48243 - replica upgrade failed in starting dirsrv service due to upgrade scripts did not run
    
    Description: In the upgrade process, there is a combination of requirements:
     . the server is running.
     . the server instance service is disabled.
     . upgrade scripts are expected to run against the instance.
     . the server is restarted once the upgrade is done.
     . the server instance service remains disabled.
    To fulfill the requirements,
     . spec file is modified to enumerate slapd dir (except .remove) in the
       /etc/dirsrv for getting the server instance.
     . Start/Update perl scripts are modified not to create a symlink in
       /etc/systemd/system/dirsrv.target.wants for the upgrade case, which
       means the service remains disabled.
    
    https://fedorahosted.org/389/ticket/48243
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
    (cherry picked from commit 29c09a5bcc7d54be1aa6880b4f2a423edd3dc463)
    (cherry picked from commit 2c5e0d5692bcabe16a7e3b8e0d24eb3a88913155)
    
        
file modified
+13 -7