Currently exploring the dev kit IoTR and learning to use and build for snap but I'm seeing some odd behaviour.
First issue: following the IoTEdgeRouter_2.5_guide.pdf I installed the hello-world snap but instead of the expected output I see an error message every time I try to run it.
snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks
Not sure what has gone wrong here or what can be done to fix it with the limited permissions of the dev user. The only solution I can find online suggests running "sudo apt purge snapd snap-confine" and then re-installing but obviously that's not possible with only the dev user.
Second issue: Cannot find snap I published which searching from the IoTR. In order to learn the ropes of snap I made a little "hello world" app and published it privately. On the Ubuntu VM I was using to create the snap I can run "snap find hello --private". I then went and logged into snap with the same account on the IoTR and running the same command returns 0 results.
Moreover running a simple "snap find hello" without the private option returns very different results from my VM and on the IoTR. On the VM there are 62 results but running the exact same command on the IoTR returns just 13 results. Is the IoTR searching a different store than the default Snap Store described in the snap documentation?