Last Modified: Jul 12, 2023
Known Affected Versions:
14.1.0, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 14.1.2, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 15.0.0, 15.0.1, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 15.1.0, 18.104.22.168
16.0.0, 22.214.171.124, 126.96.36.199
Opened: Nov 23, 2019 Severity: 2-Critical Related Article:
Related Article: K25037027
Directory cleanup for failed Attack Signature Updates (ASU) is too aggressive and may delete needed files in the middle of installation itself, which causes the update to fail.
The ASU fails to complete successfully.
An ASU runs at the same time as the file cleanup task.
The default clean interval is 300 seconds (5 minutes). 1. Run the following command to monitor the clean activity: #tailf /var/log/ts/asmcrond.log | grep CleanFiles 2. Watch for following message in the log: asmcrond|INFO|Mar 20 21:54:44.389|24036|F5::PeriodicTask::Base::run,,Running Task: CleanFiles 3. Upgrade the ASU immediately. If 5 minutes is not enough, you can increase the clean interval. 1. Adjust the interval in the /etc/ts/tools/asmcrond.cfg file: From: [CleanFiles] Interval=300 To: [CleanFiles] Interval=3000 Important: Do not set Interval too high. 50 minutes (3000 seconds) should be enough. 2. Restart the asmcrond by killing the process. It respawns after several seconds. ps -ef | grep asmcrond kill <pid> 3. Monitor the asmcrond.log until you see another Cleanfiles log message. # tailf /var/log/ts/asmcrond.log | grep CleanFiles 4. Install the ASU; the temp files can stay in the folder for 50 minutes. 5. After the ASU is installed, change the interval back to 300 and restart asmcrond. 6. Make sure asmcrond has been started correctly. # ps -ef | grep asmcrond # tailf /var/log/ts/asmcrond.log
The directory cleanup does not clean up files that are being actively used for an installation.