Project

General

Profile

Actions

Regression #13064

closed

Crash Report after saving any Interface configuration change

Added by Danilo Zrenjanin over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Affected Version:
2.7.x
Affected Architecture:

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

Related to Todo #12619: Restart services on interface changesResolvedViktor Gurov

Actions
Actions #1

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
Actions #2

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
Actions #3

Updated by Viktor Gurov over 2 years ago

  • Related to Todo #12619: Restart services on interface changes added
Actions #4

Updated by Jim Pingle over 2 years ago

  • Status changed from New to Pull Request Review
Actions #5

Updated by Viktor Gurov over 2 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #6

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

Actions #7

Updated by Marcos M over 2 years ago

  • Status changed from Resolved to Confirmed
Actions #8

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

Actions #9

Updated by Jim Pingle over 2 years ago

  • Status changed from Confirmed to Pull Request Review
Actions #10

Updated by Viktor Gurov over 2 years ago

  • Status changed from Pull Request Review to Feedback
Actions #11

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.

Actions #12

Updated by Viktor Gurov over 2 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF