Actions
Bug #25498
closedHooks are not executed anymore from their directory
Status:
Released
Priority:
2
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
In Rudder 8.1, the execution path ("cwd") of hooks has changed.
They used to be seen as executed from their parent directory, so that for example "/opt/rudder/etc/hooks.d/policy-generation-finished/hello" was seen as executed from "/opt/rudder/etc/hooks.d/policy-generation-finished/hello".
Now, they are seen as executed from "/root".
Actions