Bug 2365186 - Flatpak applications fail to launch after running btrfs-assistant
Summary: Flatpak applications fail to launch after running btrfs-assistant
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: btrfs-assistant
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Arthur Bols
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-09 01:21 UTC by lihaohong6
Modified: 2025-06-26 01:17 UTC (History)
3 users (show)

Fixed In Version: btrfs-assistant-2.2-1.fc42
Clone Of:
Environment:
Last Closed: 2025-06-26 01:17:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.