Project

General

Profile

Actions

User story #2472

closed

Initialize a $PATH in shell environnement use by agent for "commands" action.

Added by Nicolas PERRON over 12 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
System techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Using a command with Rudder like "command to run" in "post-modification hook" section of PT fileManagement require to use absolute path for all binaries. It could be more usable to specify a $PATH in the shell environnement use by CFEngine.

A solution could be to force any commands in a shell environment to source /etc/bashrc|/etc/bashrc.rc .


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4198: Cf-execd started by cron is missing environment variables, making the agent unable to run correctlyReleasedJonathan CLARKE2013-11-27Actions
Actions

Also available in: Atom PDF