Actions
Bug #7761
closedError in environment-variables.cf on Centos 5
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
error: Variable identifier contains illegal characters error: Promise belongs to bundle 'get_environment_variables' in file '/var/rudder/cfengine-community/inputs/common/1.0/environment-variables.cf' near line 35
Updated by Alexis Mousset over 8 years ago
- Related to Bug #7094: Agent processes parts of the environment (multiline bash variables) added
Updated by Alexis Mousset over 8 years ago
- Target version changed from 4.0.0~rc2 to 3.0.13
More info:
rudder debug: GetExecOutput got '/bin/env: invalid option -- 0 Try `/bin/env --help' for more information. ,' rudder debug: cf_pwait - Waiting for process 28452 rudder verbose: execresult ran '(/usr/bin/printf '\0'; /bin/env -0) | /bin/grep -aoP '\x00([^=]+)' | /usr/bin/tr -d '\000' | /usr/bin/tr '\n' ',' | /bin/sed 's/,$//'' successfully rudder verbose: Caching result for function 'execresult((${paths#printf} '\0'; ${paths#env} -0) | ${paths#grep} -aoP '\x00([^=]+)' | ${paths#tr} -d '\000' | ${paths#tr} '\n' ',' | ${paths#sed} 's/,$//',useshell)' rudder debug: Looking at arg for function-like object 'getenv' rudder debug: Looking at arg for function-like object 'getenv' error: Variable identifier contains illegal characters error: Promise belongs to bundle 'get_environment_variables' in file '/var/rudder/cfengine-community/inputs/common/1.0/environment-variables.cf' near line 35
The env version (5.97) provided in Centos 5 does not know '-0'.
Updated by Alexis Mousset over 8 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset over 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/843
Updated by Alexis Mousset over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|763ecf9ef660e41075f8bf2bef1c13ea9acb3c44.
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Updated by Nicolas CHARLES over 8 years ago
- Related to Bug #8336: Error on windows: agent tries to check if /usr/bin/env supports the -0 option added
Actions