Project

General

Profile

Actions

Bug #7772

closed

Bug #7761: Error in environment-variables.cf on Centos 5

Agent processes parts of the environment (multiline bash variables) on systems without "env --null" support

Added by Jonathan CLARKE over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The fix for #7761 has caused #7094 to come back for platforms that don't support "env -0".

As a reminder, "env -0" null-terminates "lines", so it's easier to match each individual environment variable. This can however be replicated to some extent using a construction like:

env | sed 's/^\([^=]\+\)=/\x00\1=/'

We should add this back so that #7094 is also fixed on those platforms that support just env and sed.


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #8464: Make environment variables parse easierReleasedAlexis Mousset2016-06-06Actions
Actions

Also available in: Atom PDF