UNIX agent ini file adds line breaks and semicolons if comments removed
search cancel

UNIX agent ini file adds line breaks and semicolons if comments removed

book

Article ID: 260048

calendar_today

Updated On:

Products

CA Automic Operations Manager CA Automic One Automation CA Automic Workload Automation - Automation Engine

Issue/Introduction

When clearing out comments in a log file on 21.0.5 or earlier 21.0 versions, the linux agent will put in new lines with a single semi-colon when the agent is next started.

Steps to reproduce:
1) Remove all comments or a lot of comments from ucxjlx6.ini for a linux agent so it looks something like this:


[GLOBAL]
NAME = UNIX01
SYSTEM = AUTOMIC
LANGUAGE = (E,D)
LOGGING = ../temp/ucxjxxx_l##.txt
LOGCOUNT = 10
HELPLIB = ucx.msl
KILLSIGNAL = SIGKILL
LOGIN_CHECK = no
OPEN_FILE_MAX = 32768
...


2) Stop the agent
3) Start the agent
4) Look at the ucxjlx6.ini file


Expected behavior:
ini file continues to have no comments or new lines:
[GLOBAL]
NAME = UNIX01
SYSTEM = AUTOMIC
LANGUAGE = (E,D)
LOGGING = ../temp/ucxjxxx_l##.txt
LOGCOUNT = 10
HELPLIB = ucx.msl
KILLSIGNAL = SIGKILL
LOGIN_CHECK = no
OPEN_FILE_MAX = 32768
...


Actual behavior:
ini file now has a line added between all lines and each of those has a comment
[GLOBAL]
;
NAME = UNIX01
;
SYSTEM = AUTOMIC
;
LANGUAGE = (E,D)
;
LOGGING = ../temp/ucxjxxx_l##.txt
;
LOGCOUNT = 10
;
HELPLIB = ucx.msl
;
KILLSIGNAL = SIGKILL
;
LOGIN_CHECK = no
;
OPEN_FILE_MAX = 32768
...



This does not happen in 12.3
This also does not happen in windows agents or java agents
This does not happen with AE components on linux

Environment

Release : 21.0.5 and earlier

Resolution

This has been fixed with the 21.0.6 UNIX agent