Actions
Bug #11314
closedPHP error in gwlb.inc (potential race)
Start date:
01/26/2021
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:
Description
I can't reproduce this reliably, but occasionally there is a PHP error at boot time:
[26-Jan-2021 08:14:22 America/New_York] PHP Warning: file_get_contents(/tmp/ovpnc1_router): failed to open stream: No such file or directory in /etc/inc/gwlb.inc on line 1541
The line in question is protected by a test that checks if the file exists before opening, so it must be a race condition where the file is removed temporarily by another process at just the wrong time.
By the time the boot completes everything is OK, so we should probably suppress that error.
Updated by Jim Pingle almost 4 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset b505e3aecc11b8f8e42c8a3fd7c8b9537c3264a2.
Updated by Renato Botelho almost 4 years ago
- Status changed from Feedback to Resolved
Actions