Skip to content

onedriver: bump to fuse3 - #529241

Merged
adamcstephens merged 1 commit into
NixOS:masterfrom
lnk3:onedriver-bump-fuse3
Jun 9, 2026
Merged

adamcstephens merged 1 commit into
NixOS:masterfrom
lnk3:onedriver-bump-fuse3

Conversation

@lnk3

@lnk3 lnk3 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Updated onedriver to use fuse3 as requested in #526161

Report

Checked fuse3 is now used somewhere:

$ grep ExecStopPost ./result/share/systemd/user/[email protected]
ExecStopPost=/run/wrappers/bin/fusermount3 -uz /%I

Stopped my running instance and started the new binary

$ systemctl stop --user onedriver-onedrive.service
$ pgrep onedriver -a
# NOTHING
$ ./result/bin/onedriver --log error ~/mydrive
11:33:03 WRN Configuration file not found, using defaults. error="open /home/user/.config/onedriver/config.yml: no such file or directory" path=/home/user/.config/onedriver/config.yml
2026/06/06 11:33:04 Unimplemented opcode OPCODE-52
^Z
[1]+  Stopped                    ./result/bin/onedriver ~/mydrive
NOTE: the OPCODE-52 is unimplemented from go-fuse but I didn't find any issues about it
$ parallel gh search {1} --repo {2} OPCODE-52 ::: issues prs ::: jstaf/onedriver hanwen/go-fuse
hanwen/go-fuse	188	closed	If total length of data is less than off read entire data slice		2017-10-06T23:00:05Z
hanwen/go-fuse	289	closed	nodefs: add TestReadDirStress		2019-04-08T07:05:28Z
jstaf/onedriver	424	open	SIGSEGV at onedriver/fs.(*Filesystem).Open(0xc0002540e0, 0x590798?, 0xc0005123d8, 0x7eb0e0?)		2025-08-13T11:40:19Z
hanwen/go-fuse	593	open	asynchronous IO processing at FUSE layer		2026-01-10T19:53:18Z
hanwen/go-fuse	351	open	fs: Tests are flaky		2024-10-29T10:04:27Z
hanwen/go-fuse	546	closed	Panic in init on macOS 15.1.1 build 24B91 with v2.7.0		2024-11-22T06:33:58Z
hanwen/go-fuse	16	closed	MAC issues, fixes		2016-07-29T17:07:58Z
hanwen/go-fuse	14	closed	Handling INTERRUPT requests		2019-04-12T06:51:01Z
hanwen/go-fuse	96	closed	unionfs self tests fail 20% of the time on Linux 4.4		2019-01-26T13:31:36Z
hanwen/go-fuse	179	closed	First Write operation works, but none thereafter		2017-08-11T11:52:29Z
hanwen/go-fuse	281	closed	regression: 05a3771 "fuse: Enable parallel lookup and readdir by default" causes hangs		2020-03-23T16:02:13Z
hanwen/go-fuse	261	closed	Tests get stuck.		2021-01-25T16:29:13Z

While it was still running I accessed the drive

$ pgrep -a onedriver && ls ~/mydrive
30301 ./result/bin/onedriver /home/user/mydrive
...
# WORKED: FILES REDACTED

Now I stopped the binary

$ fg
./result/bin/onedriver ~/mydrive
^C11:37:32 INF Signal received, unmounting filesystem. signal=INTERRUPT

As it said it unmounted cleanly:

$ fusermount3 -uz ~/mydrive
/nix/store/m47d8x8m4zdk5l9sb26rxmfc2gkvb6h4-fuse-3.17.4-bin/bin/fusermount3: entry for /home/user/mydrive not found in /etc/mtab

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested a review from massix June 7, 2026 20:11
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jun 7, 2026
@adamcstephens
adamcstephens added this pull request to the merge queue Jun 9, 2026
Merged via the queue into NixOS:master with commit 213c203 Jun 9, 2026
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants