Regression #13064
closedCrash Report after saving any Interface configuration change
100%
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.
Related issues
Updated by Danilo Zrenjanin over 2 years ago
- Subject changed from Crash Report after saving any Interafce configuration change to Crash Report after saving any Interface configuration change
Updated by Viktor Gurov over 2 years ago
- 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
Updated by Viktor Gurov over 2 years ago
- Related to Todo #12619: Restart services on interface changes added
Updated by Jim Pingle over 2 years ago
- Status changed from New to Pull Request Review
Updated by Viktor Gurov over 2 years ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset ef9522c62f79845432d47a7fe1e735373ec72a2e.
Updated by Marcos M over 2 years ago
- 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
Updated by Viktor Gurov over 2 years ago
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
Updated by Jim Pingle over 2 years ago
- Status changed from Confirmed to Pull Request Review
Updated by Viktor Gurov over 2 years ago
- Status changed from Pull Request Review to Feedback
Updated by Danilo Zrenjanin over 2 years ago
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.
Updated by Viktor Gurov over 2 years ago
- Status changed from Feedback to Resolved