Bug #7237
closedno pid check in rudder-agent init script
Description
I have the crazy idea to run every often "service rudder-agent start", so I'm testing this to be sure it's possible and the result seems to be not.
service rudder-agent start && service rudder-agent start && ps fax
=>
28066 ? Ss 0:00 /var/rudder/cfengine-community/bin/cf-serverd
29955 ? Ss 0:00 /var/rudder/cfengine-community/bin/cf-execd
30342 ? Ss 0:00 /var/rudder/cfengine-community/bin/cf-execd
the cf-execd PID is present ( /var/rudder/cfengine-community/cf-execd.pid ) with the value of the last started process.
In the source code (line 188) https://github.com/Normation/rudder-packages/blob/master/rudder-agent/SOURCES/rudder-agent.init#L188 the seems missed just a comment "# Presence of PID file"
After few minutes the cf-execd processes are all killed.
Updated by Vincent MEMBRÉ about 9 years ago
- Assignee set to Benoît PECCATTE
- Target version set to 2.10.18
François, what would be the expected behavior ?
Matthieu, benoit, what should be done here ?
I assign 2.10 version since we should check if it is ok there before
Updated by Francois BAYART about 9 years ago
Vincent MEMBRÉ wrote:
François, what would be the expected behavior ?
start nothing if the process is started.
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.18 to 2.10.19
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.19 to 2.10.20
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.20 to 277
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 277 to 2.11.18
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.18 to 2.11.19
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.19 to 2.11.20
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.20 to 2.11.21
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.21 to 2.11.22
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.22 to 2.11.23
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.23 to 2.11.24
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.24 to 308
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 308 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from New to Rejected
This seems to be fixed now.
Feel free to reopen if not.