Actions
Regression #16023
closedRAM disk configuration check fails at boot
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
2.8.0
Affected Architecture:
All
Description
In some situation the ramdisk_check_enabled function can incorrectly return empty at boot. This results in either RAM disks not being created correctly and/or /var/run being separately mounted when /var is already tmpfs.
+ ramdisk_check_enabled + /usr/local/sbin/read_xml_tag.sh boolean system/use_mfs_tmpvar + [ '' '=' true ] + return 1
After boot that returns true:
[root@plusdev-5.stevew.lan]/root: /usr/local/sbin/read_xml_tag.sh boolean system/use_mfs_tmpvar true
This is a regression since 24.03 and 2.7.2.
Updated by Steve Wheeler 3 months ago
When enable ram disks is set the xml read fails at specific points in boot with:
+ /usr/local/bin/php -n /usr/local/sbin/read_global_var xml_rootobj pfsense + xml_rootobj=pfsense + /usr/local/bin/xmllint --xpath 'boolean(//pfsense/system/use_mfs_tmpvar)' /cf/conf/config.xml ld-elf.so.1: Shared object "libxml2.so.2" not found, required by "xmllint"
If RAM disks are not enabled that error is not seen at any time.
Updated by Steve Wheeler about 1 month ago
- Status changed from New to Resolved
This is fixed in current builds.
Updated by Jim Pingle 29 days ago
- Subject changed from ramdisk_check_enabled fails at boot to RAM disk configuration check fails at boot
Actions