Actions
Bug #7515
closedrudder-agent and rudder-slapd init scripts may fail to stop services if killall is missing or misbehaving
Status:
Released
Priority:
N/A
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
This is essentially the same as #5825 but on the 2.11 branch, and with improvements.
'killall' may not be available, and sometimes it is known to fail:
[root@server ~]# ps axf | grep [s]lapd 4387 ? Ssl 0:05 /opt/rudder/libexec/slapd -h ldap://127.0.0.1:389 -n rudder-slapd -f /opt/rudder/etc/openldap/slapd.conf [root@server ~]# /usr/bin/killall -KILL /opt/rudder/libexec/slapd /opt/rudder/libexec/slapd: no process killed
However, we can use "pidof". But the original implementation in #5825 only looked for pidof in /bin, although it can be elsewhere (like /sbin, on RHEL 6 at least).
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
Updated by Jonathan CLARKE almost 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/819
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #5825: rudder-jetty and rudder-inventory-ldap init scripts can fail when killall is not available added
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #7516: rudder-inventory-ldap and rudder-jetty don't stop their services on uninstall and rudder-slapd can fail to restart on upgrade added
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|d7113f149fa3cff77074c2e687b760f3a033eea2.
Updated by Benoît PECCATTE almost 9 years ago
Applied in changeset rudder-packages|41783f17a5fe9e906860b466553082ad5bafda73.
Updated by Vincent MEMBRÉ almost 9 years ago
- Status changed from Pending release to Released
Actions