Bug 2365186

Summary: Flatpak applications fail to launch after running btrfs-assistant
Product: [Fedora] Fedora Reporter: lihaohong6
Component: btrfs-assistantAssignee: Arthur Bols <arthur>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: arthur, geraldo.simiao.kutz, michael.scheiffler
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: btrfs-assistant-2.2-1.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 01:17:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lihaohong6 2025-05-09 01:21:22 UTC
Description of problem:

After running btrfs-assistant, flatpak apps would fail to launch with the error message: bwrap: Can't find source path /run/user/100/doc/by-app/<id of app>: Permission denied

Version-Release number of selected component: 2.1.1-3.fc42

How reproducible: Always

Steps to Reproduce:
1. Run btrfs-assistant, enter the user password to enter the main interface, and then close it.
2. Run any flatpak app.

Actual results:
Flatpak apps fail to launch. If ran from the command line, the following error message is printed: bwrap: Can't find source path /run/user/100/doc/by-app/<id of app>: Permission denied

Expected results: Flatpak app launches.

Additional info:

This has been reported upstream already on https://gitlab.com/btrfs-assistant/btrfs-assistant/-/issues/105 and https://github.com/flatpak/flatpak/issues/5860. It seems that this is only happening on Fedora. 

I observed 2 xdg-document-portal processes running, one as the user and another as root. Running `sudo killall xdg-document-portal` as suggested by some users in upstream bug reports resolved the problem for me.

Comment 1 Fedora Update System 2025-06-25 19:28:32 UTC
FEDORA-2025-8d5d351631 (btrfs-assistant-2.2-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8d5d351631

Comment 2 Fedora Update System 2025-06-26 01:17:13 UTC
FEDORA-2025-8d5d351631 (btrfs-assistant-2.2-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.