Project

General

Profile

Actions

Bug #4908

closed

check-rudder-agent should source /etc/profile before starting

Added by Matthieu CERDA over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

We usually source /etc/profile on our script to get environment variables.

check-rudder-agent does not, and we avoid problems by sometimes sourcing /etc/profile from the caller cron job.

This should be avoided, we should explicitely do it in check-rudder-agent :)

Actions

Also available in: Atom PDF