Actions
Bug #13157
closedPHP error restoring DHCP lease data on fresh installation:
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:
Description
Restoring a configuration with DHCP lease data can lead to a PHP error when restoring during a fresh install:
[12-May-2022 18:31:16 ] PHP Warning: file_put_contents(/var/dhcpd/var/db/dhcpd.leases): failed to open stream: No such file or directory in /etc/inc/config.lib.inc on line 264
If the restore part happens before the first DHCP daemon startup that directory structure likely doesn't exist yet.
Related issues
Actions