You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run this role on a server where I have docker containers with log4j jar files running, the analyze jar and war files tasks fails because the file does not exist:
PLAY [servers] ***************************************************************************************************************************************************************************************
TASK [Gathering Facts] *******************************************************************************************************************************************************************************
ok: [localhost]
TASK [claranet.log4shell : include_tasks] ************************************************************************************************************************************************************
included: /home/user/ansible/roles/claranet.log4shell/tasks/install.yml for localhost
TASK [claranet.log4shell : install - Install requirements] *******************************************************************************************************************************************
ok: [localhost]
TASK [claranet.log4shell : include_tasks] ************************************************************************************************************************************************************
included: /home/user/ansible/roles/claranet.log4shell/tasks/search/lsof.yml for localhost
TASK [claranet.log4shell : lsof - Run lsof] **********************************************************************************************************************************************************
changed: [localhost]
TASK [claranet.log4shell : lsof - Process data from lsof (search 'log4j-core-')] *********************************************************************************************************************
ok: [localhost]
TASK [claranet.log4shell : include_tasks] ************************************************************************************************************************************************************
included: /home/user/ansible/roles/claranet.log4shell/tasks/search/find.yml for localhost
TASK [claranet.log4shell : find - Find / *.war and '*log4j-core-*.jar'] ******************************************************************************************************************************
[WARNING]: Skipped entry '/proc/1984073/task/1984102/fdinfo/169' due to this access issue: [Errno 2] No such file or directory: '/proc/1984073/task/1984102/fdinfo/169'
[WARNING]: Skipped entry '/proc/3386646/task/3386646/fd/4' due to this access issue: [Errno 2] No such file or directory: '/proc/3386646/task/3386646/fd/4'
[WARNING]: Skipped '/' path due to this access issue: [Errno 2] No such file or directory: '/proc/3386646/task/3386646/fd/4'
ok: [localhost]
TASK [claranet.log4shell : find - Process data from find] ********************************************************************************************************************************************
ok: [localhost]
TASK [claranet.log4shell : include_tasks] ************************************************************************************************************************************************************
included: /home/user/ansible/roles/claranet.log4shell/tasks/analyze.yml for localhost
TASK [claranet.log4shell : analyze - Merge files list] ***********************************************************************************************************************************************
ok: [localhost]
TASK [claranet.log4shell : analyze - Analyze jar and war files] **************************************************************************************************************************************
changed: [localhost] => (item=/var/lib/docker/btrfs/subvolumes/2233513e047ead2776d7ca87808b0f902e1175d4399a96185d1b527ab0b9f0cf/usr/lib/unifi/lib/log4j-core-2.13.3.jar)
changed: [localhost] => (item=/var/lib/docker/btrfs/subvolumes/2cb118319b20212e181ecf9860dce0ca2093e537046647cbcc971d1349ab7d5c/usr/lib/unifi/lib/log4j-core-2.13.3.jar)
changed: [localhost] => (item=/var/lib/docker/btrfs/subvolumes/ae9179165355954e95240164ae2ac02a2a53df4de9c519031026977ff39dec42/usr/lib/unifi/lib/log4j-core-2.15.0.jar)
changed: [localhost] => (item=/var/lib/docker/btrfs/subvolumes/fdbd979659b003fc83cbce839252c682cb46e9e1b20611a81b7f963c43702a67/usr/lib/unifi/lib/log4j-core-2.15.0.jar)
changed: [localhost] => (item=/var/lib/docker/btrfs/subvolumes/5ba43ab15341ee2c6ba06e0ba0a430bfa44ebd7b3ae6c80643a75a50ebb2e5cb-init/usr/lib/unifi/lib/log4j-core-2.15.0.jar)
changed: [localhost] => (item=/var/lib/docker/btrfs/subvolumes/5ba43ab15341ee2c6ba06e0ba0a430bfa44ebd7b3ae6c80643a75a50ebb2e5cb/usr/lib/unifi/lib/log4j-core-2.15.0.jar)
failed: [localhost] (item=directory)) => changed=false
ansible_loop_var: item
item: directory)
msg: Source 'directory)' does not exist
failed: [localhost] (item=/usr/lib/unifi/lib/log4j-core-2.15.0.jar) => changed=false
ansible_loop_var: item
item: /usr/lib/unifi/lib/log4j-core-2.15.0.jar
msg: Source '/usr/lib/unifi/lib/log4j-core-2.15.0.jar' does not exist
PLAY RECAP *******************************************************************************************************************************************************************************************
localhost : ok=11 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
/usr/lib/unifi/lib/log4j-core-2.15.0.jar exists in the container, but on the host this is somewhere located in /var/lib/docker/btrfs/subvolumes
The text was updated successfully, but these errors were encountered:
If I run this role on a server where I have docker containers with log4j jar files running, the analyze jar and war files tasks fails because the file does not exist:
/usr/lib/unifi/lib/log4j-core-2.15.0.jar exists in the container, but on the host this is somewhere located in /var/lib/docker/btrfs/subvolumes
The text was updated successfully, but these errors were encountered: