Failed creating /var/run/pimd directory for runtime files

Hi, I’m snapping the following daemon:

But when trying to run it, I get the following message error:

root@eduardo:/snap/pimdtest/x20# pimd -c /etc/pimd.conf pimd: Failed creating /var/run/pimd directory for runtime files: Permission denied

Someone has seen this before? any idea how to solve it?

Running on Ubuntu VM:

description: Computer width: 64 bits capabilities: vsyscall32 *-core description: Motherboard physical id: 0 *-memory description: System memory physical id: 0 size: 16GiB *-cpu product: Intel® Core™ i7-10850H CPU @ 2.70GHz vendor: Intel Corp. physical id: 1 bus info: cpu@0 width: 64 bits

Thanks

Hi Eduarmen,

A snap is a read only filesystem with limited writable locations. Layouts provides a way to create writeable dirs or files in read only areas.

Which confinement have you specified? Consider sharing your yaml in triple quotes (to preserve formatting).