That's indeed a snap-specific problem, and a confinement issue: the application is not allowed to see /usr/lib/x86_64-linux-gnu/pkcs11/ on the host system, the path is remapped to /snap/core20/current/usr/lib/x86_64-linux-gnu/pkcs11/, which doesn't exist.
I was able to work around the problem by downloading the p11-kit-modules package for Ubuntu 20.04 (https://launchpad.net/ubuntu/focal/amd64/p11-kit-modules), unpacking it in /var/snap/firefox/common/, and changing the path in /etc/firefox/policies/policies.json to point there. Not exactly easy, but it seems to do the job without requiring changes to firefox or the snap itself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1951646 Title: [snap] Firefox unable to load Security Device "p11-kit-trust.so" defined in /etc/firefox/policies/policies.json To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1951646/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
