Actions
Feature #10556
closedChange action on 'XML configuration file not found' error
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Configuration Backend
Target version:
Start date:
05/14/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Description
After a shutdown/filesystem error I got on boot:
XML configuration file not found. pfSense cannot continue booting.
then system halted
This is not a very useful behavior in this situation,
I think is better to do a factory reset or switch to single-user mode instead of just halting the system
Updated by Jim Pingle over 4 years ago
- Category changed from Diagnostics to Configuration Backend
- Target version set to 2.5.0
We already have some code that could handle this, which restores the last good backup when invalid XML is detected. It should be viable, or maybe code a work-alike in sh: source:src/etc/inc/config.lib.inc#L229
Updated by Viktor Gurov over 4 years ago
With this PR it goes forward and shows a console menu that allow you to make a factory reset for example:
https://github.com/pfsense/pfsense/pull/4338
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Anonymous almost 4 years ago
- Status changed from Feedback to Resolved
Actions