Project

General

Custom queries

Profile

Actions

Bug #12105

closed

Packages are not automatically reinstalled when restoring configuration using the installer

Added by Christian Ullrich almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Package System
Target version:
Start date:
07/04/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.5.2
Affected Architecture:

Description

pfSense does not install the configured packages during the first boot after installation if the first documented method of restoring the configuration is used (/conf/config.xml present during installation). It works with the second method (/config/config.xml present at first boot).

In the failing case, the boot process does not print a message about reinstalling packages. Instead, it reports the (absent) packages as successfully started:

Starting package Zabbix Agent 5.2...done.
Starting package Shellcmd...done.

The system.log contains these lines near the end:

Jul 4 18:54:09 hostname php-fpm350: /rc.start_packages: Restarting/Starting all packages.
Jul 4 18:54:09 hostname php-fpm350: /rc.start_packages: The Zabbix Agent 5.2 package is missing its configuration file and must be reinstalled.
Jul 4 18:54:09 hostname check_reload_status389: Syncing firewall
Jul 4 18:54:09 hostname root21926: /etc/rc.d/hostid: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one
Jul 4 18:54:11 hostname php-fpm350: /rc.start_packages: The Shellcmd package is missing its configuration file and must be reinstalled.
Jul 4 18:54:11 hostname check_reload_status389: Syncing firewall
Jul 4 18:54:11 hostname root85049: Bootup complete
Jul 4 18:54:17 hostname pkg-static20951: pfSense-repo upgraded: 2.5.1 -> 2.5.1_2

pfSense is 2.5.1-RELEASE, the amd64 memstick-serial image.

#4

Updated by Jim Pingle almost 4 years ago

  • Status changed from New to Confirmed
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
  • Affected Version changed from 2.5.1 to 2.5.2
#5

Updated by Renato Botelho over 3 years ago

  • Status changed from Confirmed to Feedback
  • Assignee set to Renato Botelho
#6

Updated by Jim Pingle over 3 years ago

  • Subject changed from Automatic package reinstallation does not happen to Packages are not automatically reinstalled when restoring configuration using the installer
#7

Updated by Jim Pingle over 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
#9

Updated by Chris Linstruth over 3 years ago

  • Status changed from Feedback to Assigned
#11

Updated by Jim Pingle over 3 years ago

  • Target version changed from 2.6.0 to 2.7.0
  • Plus Target Version changed from 22.01 to 22.05
#12

Updated by Renato Botelho about 3 years ago

  • Assignee deleted (Renato Botelho)
#13

Updated by Jim Pingle about 3 years ago

  • Status changed from Assigned to Resolved
Actions

Also available in: Atom PDF