[Stack Guard Vulnerability in Red Hat Enterprise Linux 7]

Yesterday I came across incident where the agent did not start as the “emctl” command got failed with a new error message. This happened after recent Infrastructure Maintenance Activity where OS patching was scheduled by our Infrastructure team on all servers. The host on which this issue occur had OS Version RHEL 7 “Red Hat Enterprise Linux Server release 7.3 (Maipo)”.

So all emctl commands whether it was “emctl start agent”, “agent stop agent” even “emctl help” failed. The error returned was “agent_13.2.0.0.0/perl/bin/perl: Argument list too long”. Check the screenshot below explains the entire scenario.

ERROR Message:- “agent_13.2.0.0.0/perl/bin/perl: Argument list too long

Cause:- Why are applications failing to start with error message “Argument list too long” after applying the fix for Stack Guard Vulnerability in Red Hat Enterprise Linux 7 ?

https://access.redhat.com/security/vulnerabilities/stackguard?sc_cid=70160000000gzltAAA&

https://access.redhat.com/solutions/3098341

Solution:-  Change the commonenv file found in agent_13.2.0.0.0/bin to hash out this line

After making this change the issue got fixed and emctl command was running successfully without any issue.

Thanks

ADDKS