Bug ID 887505: Coreexpiration script improvement

Last Modified: Sep 16, 2020

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 16.0.0, 16.0.0.1

Opened: Mar 05, 2020
Severity: 4-Minor

Symptoms

Script fails with: stat: cannot stat '/shared/core/*.core.*': No such file or directory. In addition, the system reports a message in /var/log/user and /var/log/messages when there are no core files: Deleting file /shared/core/*.core.*

Impact

No core is produced. In addition, there is no core deleted.

Conditions

Coreexpiration script is run.

Workaround

To resolve the issue, add the following line to the script: for filename in /shared/core/*.core.*; do + [ -e "$filename" ] || continue # Time of last modification as seconds since Epoch

Fix Information

None

Behavior Change