The Unix agent corrupts its own process environment, depending on the length of the Agent name
OK behavior:
root 21328 2823 4 11:57 pts/0 00:00:04 ./ucxjlx6-LINUX01_SHORT_NAME
cat /proc/21328/environ | strings
LINUX01_SHORT_NAME
HOSTNAME=agenthostname
Not OK behavior (The environment variable name HOSTNAME= is missing):
root 3474 2823 4 11:57 pts/0 00:00:04 ./ucxjlx6-LINUX01_VERY_ LONG_NAME
cat /proc/3474/environ | strings
LINUX01_VERY_ LONG_NAME
agenthostname
Release: 21.0.9
Component: Automation Engine
Sub-Component: Agent Unix/Linux
The issue has been confirmed to be a bug by our Dev team
Workaround:
Use Unix Agents short names.
Solution:
Update to a fix version listed below or a newer version if available.
Defect ID: AE-35633
Defect Desc: A problem was fixed where the agent would overwrite its own environment during startup.