Repository navigation
gocryptfs: stop depending on fuse - #527732
Merged
Merged
Conversation
Part of NixOS#526161. The previous approach prefixed $PATH to make a fusermount available, but this would be gone if we'd just replace it to fuse3, as NixOS#526670 attempted (which would break mounting via fstab). Instead, patch the source to try our suid wrapper (which is always preferred so mounting as non-root still works), and then fallback to a fusermount from $PATH (to work on non-NixOS distros) Ideally this would also try fusermount3, but whether to do that is probably something for upstream to decide, and other distros probably also provide a symlink for compatibility reasons. Closes NixOS#526670.
Sometimes files take a bit to appear. Wait for the file to be present to not run into this.
14 tasks
9 of 20 tasks
Member
|
a-kenji
approved these changes
Jun 5, 2026
Member
|
68 of 73 tasks
Merged
5 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #526161.
The previous approach prefixed $PATH to make a fusermount available, but this would be gone if we'd just replace it to fuse3, as #526670 attempted (which would break mounting via fstab).
Instead, patch the source to try our suid wrapper (which is always preferred so mounting as non-root still works), and then fallback to a fusermount from $PATH (to work on non-NixOS distros)
Ideally this would also try fusermount3, but whether to do that is probably something for upstream to decide, and other distros probably also provide a symlink for compatibility reasons.
Closes #526670.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.