Actions
Bug #11824
closedreload-cf-serverd fails if cf-serverd not running and /sbin not in PATH
Status:
Released
Priority:
N/A
Assignee:
Category:
Server components
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Small
Priority:
46
Name check:
Fix check:
Regression:
Description
This commit introduced the reload by service restart:
But apparently /sbin is not in the PATH for (at least our) SLES systems.
Policy update process was stopped due to an error: ⇨ Policy update error for process '751' at 2017-12-05 14:29:33 ⇨ Exit code=-2147483648 for hook: '/opt/rudder/etc/hooks.d/policy-generation-finished/50-reload-policy-file-server'. stdout: /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:. stderr: 'kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] /opt/rudder/bin/rudder-reload-cf-serverd: line 15: service: command not found
stdout currently shows echo $PATH
being executed, and that lacks /sbin, so I suggest to either extend the PATH
variable in the script or call it with full /sbin/service path...
Updated by Janos Mattyasovszky over 7 years ago
- Related to Bug #10493: If cf-serverd is not up, hook 50-reload-policy-file-server is in error and breaks policy generation added
Updated by Benoît PECCATTE over 7 years ago
- Target version set to 4.3.0~beta1
- Effort required set to Small
- Priority changed from 32 to 48
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.3.0~beta1 to 4.3.0~rc1
- Priority changed from 48 to 47
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.3.0~rc1 to 4.3.0~rc2
- Priority changed from 47 to 46
Updated by François ARMAND about 7 years ago
- Translation missing: en.field_tag_list set to Blocking 4.3
Updated by Félix DALLIDET about 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-agent/pull/171
Updated by Félix DALLIDET about 7 years ago
- Status changed from Pending technical review to Pending release
Actions