Unsolved
7 Posts
0
1003
Trouble confirming environment variable LOG4J_FORMAT_MSG_NO_LOOKUPS
I am attempting to apply the workaround for the Apache Log4j Remote Code Execution Vulnerability (CVE-2021-44228) to an AVE (Avamar Virtual Edition) running 18.2.
I am following these instruction provided by Dell and I am having trouble with step seven (7) DSA-2021-277: Dell EMC Avamar Update for Apache Log4j Remote Code Execution Vulnerability (CVE-2021-44228) | Dell US.
Here is step 7 from the link.
- Confirm the environment variable LOG4J_FORMAT_MSG_NO_LOOKUPS is set by running the following command:
printenv | grep -i log4j
The output should appear similar to the following from the previous command:
LOG4J_FORMAT_MSG_NO_LOOKUPS=true
When I run the command "printenv | grep -i log4j" I don't get any output and so I am concerned that the environment variable is not set-up correctly.
The environment file at /etc/environment looks like this:
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on seperate lines
LOG4J_FORMAT_MSG_NO_LOOKUPS=true
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/vmware/bin"
~
~