Regression #13064
closed
Crash Report after saving any Interface configuration change
Added by Danilo Zrenjanin over 2 years ago.
Updated over 2 years ago.
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Description
rash report begins. Anonymous machine information:
amd64
12.3-STABLE
FreeBSD 12.3-STABLE devel-12-n227340-ba430b15563 pfSense
Crash report details:
PHP Errors:
[16-Apr-2022 07:49:33 Etc/UTC] PHP Fatal error: Uncaught Error: Call to undefined function restart_packages() in /usr/local/www/interfaces.php:506
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 506
No FreeBSD crash data found.
- Subject changed from Crash Report after saving any Interafce configuration change to Crash Report after saving any Interface configuration change
- Tracker changed from Bug to Regression
- Assignee set to Viktor Gurov
- Target version set to 2.7.0
- Plus Target Version set to 22.05
- Release Notes changed from Default to Force Exclusion
- Related to Todo #12619: Restart services on interface changes added
- Status changed from New to Pull Request Review
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Edit: Bad test before. Still receiving the error after applying the patch:
Fatal error: Uncaught Error: Call to undefined function restart_packages() in /usr/local/www/interfaces.php:520 Stack trace: #0 {main} thrown in /usr/local/www/interfaces.php on line 520 PHP ERROR: Type: 1, File: /usr/local/www/interfaces.php, Line: 520, Message: Uncaught Error: Call to undefined function restart_packages() in /usr/local/www/interfaces.php:520 Stack trace: #0 {main} thrown
Looks like restart_packages() is only defined within /etc/rc.newwanip
and /etc/rc.newwanip6
- Status changed from Resolved to Confirmed
Marcos Mendoza wrote in #note-6:
Edit: Bad test before. Still receiving the error after applying the patch:
Fatal error: Uncaught Error: Call to undefined function restart_packages() in /usr/local/www/interfaces.php:520 Stack trace: #0 {main} thrown in /usr/local/www/interfaces.php on line 520 PHP ERROR: Type: 1, File: /usr/local/www/interfaces.php, Line: 520, Message: Uncaught Error: Call to undefined function restart_packages() in /usr/local/www/interfaces.php:520 Stack trace: #0 {main} thrown
Looks like restart_packages() is only defined within /etc/rc.newwanip
and /etc/rc.newwanip6
fix:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/729
- Status changed from Confirmed to Pull Request Review
- Status changed from Pull Request Review to Feedback
Tested the latest patch against the version below:
2.7.0-DEVELOPMENT (amd64)
built on Wed Apr 20 06:16:41 UTC 2022
FreeBSD 12.3-STABLE
It works fine — no errors after applying changes.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF