Netgate SG-1000 microFirewall

Author Topic: Permission problem after enabling RAM Disk  (Read 531 times)

0 Members and 1 Guest are viewing this topic.

Offline jjstecchino

  • Full Member
  • ***
  • Posts: 184
  • Karma: +0/-0
    • View Profile
Permission problem after enabling RAM Disk
« on: October 20, 2016, 09:45:05 pm »
This is a new zfs install (10-20-2016 snapshot) with config restored from a 2.3.3 system. After config restore everything seemed to work properly even after several reboots.
After enabling RAM disks and mandatory reboot, the console pauses, asking for user input to override permissions on /var/db/pkg and /var/cache/pkg.
Don't know if related but with ram disk enabled there is another error that pfsense cannot determine kernel version and as a consequence the GUI cannot obtain update status.

If I then disable ram disk, the permission problem persists, but the kernel version problem/upgrade status goes away.

Permissions on /var/db/pkg and /var/cache/pkg are set to drwxr_xr_x when the ram disk is disabled, whereas it is a link to /root/var/db/pkg and /root/cache/pkg with same permissions with the ram disk enabled.

I thought the ram disk activation may have messed up permission but after doing a full reinstall, permissions on those two directories are set to drwxr_xr_x , same as before the reinstall, but the boot process does not pause to ask to override.