These are the messages in the journalctl:

--------------------
Apr 02 23:23:23 desktop kernel: audit: type=1400 audit(1743647003.486:12599): 
apparmor="DENIED" operation="file_lock" class="file" profile="/usr/bin/papers" 
name="/home/cristiano/.pki/nssdb/cert9.db" pid=811514 comm="papers" 
requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000

Apr 02 23:25:37 desktop kernel: audit: type=1400
audit(1743647137.429:12896): apparmor="DENIED" operation="file_lock"
class="file" profile="/usr/bin/papers" name="/home/cristiano/.pki>

Apr 02 23:31:26 desktop kernel: audit: type=1400
audit(1743647486.460:13357): apparmor="DENIED" operation="open"
class="file" profile="/usr/bin/papers" name="/sys/devices/pci0000:00/0>

Apr 02 23:33:49 desktop kernel: audit: type=1400 audit(1743647629.944:13632): 
apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/papers" 
name="/run/pcscd/pcscd.comm">
--------------------

My workaround to fix this issue is to edit the file
"/etc/apparmor.d/usr.bin.papers" and add the following lines:

owner @{HOME}/.pki/** lrk,
/sys/devices/** r,
/run/pcscd/pcscd.comm rw,

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106133

Title:
  Gnome Papers "Sign Digitally" Feature Fails Due to AppArmor
  Restrictions

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/2106133/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to