Bug ID 887505: Coreexpiration script improvement

Last Modified: Sep 13, 2023

Affected Product(s):
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, 15.1.1, 15.1.2, 15.1.2.1, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2

Fixed In:
16.1.0, 15.1.3

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

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips