summaryrefslogtreecommitdiffstats
path: root/debian/patches/apparmor-allow-java.security.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
commit974c21ad33bfa1d93d5ae795556d35ca7eb36e68 (patch)
tree1a0d7c0258aadfcd993c4bffa454bcf117b382cf /debian/patches/apparmor-allow-java.security.diff
parentAdding upstream version 1:7.0.4. (diff)
downloadlibreoffice-77a18997f4d4711b28e4d41031e11138783b1724.tar.xz
libreoffice-77a18997f4d4711b28e4d41031e11138783b1724.zip
Adding debian version 1:7.0.4-4+deb11u8.debian/1%7.0.4-4+deb11u8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/apparmor-allow-java.security.diff')
-rw-r--r--debian/patches/apparmor-allow-java.security.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/apparmor-allow-java.security.diff b/debian/patches/apparmor-allow-java.security.diff
new file mode 100644
index 000000000..e4b8ae6ea
--- /dev/null
+++ b/debian/patches/apparmor-allow-java.security.diff
@@ -0,0 +1,14 @@
+diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
+index 2fc7fd6b5735..3fd82b08431e 100644
+--- a/sysui/desktop/apparmor/program.soffice.bin
++++ b/sysui/desktop/apparmor/program.soffice.bin
+@@ -144,6 +144,9 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
+ /usr/lib{,32,64}/jvm/** r,
+ /usr/lib{,32,64}/jvm/**/jre/bin/java mix,
+ /usr/lib{,32,64}/jvm/**/bin/java mix,
++ # should be included in the jvm/** above but there it is
++ # a symlink, so apparmor still doesn't allow it...
++ /etc/java-??-openjdk/security/java.security r,
+ INSTDIR-** rw,
+ INSTDIR-**.so m,
+ INSTDIR-program/soffice.bin mix,