The Unix agent corrupts the process environment, depending on the length of the Agent name
search cancel

The Unix agent corrupts the process environment, depending on the length of the Agent name

book

Article ID: 281801

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine Automic SaaS CA Automic One Automation

Issue/Introduction

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

Environment

Release: 21.0.9

Component: Automation Engine

Sub-Component: Agent Unix/Linux

Cause

The issue has been confirmed to be a bug by our Dev team

Resolution

Workaround:

Use Unix Agents short names.

Solution:

Update to a fix version listed below or a newer version if available.

Components:
  • Agent Unix
Fixed Versions:
  • Automation.Engine 24.1.0 - Available 
  • Automation.Engine 24.0.0 HF3  - Available
  • Automation.Engine 21.0.10  - Available

Additional Information

Defect ID:  AE-35633

Defect Desc: A problem was fixed where the agent would overwrite its own environment during startup.