Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Permission problem after enabling RAM Disk

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    1 Posts 1 Posters 848 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jjstecchino
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.