[Bug 1951646] Re: [snap] Firefox unable to load Security Device "p11-kit-trust.so" defined in /etc/firefox/policies/policies.json
Olivier Tilloy
1951646 at bugs.launchpad.net
Mon Nov 22 14:43:15 UTC 2021
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 Mozilla
Bugs, which is subscribed to firefox in 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
More information about the Ubuntu-mozillateam-bugs
mailing list