Open jpm-canonical opened 2 months ago
https://github.com/canonical/tf-lite-examples-snap/blob/4e8629968845d5ae5e920997f32f12c172468ca8/ubuntu-frame/snap/snapcraft.yaml#L115
The stream example started failing with this errors:
PermissionError: [Errno 13] Permission denied: '/dev/shm/pym-69125-4wj6czg9'
Access to /dev/shm is limited to /dev/shm/<snap instance name>, so I do not know why this has worked before.
/dev/shm
/dev/shm/<snap instance name>
We can work around this by using https://github.com/sergiusens/snapcraft-preload
https://github.com/canonical/tf-lite-examples-snap/blob/4e8629968845d5ae5e920997f32f12c172468ca8/ubuntu-frame/snap/snapcraft.yaml#L115
The stream example started failing with this errors:
Access to
/dev/shm
is limited to/dev/shm/<snap instance name>
, so I do not know why this has worked before.We can work around this by using https://github.com/sergiusens/snapcraft-preload