Bug #7761
closed
Error in environment-variables.cf on Centos 5
Added by Alexis Mousset almost 9 years ago.
Updated almost 9 years ago.
Category:
System techniques
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
- Related to Bug #7094: Agent processes parts of the environment (multiline bash variables) added
- 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'.
- Status changed from New to In progress
- Assignee set to Alexis Mousset
- 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
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.13, 3.1.6 and 3.2.0 which were released today.
- Related to Bug #8336: Error on windows: agent tries to check if /usr/bin/env supports the -0 option added
Also available in: Atom
PDF