Bug related to Wireguard on 2.6.0.a.20210522.0100 even with Wireguard uninstalled
-
Was on a previous development build with Wireguard 0.0.8 installed. Notification for a new development build and also a Wireguard update. Installed pfsense 2.6.0.a.20210522.0100 which included the update to Wireguard 0.1.1. After booting, everything seems to working fine, except I keep getting a crash report:
amd64
12.2-STABLE
FreeBSD 12.2-STABLE devel-12-n226634-bdf0424cb2b5 pfSenseCrash report details:
PHP Errors:
[22-May-2021 09:49:15 America/Phoenix] PHP Warning: flock() expects parameter 1 to be resource, null given in /usr/local/pkg/wireguard/wg_service.inc on line 324
[22-May-2021 09:49:15 America/Phoenix] PHP Warning: fclose() expects parameter 1 to be resource, null given in /usr/local/pkg/wireguard/wg_service.inc on line 327I am not using Wireguard yet, just had it installed to see how it is integrated with pfsense. Uninstalled Wireguard after the crash reports started, but the code causing the error still remains in pfsense.
-
Same here on 2.6.0.a.20210523.0100. Clean install. WG is properly working though.
-
Just upgraded to 2.6.0.a.20210524.0100:
Crash report details:
PHP Errors:
[24-May-2021 18:48:49 Europe/Rome] PHP Warning: flock() expects parameter 1 to be resource, null given in /usr/local/pkg/wireguard/wg_service.inc on line 324
[24-May-2021 18:48:49 Europe/Rome] PHP Warning: fclose() expects parameter 1 to be resource, null given in /usr/local/pkg/wireguard/wg_service.inc on line 327 -
@psp
Next release will fix it.