Kaydet (Commit) b6176bde authored tarafından Rene Engelhard's avatar Rene Engelhard Kaydeden (comit) Michael Stahl

apparmor: fix @{HOME}/.mozilla/firefox access for XML signing

the #include <abstractions/private-files-strict> bringing
"audit deny @{HOME}/.mozilla/** mrwkl," in actually denies everything here.
Use just <abstractions/private-files> and allow profiles.ini, secmod.db
and cert8.db.

At least opening the Digital Signatures dialog doesn't log apparmor DENIED
now...

Change-Id: Id557626fc26745841f0cca005d483fd1e6ac922d
Reviewed-on: https://gerrit.libreoffice.org/48264Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 25214012
......@@ -73,7 +73,7 @@
#include <tunables/global>
profile libreoffice-soffice INSTDIR-program/soffice.bin {
#include <abstractions/private-files-strict>
#include <abstractions/private-files>
#include <abstractions/audio>
#include <abstractions/bash>
......@@ -175,7 +175,9 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
/usr/share/*-fonts/conf.avail/*.conf r,
/usr/share/fonts-config/conf.avail/*.conf r,
owner @{HOME}/.mozilla/firefox/** r,
owner @{HOME}/.mozilla/firefox/profiles.ini r,
owner @{HOME}/.mozilla/firefox/*/secmod.db r,
owner @{HOME}/.mozilla/firefox/*/cert8.db r,
# there is abstractions/gnupg but that's just for gpg1...
profile gpg {
#include <abstractions/base>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment