Project

General

Profile

Actions

Bug #7516

closed

rudder-inventory-ldap and rudder-jetty don't stop their services on uninstall and rudder-slapd can fail to restart on upgrade

Added by Jonathan CLARKE over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
3
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

As discovered in #7510, removing and reinstalling Rudder packages does not lead to a clean state. In particular, the rudder-inventory-ldap package does not stop slapd when it is removed, and the next time it is installed it also fails to restart slapd.

Two problems, two causes:

  1. Lack of a {pre,post}un scriptlet to stop slapd (at least on RPM systems)
  2. The restart command used doesn't call rudder-slapd forcestop, so it can silently fail if the process wasn't stopped, like if the PID file is missing, for example

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #7515: rudder-agent and rudder-slapd init scripts may fail to stop services if killall is missing or misbehavingReleasedBenoît PECCATTE2015-11-30Actions
Related to Rudder - Bug #7510: rudder-upgrade fails when *re*installing RudderReleasedBenoît PECCATTE2015-11-30Actions
Actions

Also available in: Atom PDF