Project

General

Profile

Bug #5285

Failsafe mode

Added by Fernando Munoz almost 5 years ago. Updated almost 5 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/07/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

I'm not sure if this should be a feature request or a bug report, anyway since I've been messing around the webUI on a pfsense VM it seems like I got it broken and it doesn't complete the boot process anymore. It's probably solvable but my report is that pfSense shouldn't break like this with some wrong configuration. Maybe it should include some detection if something fails and use default values instead of giving me a dead machine.

broken.png (24.3 KB) broken.png Fernando Munoz, 10/07/2015 11:54 AM

History

#1 Updated by Chris Buechler almost 5 years ago

  • Status changed from New to Feedback

what specifically did you do to break it? that looks like $config is no longer an array and is within the config upgrade code which wouldn't be touched unless an upgrade had just happened and the config needed to be upgraded.

#2 Updated by Fernando Munoz almost 5 years ago

Unfortunately, I don't know for sure, I installed all the available packages and tried to use invalid data in every input fied I see to check for vulnerabilities. The message on the screen seems to be a warning only however it keeps calling the config.lib.inc file all the time and it doesn't continue booting, I had to reinstall.

#3 Updated by Chris Buechler almost 5 years ago

  • Status changed from Feedback to Not a Bug

if the XML is invalid, and there are backups in the config history, it'll restore from there. So there is a "failsafe" there, which works in normal circumstances. "Installing every package and saving invalid data everywhere" isn't normal circumstances. Granted it shouldn't fail, but will need to know more about what triggers the failure to do anything. There is probably one or more package bugs there, if you find which, please report that as their own issues.

Also available in: Atom PDF