[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sysui/desktop

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 15 14:40:37 UTC 2018


 sysui/desktop/apparmor/program.soffice.bin |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e83a535776f8337a09c8d582ac484b3b027728a3
Author:     Vincas Dargis <vindrg at gmail.com>
AuthorDate: Tue Aug 14 20:49:31 2018 +0300
Commit:     Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Wed Aug 15 16:40:16 2018 +0200

    apparmor: fix access to /etc/xml/catalog
    
    Exporting document to .xhtml produces AppArmor deny log entry. Add
    AppArmor rule for accessing /etc/xml/catalog as it is needed by libxml2.
    
    Change-Id: If62046059c4e1d458cca895f14f7d1e3f537c527
    Reviewed-on: https://gerrit.libreoffice.org/59005
    Tested-by: Jenkins
    Reviewed-by: Rene Engelhard <rene at debian.org>
    (cherry picked from commit a826cb4f9655ab8b994c4da258835f5f6ddb5a5f)
    Reviewed-on: https://gerrit.libreoffice.org/59042
    Reviewed-by: Vincas Dargis <vindrg at gmail.com>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
index 56f4de4ef9af..82525d6cde7d 100644
--- a/sysui/desktop/apparmor/program.soffice.bin
+++ b/sysui/desktop/apparmor/program.soffice.bin
@@ -106,6 +106,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
   /etc/libreoffice/**                   r,
 
   /etc/cups/ppd/*.ppd                   r,
+  /etc/xml/catalog                      r, #exporting to .xhtml, for libxml2
   /proc/*/status                        r,
 
   owner @{HOME}/.config/libreoffice{,dev}/** rwk,


More information about the Libreoffice-commits mailing list