Problem with hello-world.evil on Pi4

I have installed snaps on my Pi 4 and then tested it with hello-world.

Exploring using snap info hello-world I found hello-world.evil and ran that with the following result.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Hello Evil World!
This example demonstrates the app confinement
You should see a permission denied error next
If you see this line the confinement is not working correctly, please file a bug

So as requested by the snap … I am reporting it.

I’m happy to try other things to test my installation.

Thanks
Patrick

I think Raspberry Pi OS doesn’t fully support all the kernel features required for strict confinement. That means the expected denial doesn’t occur when you run hello-world.evil. You can verify this with snap debug confinement which will likely report partial.

Hi Daniel,
Yes you are right …

Could this also be part of my other problem with “tcp-server-client-tool” not installing correctly ?
Thanks
Patrick

As mentioned elsewhere, this is an issue with the snap tcp-server-client-tool that needs to be resolved by the snap author.