Project

General

Profile

Actions

Bug #25498

closed

Hooks are not executed anymore from their directory

Added by François ARMAND 2 months ago. Updated about 2 months ago.

Status:
Released
Priority:
2
Category:
Web - Config management
Target version:
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

Also available in: Atom PDF