[polari] flatpak: Plug the dconf hole
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] flatpak: Plug the dconf hole
- Date: Mon, 15 Jul 2019 21:11:26 +0000 (UTC)
commit a5b9895bd41fff2531b6ce13364358a8790ca808
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Jul 15 20:30:29 2019 +0200
flatpak: Plug the dconf hole
GSettings' keyfile backend has been improved to cover the case of
sandboxed applications that don't need to access any shared schemas,
so start using it by dropping the permission to access the entire
dconf database.
https://gitlab.gnome.org/GNOME/polari/merge_requests/126
flatpak/org.gnome.Polari.json | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/flatpak/org.gnome.Polari.json b/flatpak/org.gnome.Polari.json
index db62288..053ea58 100644
--- a/flatpak/org.gnome.Polari.json
+++ b/flatpak/org.gnome.Polari.json
@@ -36,9 +36,8 @@
/* log files written by tp-logger outside the sandbox */
"--filesystem=~/.local/share/TpLogger",
"--env=TPL_LOG_DIR=.local/share",
- /* dconf */
- "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
- "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+ /* GSettings migration */
+ "--metadata=X-DConf=migrate-path=/org/gnome/polari/"
],
"build-options": {
"cflags": "-O2 -g"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]