Bug #267
closedOld package .inc files can prevent system from booting properly
0%
Description
Old package .inc files on a 2.0 system can prevent the system from booting. For one example:
Configuring WAN interface...done.
Configuring LAN interface...bge0: link state changed to DOWN
done.
Configuring OPT1h interface...me1: link state changed to DOWN
done.
Starting syslog...done.
Configuring firewall..
Fatal error: Cannot redeclare is_url() (previously declared in /etc/inc/util.inc:1131) in /usr/local/pkg/squidguard_configurator.inc on line 1753
Probably should clean those all up before they're loaded, and force a package reinstall.
Updated by Ermal Luçi almost 15 years ago
The only solution i can find for this is getting a list of packages installed before upgrade.
Save it somewhere and remove everything before upgrade.
When booting up installing from sctrach this packages!
Updated by Chris Buechler almost 15 years ago
similar issue with open-vm-tools, if you upgrade to a diff FreeBSD version than your open-vm-tools is for, it will panic on next boot. One example:
http://forum.pfsense.org/index.php/topic,23044.0.html
Updated by Jim Pingle over 14 years ago
- Status changed from New to Feedback
This should be fixed with the commit I just made. Post upgrade we should have /conf/needs_package_sync and we can just skip loading the .inc files in that case since they may be out of sync.
May not help with vmware but it should help with the other cases.
Updated by Jim Pingle over 14 years ago
Alternately, sometime before here in the boot process it could force a reinstall of packages if it sees /conf/needs_package_sync instead of requiring a visit to the GUI.
Updated by Chris Buechler over 14 years ago
- Status changed from Feedback to Resolved
this seems to be fine now