Actions
Bug #10498
closedStopping slapd fails if pid file is empty
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
40
Name check:
Fix check:
Regression:
Description
If the pid file for slapd is empty, the init script fails.
Here is the trace:
+ message info '[INFO] Halting OpenLDAP...' + '[' Linux = Linux ']' + logger -p local4.info -s -t rudder-slapd -i '[INFO] Halting OpenLDAP...' <166>Mar 24 07:34:57 rudder-slapd[1394]: [INFO] Halting OpenLDAP... + '[' '!' -r /var/rudder/run/slapd.pid ']' ++ cat /var/rudder/run/slapd.pid + PID= + kill -INT kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] + i=0 + '[' -e /proc/ ']' + '[' 0 -eq 30 ']' ++ expr 0 + 1 + i=1 [...]
Note: slapd was actually running.
# pgrep -f /opt/rudder/libexec/slapd 17492
After writing the PID to the file it did stop.
Found in: rudder-inventory-ldap-4.1.0.rc2.git201703230121-1.SLES.12.x86_64
Updated by François ARMAND over 7 years ago
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Updated by Benoît PECCATTE over 7 years ago
- Effort required set to Small
- Priority changed from 31 to 35
Updated by Benoît PECCATTE almost 7 years ago
- Target version set to 4.1.10
- Priority changed from 43 to 41
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1503
Updated by Rudder Quality Assistant almost 7 years ago
- Assignee changed from Alexis Mousset to Benoît PECCATTE
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|feb3ea668e1b52f125b1c49b349f04925eed54ee.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
- Priority changed from 41 to 40
This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.
- 4.1.10: Announce Changelog
- 4.2.4: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions