A manually configured filesystem layout with a separate /usr fails to properly setup several aspects of the system at boot time
Choosing a manual installation with a separate /usr slice (ex: boot, /, /usr, /var, swap) fails to setup various aspects of the firewall. Early in the boot process at source:src/etc/pfSense-rc#L55 an attempt is made to read the product name using a PHP script. PHP is under /usr, which is not mounted at that time. As such, the product name is empty which causes several other parts of pfSense-rc to misfire.
It does not appear to be necessary to read the product name that early. The first thing that needs it is a call to configure ddb, and nothing else until after the disk/slices are all mounted. DDB does not need to be setup that early.
Moving the read of the product name and the call to configure ddb to just after the mount block appears to fix it, as in the attached patch. The patch works for me on test systems here, but I'd like a little more internal review before committing it.
Updated by Jim Pingle over 4 years ago
- Assignee changed from Renato Botelho to Jim Pingle
Renato says the patch looks good.
Further testing shows no problems:
- Affected UFS system is OK
- Regular UFS system is OK
- ZFS is OK
- SG-1000 is OK
- SG-3100 is OK
Patch will be committed momentarily.