Project

General

Profile

Bug #9400

PHP scandir() error at boot

Added by Jim Pingle 3 months ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
PHP Interpreter
Target version:
Start date:
03/15/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
amd64

Description

On current 2.5.0 snapshots, systems may see the following error at boot time:

PHP Warning:  scandir(/boot/dtb/overlays): failed to open dir: No such file or directory in /etc/inc/util.inc on line 2174
PHP Warning:  scandir(): (errno 2): No such file or directory in /etc/inc/util.inc on line 2174

Thus far I have only seen it on amd64.

To me, I have a fix ready.

Associated revisions

Revision d36cf2c9 (diff)
Added by Jim Pingle 3 months ago

Test modules path before scanning. Fixes #9400

History

#1 Updated by Jim Pingle 3 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Also available in: Atom PDF