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 #1

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions #2

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from New to Rejected
  • Assignee deleted (Jonathan CLARKE)

This seems to have been done since there is only one stop and one start in the postinst now.
Closing.

Actions

Also available in: Atom PDF