Project

General

Profile

Actions

Bug #267

closed

Old package .inc files can prevent system from booting properly

Added by Chris Buechler almost 15 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
Start date:
12/31/2009
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

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.

Actions #1

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!

Actions #2

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

Actions #3

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.

Actions #4

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.

Actions #5

Updated by Chris Buechler over 14 years ago

  • Status changed from Feedback to Resolved

this seems to be fine now

Actions

Also available in: Atom PDF