Actions
Bug #7537
closed/etc/init.d/rudder-agent start starts cf-execd even if it is running, resulting in 2 cf-execd running, and big problems
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
On debian 7.9, and debian 8, if we run twice /etc/init.d/rudder-agent start, the cf-execd is run even if already running
XXXXXX:/var/rudder/cfengine-community/outputs# /etc/init.d/rudder-agent start rudder-agent[7142]: [INFO] Using /etc/default/rudder-agent for configuration rudder-agent[7145]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[7146]: [INFO] Launching CFEngine Community cf-serverd... rudder-agent[7321]: [OK] CFEngine Community cf-serverd started after 1 seconds rudder-agent[7322]: [INFO] Launching CFEngine Community cf-execd... rudder-agent[7502]: [OK] CFEngine Community cf-execd started after 1 seconds XXXXXX:/var/rudder/cfengine-community/outputs# ps afux | grep cf root 7504 0.0 0.0 8044 924 pts/2 S+ 15:31 0:00 \_ grep cf root 7318 0.0 0.0 41240 5736 ? Ss 15:31 0:00 /var/rudder/cfengine-community/bin/cf-serverd root 7497 0.0 0.0 37444 2868 ? Ss 15:31 0:00 /var/rudder/cfengine-community/bin/cf-execd XXXXXX:/var/rudder/cfengine-community/outputs# /etc/init.d/rudder-agent start rudder-agent[7522]: [INFO] Using /etc/default/rudder-agent for configuration rudder-agent[7525]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[7526]: [INFO] Launching CFEngine Community cf-serverd... 2015-12-03T15:31:56+0100 error: Unable to start server rudder-agent[7700]: [OK] CFEngine Community cf-serverd started after 1 seconds rudder-agent[7701]: [INFO] Launching CFEngine Community cf-execd... rudder-agent[7877]: [OK] CFEngine Community cf-execd started after 1 seconds
Happens on 3.1.4, may happen on any other version
Updated by Jonathan CLARKE almost 9 years ago
- Is duplicate of Bug #7420: cf-execd is running twice after a reboot or after running rudder-agent twice added
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from New to Rejected
This is clearly the same bug as #7420
Actions