Bug #2402

Updated by Jim Pingle about 8 years ago

PHP appears to be choking on the new changed syntax in /etc/rc.stop_packages. syntax. It's giving a syntax error when executed, even though php -l says the code contains no syntax errors.

The error is:
Parse error: syntax error, unexpected '=' in - on line 42

However there is no real error there. If you put any code in there, an echo, a global statement, etc, it chokes on it, even if you cut out any other PHP code ahead of it. If you revert the changes made to rc.stop_packages in commit:0124456b0c4d602adea538cee35fc67c977e9f2e the behavior from #1564 comes back where it will exec fine from the shell but will not reboot from the GUI.

I ran out of time to debug it today -- if someone else has any ideas, have at it. Otherwise I'll poke at it next week.