This returns to an upgrade first attempted in:
https://github.com/gristlabs/grist-core/pull/1255
That upgrade ran into sandbox trouble, which eventually proved to be a small change in the layout of directories in bookworm relative to buster (/lib64 became a symlink).
Context
The base image used for Grist was getting quite old, along with the node version used.
Proposed solution
This applies the upgrade and simply skips exposing /lib64 in the sandbox if it is a symlink. If it is a symlink, then sandboxes will not survive being snapshotted and restored.
This returns to an upgrade first attempted in: https://github.com/gristlabs/grist-core/pull/1255 That upgrade ran into sandbox trouble, which eventually proved to be a small change in the layout of directories in bookworm relative to buster (
/lib64
became a symlink).Context
The base image used for Grist was getting quite old, along with the node version used.
Proposed solution
This applies the upgrade and simply skips exposing
/lib64
in the sandbox if it is a symlink. If it is a symlink, then sandboxes will not survive being snapshotted and restored.Related issues
Has this been tested?
Tested manually, and with PYTHON_VERSION_ON_CREATION=2 and 3 following https://github.com/gristlabs/grist-core/pull/1300