Regression #13182
closedEnabling /var as a RAM disks conflicts with ZFS
100%
Description
Enabling /var as a RAM disk conflicts with existing mounts in ZFS systems.
This most obviously presents as a problem the pkg system. The firewall is unable to check for packages or updates.
ERROR: It was not possible to identify which pfSense kernel is installed
[22.05-BETA][root@2100-2.stevew.lan]/root: pkg info -x pfSense pkg: No package(s) matching pfSense
This happens if you enable RAM disks on the system that is installed as ZFS but also if you restore a config in which RAM disks are enabled.
Disbaling RAM disks will not restore access.
Updated by Sergei Shablovsky over 2 years ago
Steve Wheeler wrote:
Enabling /var as a RAM disk conflicts with existing mounts in ZFS systems.
This most obviously presents as a problem the pkg system. The firewall is unable to check for packages or updates.
[...]
[...]
This happens if you enable RAM disks on the system that is installed as ZFS but also if you restore a config in which RAM disks are enabled.
Disbaling RAM disks will not restore access.
Need to add (checked double twice):
1.
installing CE 2.7.X (current snapshot from 20220520) on bare metal server (with hw RAID1, physicaly 2 HD in mirror, logically 1 Virtual Device)
ping, traceroute, pkg update/upgrade, NetGate servers resolved- all OK
hw reboot
2.
restore from config.xml backup file (RAM disk ENABLED)
hw reboot
ping, traceroute, - OK
NetGate servers resolving - OK
pkg update/upgrade - NO
If restoring from config.xml backup file with manually deleted <use_mfs_tmpvar></use_mfs_tmpvar> string, this error not happened.
Updated by Sergei Shablovsky over 2 years ago
Sergei Shablovsky wrote in #note-2:
Steve Wheeler wrote:
Disbaling RAM disks will not restore access.
Need to add (checked double twice):
1.
installing CE 2.7.X (current snapshot from 20220520) on bare metal server (with hw RAID1, physicaly 2 HD in mirror, logically 1 Virtual Device)
ping, traceroute, pkg update/upgrade, NetGate servers resolved- all OK
hw reboot
2.
restore from config.xml backup file (RAM disk ENABLED)
hw reboot
ping, traceroute, - OK
NetGate servers resolving - OK
pkg update/upgrade - NOIf restoring from config.xml backup file with manually deleted <use_mfs_tmpvar></use_mfs_tmpvar> string, this error not happened after restoring from .xml backup file.
When restoring form config.xml where <use_mfs_tmpvar></use_mfs_tmpvar> exist, then hw reboot, then manually in editor or webGUI delete <use_mfs_tmpvar></use_mfs_tmpvar>, then hw reboot,- this error still persist.
Updated by Sergei Shablovsky over 2 years ago
There are similar problem in 2017, in CE 2.4.0 version
Updated by Christian McDonald over 2 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset b9097e4cfe3fcbdec86a00a5a470d93d05ea8102.
Updated by Jim Pingle over 2 years ago
- Release Notes changed from Default to Force Exclusion
Updated by Christopher Cope over 2 years ago
- Status changed from Feedback to Resolved
Working as expected on
22.05-BETA (amd64) built on Thu May 26 06:20:37 UTC 2022 FreeBSD 12.3-STABLE
Marking resolved.