Bug 28655 - gvfs-fuse needs to depend on fuse3, not fuse (no mounts in /run/user/1000/gvfs)
Summary: gvfs-fuse needs to depend on fuse3, not fuse (no mounts in /run/user/1000/gvfs)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-03-26 18:41 CET by Christian Lohmaier
Modified: 2021-04-12 22:02 CEST (History)
5 users (show)

See Also:
Source RPM: gvfs-1.46.2-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Christian Lohmaier 2021-03-26 18:41:39 CET
Description of problem:
mount ssh/sftp share with nautilus → works. Try to access it in terminal → does not work, not available in /run/user/$UID/gvfs

Trying to manually mount it shows why:
$ /usr/libexec/gvfsd-fuse -d /run/user/1000/gvfs
FUSE library version: 3.10.1
nullpath_ok: 0
fuse: failed to exec fusermount3: No such file or directory
$ urpmf fusermount3
fuse3:/usr/bin/fusermount3
fuse3:/usr/share/man/man1/fusermount3.1.xz
$ rpm -qa |grep fuse
gvfs-fuse-1.46.2-1.mga8
fuse-2.9.9-4.mga8
lib64fuse2-2.9.9-4.mga8
fuse-common-3.10.1-1.mga8
lib64fuse3_3-3.10.1-1.mga8


So I had libfuse3 installed, but that's not enough, it actually needs fuse3 package as well

$ rpm -q --requires gvfs-fuse |grep fuse
fuse
libfuse3.so.3()(64bit)
libfuse3.so.3(FUSE_3.0)(64bit)
libfuse3.so.3(FUSE_3.1)(64bit)
libfuse3.so.3(FUSE_3.2)(64bit)

→ it requires libfuse3, but client package is still fuse instead of fuse3

$ rpm -q --provides fuse3
fuse3 = 3.10.1-1.mga8
fuse3(x86-64) = 3.10.1-1.mga8
Comment 1 Olav Vitters 2021-03-26 21:47:49 CET
Can we kill fuse? To avoid making such a mistake.

CC: (none) => olav

Comment 2 Jani Välimaa 2021-03-26 21:57:02 CET
(In reply to Olav Vitters from comment #1)
> Can we kill fuse? To avoid making such a mistake.

I'd say not yet.

$ urpmq --whatrequires lib64fuse2 | wc -l
46

CC: (none) => jani.valimaa

Comment 3 Jani Välimaa 2021-03-26 21:58:35 CET
I switched fuse requires in gvfs-fuse to fuse3.

Please test with gvfs-1.46.2-1.1.mga8 from core/updates_testing.

Assignee: bugsquad => qa-bugs

Comment 4 Olav Vitters 2021-03-26 22:00:02 CET
What's interesting is that gvfs meson does check for fuse3, including the version. It shouldn't have accepted only "fuse". Is there some packaging problem in there?
Comment 5 Jani Välimaa 2021-03-26 22:05:30 CET
(In reply to Olav Vitters from comment #4)
> What's interesting is that gvfs meson does check for fuse3, including the
> version. It shouldn't have accepted only "fuse". Is there some packaging
> problem in there?
At some point fuse3 [1] was added as BR. Probably because of build failure. Fuse requires weren't updated to fuse3 when BR was added.

[1] https://svnweb.mageia.org/packages/cauldron/gvfs/current/SPECS/gvfs.spec?revision=1427477&view=markup
Comment 6 Thomas Andrews 2021-04-11 23:20:00 CEST
Tested (sort of) in a 64-bit MGA8 Gnome guest. "Sort of" because I know little of using Gnome, and even less of using gvfs. But, pressing on anyway...

Checked for installed packages, and found that gvfs-fuse was installed, as was fuse, but fuse3 was not.

Since there is no package list here, I used the list at http://madb.mageia.org/tools/listRpmsForQaBug/bugnum/28655/application/0 in qarepo to download the  rpms to be updated:

gvfs-1.46.2-1.1.mga8.x86_64.rpm
gvfs-archive-1.46.2-1.1.mga8.x86_64.rpm
gvfs-devel-1.46.2-1.1.mga8.x86_64.rpm
gvfs-fuse-1.46.2-1.1.mga8.x86_64.rpm
gvfs-goa-1.46.2-1.1.mga8.x86_64.rpm
gvfs-google-1.46.2-1.1.mga8.x86_64.rpm
gvfs-gphoto2-1.46.2-1.1.mga8.x86_64.rpm
gvfs-iphone-1.46.2-1.1.mga8.x86_64.rpm
gvfs-mtp-1.46.2-1.1.mga8.x86_64.rpm
gvfs-smb-1.46.2-1.1.mga8.x86_64.rpm

-----------------------------------------

The following 10 packages are going to be installed:

- fuse3-3.10.1-1.mga8.x86_64
- gvfs-1.46.2-1.1.mga8.x86_64
- gvfs-archive-1.46.2-1.1.mga8.x86_64
- gvfs-fuse-1.46.2-1.1.mga8.x86_64
- gvfs-goa-1.46.2-1.1.mga8.x86_64
- gvfs-google-1.46.2-1.1.mga8.x86_64
- gvfs-gphoto2-1.46.2-1.1.mga8.x86_64
- gvfs-iphone-1.46.2-1.1.mga8.x86_64
- gvfs-mtp-1.46.2-1.1.mga8.x86_64
- gvfs-smb-1.46.2-1.1.mga8.x86_64

Note that fuse3 is being pulled in, indicating that it is a new dependency.

No installation issues. Ran Nautilus afterward, as it is dependent on gvfs, and was able to mount and access an Android phone, but I don't know enough about gvfs to know if it was being used.

That's as far as I can go. Giving it an OK anyway, as I did verify the new dependency, and at least Nautilus still seems to work.

Validating. Still needs an advisory.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: (none) => MGA8-64-OK

Comment 7 Aurelien Oudelet 2021-04-12 16:55:20 CEST
Advisory:
========================

Updated gvfs-fuse packages add fuse3 dependency:

The updated gvfs-fuse packages now depend on fuse3.

References:
https://bugs.mageia.org/show_bug.cgi?id=28655
========================

Updated packages in 8/core/updates_testing:
========================
gvfs-1.46.2-1.1.mga8
gvfs-archive-1.46.2-1.1.mga8
gvfs-devel-1.46.2-1.1.mga8
gvfs-fuse-1.46.2-1.1.mga8
gvfs-goa-1.46.2-1.1.mga8
gvfs-google-1.46.2-1.1.mga8
gvfs-gphoto2-1.46.2-1.1.mga8
gvfs-iphone-1.46.2-1.1.mga8
gvfs-mtp-1.46.2-1.1.mga8
gvfs-smb-1.46.2-1.1.mga8

SRPMs from
========================
gvfs-1.46.2-1.1.mga8.src.rpm

CC: (none) => ouaurelien
Keywords: (none) => advisory

Comment 8 Mageia Robot 2021-04-12 22:02:10 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0072.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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