From 8b6be0a1a1bde97abc367b0128515b61bb7f2b8e Mon Sep 17 00:00:00 2001 From: Flox Date: Thu, 21 Dec 2017 17:35:51 +0100 Subject: Added environment variable QML_DISABLE_DISK_CACHE=1 to okular.profile. Without it, recent okular versions (here 17.12.0-1 on Arch Linux) crash with mprotect failed in ExecutableAllocator::makeExecutable: Permission denied due to the noexec constraints in the firejail profile. --- etc/okular.profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/okular.profile b/etc/okular.profile index e71cd1880..59c93bdb0 100644 --- a/etc/okular.profile +++ b/etc/okular.profile @@ -45,6 +45,9 @@ private-dev private-etc alternatives,cups,fonts,ld.so.cache,machine-id # private-tmp - on KDE we need access to the real /tmp for data exchange with thunderbird +# disable QML disk caching as it conflicts with the noexec constraints below +env QML_DISABLE_DISK_CACHE=1 + # memory-deny-write-execute noexec ${HOME} noexec /tmp -- cgit v1.2.3-54-g00ecf