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

Authored and Committed by nhosoi 8 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!!)
    
        
file modified
+13 -7