From f66ea88acfa4da165ca4cba57d565d7cb32503ff Mon Sep 17 00:00:00 2001 From: smitsohu Date: Mon, 8 Jan 2018 19:07:58 +0100 Subject: disable qml disk cache globally --- etc/disable-common.inc | 1 + etc/kwin_x11.profile | 3 --- etc/okular.profile | 5 +---- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 91c554f2e..442e71350 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc @@ -344,4 +344,5 @@ blacklist /initrd* blacklist /vmlinuz* # complement noexec ${HOME} and noexec /tmp +env QML_DISABLE_DISK_CACHE=1 noexec /tmp/.X11-unix diff --git a/etc/kwin_x11.profile b/etc/kwin_x11.profile index 3ce4fe80d..91bb62efc 100644 --- a/etc/kwin_x11.profile +++ b/etc/kwin_x11.profile @@ -36,8 +36,5 @@ private-dev private-etc drirc,fonts,ld.so.cache,machine-id,xdg private-tmp -# disable QML disk caching as it conflicts with the noexec constraints below -env QML_DISABLE_DISK_CACHE=1 - noexec ${HOME} noexec /tmp diff --git a/etc/okular.profile b/etc/okular.profile index 59c93bdb0..31b773852 100644 --- a/etc/okular.profile +++ b/etc/okular.profile @@ -43,10 +43,7 @@ tracelog private-bin okular,kbuildsycoca4,kdeinit4,lpr 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 +# private-tmp - on KDE we need access to the real /tmp for data exchange with email clients # memory-deny-write-execute noexec ${HOME} -- cgit v1.2.3-54-g00ecf