April 25 Build - No Reboot
-
did a full re-flash with the April 25 build.
Restored my settings from a backup made on the 20th April build (don't know if this matters)Whenever I hit the reboot or halt button it does not reboot, and instead I get the following crash dump:
Crash report begins. Anonymous machine information:i386
8.3-RELEASE
FreeBSD 8.3-RELEASE #0: Thu Apr 26 01:00:44 EDT 2012 root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386Crash report details:
PHP Errors:
[26-Apr-2012 20:31:40 UTC] PHP Parse error: syntax error, unexpected '=' in - on line 42 -
Rather odd that it shows no filename on the error, and I ran every file in the repo through php -l just now and none had syntax errors. I don't think we pipe anything through php in that way in the repo.. it could be from a package, but I found no syntax errors there either.
Does that happen if you use reboot from the console also? or just the GUI?
-
Works for me on the latest snapshot, both from GUI and console. My test system only has a minimal configuration and no packages, however.
-
Could it matter that I restored the config from a backup?
This was a fresh install with no extra packages, just did a restore.
-
I just updated my ALIX again and I'm also seeing that error in the GUI now, but it is still rebooting. I'll dig around and see what I can find.
EDIT: Happens on both a full install and nanobsd but the full install reboots so fast you'd have no time to actually spot the error
-
Looks like it's /etc/rc.stop_packages. The way it executes PHP code apparently isn't working in PHP 5.3. It keeps tossing syntax errors on what appears to be valid code. But changing back to the other method doesn't work either. Will need some more time to go over it.
-
OK this should fix that up
https://github.com/bsdperimeter/pfsense/commit/60dd7649d02e4a82f9d57953359bf312038f174a
-
Updated to May 1 release, confirming that this was fixed.