Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906653 - sys-apps/flatpak-1.14.4-r2: unprivileged software installation fails without sys-fs/fuse:0
Summary: sys-apps/flatpak-1.14.4-r2: unprivileged software installation fails without ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-17 21:38 UTC by Johannes Penßel
Modified: 2023-05-20 06:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_906653.txt,8.22 KB, text/plain)
2023-05-17 21:39 UTC, Johannes Penßel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Penßel 2023-05-17 21:38:38 UTC
when installing flatpak software as a regular user, the process fails with the following error message:

Error: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-KE2141/com.github.tchx84.Flatseal-65G641: Failed to execute child process “fusermount” (No such file or directory)
error: Failed to install com.github.tchx84.Flatseal: Could not unmount revokefs-fuse filesystem at /var/tmp/flatpak-cache-KE2141/com.github.tchx84.Flatseal-65G641: Failed to execute child process “fusermount” (No such file or directory)

to work around this issue, "$ flatpak install" must either be executed with root privileges, or sys-fs/fuse:0 must be installed.
Comment 1 Johannes Penßel 2023-05-17 21:39:18 UTC
Created attachment 861867 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-17 22:03:10 UTC
I suspect that other distros don't have it slotted. I think we've seen this kind of bug before.

We may be able to just patch it to use fusermount3 etc.
Comment 3 Larry the Git Cow gentoo-dev 2023-05-20 06:56:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c98c520d1b838aa3da816eb855edc5de8cc62c6

commit 1c98c520d1b838aa3da816eb855edc5de8cc62c6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-20 06:55:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-20 06:56:00 +0000

    sys-apps/flatpak: fix finding fuse(3) slotted binaries
    
    Upstream *do* support fuse3 but they assume the binaries are e.g. 'fusermount',
    not 'fusermount3' like they are in Gentoo.
    
    Closes: https://bugs.gentoo.org/906653
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/flatpak-1.14.4-fuse-3-slotted.patch      | 57 ++++++++++++++++++++++
 ...k-1.14.4-r2.ebuild => flatpak-1.14.4-r3.ebuild} |  5 +-
 2 files changed, 61 insertions(+), 1 deletion(-)