aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Flox <flo@devtek.de>2017-12-21 17:35:51 +0100
committerLibravatar Flox <flo@devtek.de>2017-12-21 17:35:51 +0100
commit8b6be0a1a1bde97abc367b0128515b61bb7f2b8e (patch)
tree0ca093ded5b06a3a2949c81363d51ed08f5df253
parentfiremon fixes (diff)
downloadfirejail-8b6be0a1a1bde97abc367b0128515b61bb7f2b8e.tar.gz
firejail-8b6be0a1a1bde97abc367b0128515b61bb7f2b8e.tar.zst
firejail-8b6be0a1a1bde97abc367b0128515b61bb7f2b8e.zip
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.
-rw-r--r--etc/okular.profile3
1 files changed, 3 insertions, 0 deletions
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
45private-etc alternatives,cups,fonts,ld.so.cache,machine-id 45private-etc alternatives,cups,fonts,ld.so.cache,machine-id
46# private-tmp - on KDE we need access to the real /tmp for data exchange with thunderbird 46# private-tmp - on KDE we need access to the real /tmp for data exchange with thunderbird
47 47
48# disable QML disk caching as it conflicts with the noexec constraints below
49env QML_DISABLE_DISK_CACHE=1
50
48# memory-deny-write-execute 51# memory-deny-write-execute
49noexec ${HOME} 52noexec ${HOME}
50noexec /tmp 53noexec /tmp