From e61282d89bffe0b2ed923d9a0158cee35996e8e4 Mon Sep 17 00:00:00 2001
From: Mourad De Clerck <bugs-debian@aquazul.com>
Date: Wed, 25 Nov 2020 13:55:28 +0100
Subject: [PATCH] profile.d: Disable gvfs plugins when listing flatpak
installations
This avoids gvfs-daemon being started when logging in as root via ssh.
Bug-Debian: https://bugs.debian.org/975710
(cherry picked from commit f69a35ceec7322e02007b45d676e0b6f1e9376b0)
---
profile/flatpak.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profile/flatpak.sh b/profile/flatpak.sh
index 6c6e113ffd89..9dc6cf901ffd 100644
--- a/profile/flatpak.sh
+++ b/profile/flatpak.sh
@@ -5,7 +5,7 @@ if command -v flatpak > /dev/null; then
(
unset G_MESSAGES_DEBUG
echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"
- flatpak --installations
+ GIO_USE_VFS=local flatpak --installations
) | (
new_dirs=
while read -r install_path
--
2.31.1