Project

General

Profile

Bug #8911

Incorrect pkg repo set when restoring a config.

Added by Steve Wheeler over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Backup / Restore
Target version:
Start date:
09/18/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:
All

Description

When restoring a config file from an older version of pfSense into a newer version it's possible to end up with the pkg repo set to the incorrect URL for the install.
For example importing a config containing:

<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo.conf</pkg_repo_conf_path>

Into 2.4.4-RC will currently cause it to see 2.4.3 pkgs.

Associated revisions

Revision 0430b1b4 (diff)
Added by Renato Botelho over 1 year ago

Fix #8911: Keep configured pkg repository when restoring config

Revision 635ea24e (diff)
Added by Renato Botelho over 1 year ago

Fix #8911: Keep configured pkg repository when restoring config

History

#1 Updated by Renato Botelho over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle over 1 year ago

  • Target version changed from 2.4.4-GS to 2.4.4

#3 Updated by Steve Wheeler over 1 year ago

  • Status changed from Feedback to Resolved

In a clean 2.4.4 saved the repo to give this config:

<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo.conf</pkg_repo_conf_path>

Restored a config with this:

<pkg_repo_conf_path>/usr/local/share/pfSense/pkg/repos/pfSense-repo-244.conf</pkg_repo_conf_path>

After restoring the repo had not been changed. Looks good.

Also available in: Atom PDF