Actions
Bug #7516
closedrudder-inventory-ldap and rudder-jetty don't stop their services on uninstall and rudder-slapd can fail to restart on upgrade
Pull Request:
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:
- Lack of a {pre,post}un scriptlet to stop slapd (at least on RPM systems)
- 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
Updated by Jonathan CLARKE about 9 years ago
- Blocks Bug #7510: rudder-upgrade fails when *re*installing Rudder added
Updated by Jonathan CLARKE about 9 years ago
- Related to Bug #7515: rudder-agent and rudder-slapd init scripts may fail to stop services if killall is missing or misbehaving added
Updated by Jonathan CLARKE about 9 years ago
- Subject changed from rudder-inventory-ldap doesn't stop rudder-slapd on uninstall and can fail to restart it on upgrade to rudder-inventory-ldap and rudder-jetty don't stop their services on uninstall and rudder-slapd can fail to restart on upgrade
Actually this should also be done for rudder-jetty.
Updated by Jonathan CLARKE about 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/820
Updated by Jonathan CLARKE about 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|1fb4c04167e0eb9d0d409e32a12e64ff8d731e22.
Updated by Benoît PECCATTE about 9 years ago
Applied in changeset rudder-packages|42ea9a12c97e56c00f71c018834fbdf558bc92c3.
Updated by Vincent MEMBRÉ almost 9 years ago
- Status changed from Pending release to Released
Updated by Vincent MEMBRÉ almost 9 years ago
- Blocks deleted (Bug #7510: rudder-upgrade fails when *re*installing Rudder)
Updated by Vincent MEMBRÉ almost 9 years ago
- Related to Bug #7510: rudder-upgrade fails when *re*installing Rudder added
Actions