Actions
Bug #6202
closedIf killall is not installed, cf-serverd can not reloaded during promise generation
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When I regenerate promises, I get the following message on Debian
[2015-01-30 10:47:18] WARN com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Failed to reload CFEngine server promises with command "/opt/rudder/bin/rudder-reload-cf-serverd" - cause is /opt/rudder/bin/rudder-reload-cf-serverd: 3: kill: Illegal option -S,/opt/rudder/bin/rudder-reload-cf-serverd: 3: /opt/rudder/bin/rudder-reload-cf-serverd: killall: not found
Indeed running this command tells me :
root@server:/home/vagrant# /opt/rudder/bin/rudder-reload-cf-serverd /opt/rudder/bin/rudder-reload-cf-serverd: 3: /opt/rudder/bin/rudder-reload-cf-serverd: killall: not found /opt/rudder/bin/rudder-reload-cf-serverd: 3: kill: Illegal option -S
The command is effectively not reloading the server component
Added by Matthieu CERDA about 10 years ago
Added by Nicolas CHARLES about 10 years ago
Merge pull request #608 from Kegeruneku/bug_6202/int/6202_change_serverd_reload_method
Fixes #6202: Change the shell logic to choose between killall and kill/p...
Actions
Fixes #6202: Change the shell logic to choose between killall and kill/pidof during cf-serverd reload