Project

General

Profile

Actions

User story #2472

closed

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

Added by Nicolas PERRON almost 12 years ago. Updated almost 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 #1

Updated by Jonathan CLARKE almost 12 years ago

  • Category set to System techniques
  • Target version changed from 2.3.8 to 18
Actions #2

Updated by Jonathan CLARKE almost 12 years ago

  • Target version changed from 18 to Ideas (not version specific)
Actions #3

Updated by Alexis Mousset over 5 years ago

  • Subject changed from Initialize a $PATH in shell environnement use by CFEngine 3 for "commands" action. to Initialize a $PATH in shell environnement use by agent for "commands" action.
Actions #4

Updated by Benoît PECCATTE almost 5 years ago

  • Status changed from New to Rejected

CFengine already has a path and it works thanks

Actions

Also available in: Atom PDF