Actions
Bug #21100
closedWhen cf-serverd starts it can kill an unrelated process
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
This is due to a race condition in the lock handling:
- cfengine interprocess locks are stored in lmdb
- when cf-serverd starts, it holds a lock and releases it on stop
- when it restarts, it checks this lock and if it expired, it tries to kill the owning process
- sometime with pid turnover, it can be possible that this pid has been reused by another process in the meantime
We should add a check to make sure we only ever kill cfengine processes
Updated by Benoît PECCATTE over 2 years ago
- Target version changed from 6.2.14 to 6.1.20
Updated by Benoît PECCATTE over 2 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE over 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2597
Updated by Benoît PECCATTE over 2 years ago
Cfengine issue: https://tracker.mender.io/browse/CFE-3982
Cfengine PR: https://github.com/cfengine/core/pull/4957
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.20 to 6.1.21
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
Updated by Benoît PECCATTE over 2 years ago
- Pull Request changed from https://github.com/Normation/rudder-packages/pull/2597 to https://github.com/Normation/rudder-packages/pull/2665
Updated by Benoît PECCATTE over 2 years ago
- Target version changed from old 6.1 issues to relocate to 6.2.20
- Regression set to No
Updated by Benoît PECCATTE over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|3327bdf211a16ac586080d3ef34786c0d5b1b4a1.
Updated by Vincent MEMBRÉ about 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.2.20, 7.1.7 and 7.2.1 which were released today.
Actions