[Bug 258056] sys/fs/fuse: commit 7b8622fa22 breaks net/rclone mount

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Sep 2021 09:58:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258056

--- Comment #10 from Keith White <kwhite.uottawa@gmail.com> ---
(In reply to Ralf van der Enden from comment #9)
Thanks for your suggestion! I updating rclone using your patch.  It does not
fix the problem with 14.0-CURRENT.

After patching:

# .../net/rclone/work/stage/usr/local/bin/rclone version
rclone v1.56.0-DEV
- os/version: freebsd 14.0-current (64 bit)
- os/kernel: 14.0-current (amd64)
- os/type: freebsd
- os/arch: amd64
- go/version: go1.17
- go/linking: static
- go/tags: none

# .../net/rclone/work/stage/usr/local/bin/rclone mount  --http-url
https://www.freebsd.org/ :http: /mnt --read-only
2021/09/01 05:37:33 Fatal error: failed to umount FUSE fs: resource temporarily
unavailable

# uname -ap
FreeBSD e6220 14.0-CURRENT FreeBSD 14.0-CURRENT #1
main-n248890-1a4c5061fc5-dirty: Tue Aug 24 13:11:06 EDT 2021    
root@e6220:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64 amd64

=============
It might not be simple.  Here's were I'm at for investigation.

On CURRENT, if you run "go test -v" in the
${WRKDIR}/rclone-1.56.0/vendor/bazil.org/fuse directory, the tests "PASS" but
"TestMountOptionReadOnly" takes 60.01s [probably a timeout].  On 13.0-RELEASE
(and any release before commit 7b8622fa22) that particular test takes 0.01s.

Go 1.9 added kevent for open files which might exercise different code paths.
https://github.com/golang/go/issues/24331

...keith

-- 
You are receiving this mail because:
You are the assignee for the bug.