Project

General

Profile

Actions

User story #4133

closed

Prevent slapd doing multiple stop/restart on ldap-inventory upgrade

Added by Vincent MEMBRÉ about 11 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

slapd may be restarted multiple time during upgrade of rudder-inventory-ldap (indexes have changed, ...)

in postinst there is multple blocks that do

/sbin/service slapd stop

doing things

/sbin/service slapd start

and even one more restart is done at the end (if #4132 is accepted)

leading to multiple restart of slapd

Only one restart could be done instead.

I have a question though: this may be used to determine which upgrade fail?

If not, I don't see why multiple restarting is useful

I suggest to remove the start part from quoted blocks above and having a restart at the end of the postinstallation part

What do you think of it Jon ?

Actions

Also available in: Atom PDF