Project

General

Profile

Actions

Regression #13182

closed

Enabling /var as a RAM disks conflicts with ZFS

Added by Steve Wheeler over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Category:
Operating System
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Affected Version:
2.7.0
Affected Architecture:
All

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.

Actions #1

Updated by Jim Pingle over 2 years ago

  • Tracker changed from Bug to Regression
Actions #2

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.

Actions #3

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 - NO

If 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.

Actions #5

Updated by Jim Pingle over 2 years ago

  • Assignee set to Christian McDonald
Actions #6

Updated by Christian McDonald over 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #7

Updated by Jim Pingle over 2 years ago

  • Release Notes changed from Default to Force Exclusion
Actions #8

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.

Actions

Also available in: Atom PDF