diff --git a/sos/report/plugins/flatpak.py b/sos/report/plugins/flatpak.py index 7aeb8cecbd..e56c84b281 100644 --- a/sos/report/plugins/flatpak.py +++ b/sos/report/plugins/flatpak.py @@ -20,19 +20,27 @@ class Flatpak(Plugin, IndependentPlugin): def setup(self): env = {"GVFS_REMOTE_VOLUME_MONITOR_IGNORE": "1"} + gvfs_pred = SoSPredicate( + self, cmd_outputs={ + 'cmd': 'systemctl --user status gvfs-daemon.service', + 'output': '(running)' + } + ) self.add_cmd_output([ "flatpak --version", "flatpak --default-arch", "flatpak --supported-arches", "flatpak --gl-drivers", - "flatpak --installations", - "flatpak --print-updated-env", "flatpak config", "flatpak remote-list --show-details", "flatpak list --runtime --show-details", "flatpak list --app --show-details", "flatpak history --columns=all", ], env=env) + self.add_cmd_output([ + "flatpak --installations", + "flatpak --print-updated-env", + ], env=env, pred=gvfs_pred) if self.get_option("verify"): self.add_cmd_output("flatpak repair --dry-run", env=env)