cloudera / cloudera-scripts-for-log4j

Scripts for addressing log4j zero day security issue
Apache License 2.0
86 stars 68 forks source link

Temporary directories not cleaned up #33

Open sbaudoin opened 2 years ago

sbaudoin commented 2 years ago

Some temporary directories are created but not cleaned up, causing the /tmp directories to be saturated after a while. Eg. https://github.com/cloudera/cloudera-scripts-for-log4j/blob/f207d1540af89523ba105e9525db4af392a1a778/cm_cdp_cdh_log4j_jndi_removal.sh#L264 but the issue exists elsewhere. This also exists with the backup directory, which eventually becomes filled up with backup files.

sunilgovind commented 2 years ago

We will check this and see how to tackle it.

lhoss commented 2 years ago

status @sunilgovind ?