FS#78107 - [rclone] mount command fails without fuse3

Attached to Project: Community Packages
Opened by Dino Morelli (dino) - Monday, 03 April 2023, 23:47 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 07:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

rclone 1.62.2-1

The `rclone mount` feature now fails if `fuse3` is not installed. Debugging using `rclone` verbose switches showed it trying to use `fusermount3` specifically. Installing `fuse3` fixed the issue.

Verbose logging looks like this:

<7>DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "-vvv" "foo:bar/baz" "/media/baz/"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "foo:bar/baz"
<7>DEBUG : Using config file from "/home/smedley/.config/rclone/rclone.conf"
<7>DEBUG :smedley@foo.com:22/bar/baz"> sftp://smedley@foo.com:22/bar/baz: New connection ... to "SSH-blahblahblah"
<7>DEBUG :smedley@foo.com:22/bar/baz"> sftp://smedley@foo.com:22/bar/baz: Shell type "unix" from config
<7>DEBUG :smedley@foo.com:22/bar/baz"> sftp://smedley@foo.com:22/bar/baz: Relative path resolved to "/home/smedley/bar/baz"
<7>DEBUG :smedley@foo.com:22/bar/baz"> sftp://smedley@foo.com:22/bar/baz: Using root directory "/home/smedley/bar/baz"
<6>INFO :smedley@foo.com:22/bar/baz"> sftp://smedley@foo.com:22/bar/baz: poll-interval is not supported by this remote
<7>DEBUG :smedley@foo.com:22/bar/baz"> sftp://smedley@foo.com:22/bar/baz: Mounting on "/media/baz/"
Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount3": executable file not found in $PATH


In the PKGBUILD

optdepends=('fuse2: for rclone mount')

should be changed to `('fuse3: ...`

I don't know if

makedepends=('python' 'pandoc' 'go' 'git' 'fuse2')

should also be changed to `fuse3`, but maybe? Our Arch packager may know best.


Steps to reproduce:

1. Have rclone 1.62.2-1 installed, and fuse2 but NOT fuse3
2. Set up a remote in rclone.conf to something with `type = sftp`
3. Try to mount it `rclone mount -vvv someremote:dir1/dir2 /local/mount/dir`
4. Observe output similar to above
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 23 May 2023, 07:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  rclone 1.62.2-2
Comment by Toolybird (Toolybird) - Tuesday, 04 April 2023, 08:11 GMT
Interesting. I can't quite see the reference to fuse3 in the source...but then there is this [1]

[1] https://github.com/rclone/rclone/issues/6844
Comment by Dominik (domalex) - Saturday, 15 April 2023, 07:46 GMT
@dino

Thank you for the quick fix. Installing fuse3 worked for me. I hope that the package gets soon fixed as per your suggestion.
Comment by Toolybird (Toolybird) - Monday, 24 April 2023, 10:55 GMT
Dupe  FS#78295 

Loading...