Bug #12766
closed
Packages with custom ``internal_name`` values do not reinstall properly when restoring a backup
Added by Viktor Gurov about 4 years ago.
Updated about 4 years ago.
Plus Target Version:
22.05
Description
After restoring pfSense 2.7 (2.7.0.a.20220207.0600) from the backup:
Feb 7 20:20:07 pf100 php[97635]: rc.package_reinstall_all: New alert found: Package radiusd does not exist in current pfSense version and it has been removed.
Feb 7 20:20:07 pf100 php[97635]: rc.package_reinstall_all: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
Feb 7 20:20:07 pf100 php[97635]: rc.package_reinstall_all: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
Feb 7 20:20:07 pf100 php[97635]: rc.package_reinstall_all: Configuration Change: (system): Intermediate config write during package removal for radiusd.
Feb 7 20:20:07 pf100 php[97635]: rc.package_reinstall_all: Configuration Change: (system): Removed radiusd package.
workaround: reinstall FreeRADIUS package
no such issue with other packages (at least with acme, frr, haproxy, lightsquid, openvpn-client-export, pimd, squid, stunnel, suricata, syslog-ng, telegraf and wireguard)
I think this may be because internal_name in the package tags is set to radiusd though I can't recall why that is the case, but at some point it may have been because the service name was keyed off that before it was moved to its own service tag. It likely should not be set that way anymore.
+ same issue with BIND package:
Package named does not exist in current pfSense version and it has been removed. @ 2022-02-07 21:10:08
- Project changed from pfSense Packages to pfSense
- Category changed from FreeRADIUS to Package System
- Assignee set to Viktor Gurov
- Affected Version changed from 2.7.0 to 2.6.0
- Release Notes set to Default
- Status changed from New to Pull Request Review
- Target version set to 2.7.0
- Plus Target Version set to 22.05
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:468cd92bfaf77a326d5221dd9fd65328e15b297a.
- Status changed from Feedback to Resolved
Tested against:
2.7.0-DEVELOPMENT (amd64)
built on Mon Mar 28 06:17:26 UTC 2022
FreeBSD 12.3-STABLE
Both packages got installed successfully with the configuration restore process.
I am marking this ticket resolved.
- Subject changed from ```Package radiusd does not exist in current pfSense version and it has been removed``` message on pfSense 2.7 restore to Packages with custom ``internal_name`` values do not reinstall properly when restoring a backup
Updating subject for release notes.
Also available in: Atom
PDF