[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#899380: libreoffice-common: AppArmor profile prohibits encrypting documents with GPG



On Wed, May 23, 2018 at 01:50:08PM -0400, John Scott wrote:
> That happened to me too because I didn't use a trusted
> key the first time. When I encrypted to my own public
> key, then it froze.

Confirmed.... (Took the wrong key in LOs list, the list is not intuitive
enough.)

It looks like this is about .gnupg/random_seed. While it hangs it
constantly complains about this in kern.log:

May 23 21:04:07 frodo kernel: [277802.848361] audit: type=1400
audit(1527102247.170:1551): apparmor="DENIED" operation="file_lock"
profile="libreoffice-soffice//gpg" name="/home/rene/.gnupg/random_seed"
pid=20251 comm="gpg" requested_mask="k" denied_mask="k" fsuid=1000
ouid=1000

- as you pasted already. So it tries to get the lock and doesn't get it,
tries again, fails, waits, tries again, fails, ...

When I allow k ("locking") for random_seed with

    owner @{HOME}/.gnupg/random_seed rk,
    
it doesn't hang anymore.

Regards,

Rene


Reply to: