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.
Reviewed by email@example.com (Thank you, Mark!!)
(cherry picked from commit 29c09a5bcc7d54be1aa6880b4f2a423edd3dc463)
(cherry picked from commit 2c5e0d5692bcabe16a7e3b8e0d24eb3a88913155)