Project

General

Custom queries

Profile

Actions

Bug #6202

closed

If killall is not installed, cf-serverd can not reloaded during promise generation

Added by Nicolas CHARLES about 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
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

Revision 4e810681 (diff)

Fixes #6202: Change the shell logic to choose between killall and kill/pidof during cf-serverd reload

Added by Nicolas CHARLES about 10 years ago

Revision 91af7393

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

Also available in: Atom PDF